After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 102874 - crash when making large title
crash when making large title
Status: RESOLVED DUPLICATE of bug 95786
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other other
: Normal critical
: ---
Assigned To: Havoc Pennington
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-08 21:03 UTC by Dennis Haney
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dennis Haney 2003-01-08 21:02:35 UTC
Package: gnome-terminal
Severity: normal
Version: GNOME2.1.5 2.1.3
Synopsis: crash when making large title
Bugzilla-Product: gnome-terminal
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (2.1.5)
Description:
Description of Problem:
my shell undiscrimatly pastes my command line to the title. This time it
crashed gnome-terminal.
It looks like a problem in pango, move to gtk+?

Steps to reproduce the problem:
1. set your shell to write command line in title
2. do something like this:
$ echo <<EOL | patch -p0
--- csharp-mode.el.orig 2003-01-07 13:09:50.000000000 -0800
+++ csharp-mode.el      2003-01-07 13:27:48.000000000 -0800
@@ -120,8 +120,10 @@
 )
 
 ;;xemacs fix
-(if (not (facep font-lock-constant-face))
-    (copy-face font-lock-reference-face font-lock-constant-face))
+(if (not (facep 'font-lock-constant-face))
+    (copy-face 'font-lock-reference-face 'font-lock-constant-face))
+(if (not (facep 'font-lock-builtin-face))
+    (copy-face 'font-lock-keyword-face 'font-lock-builtin-face))
 
 (defconst c-Csharp-extra-toplevel-key "\\(namespace\\)")
 
@@ -296,8 +298,8 @@
   (list
    ;;
    ;; Fontify symbol names in #elif or #if ... defined preprocessor
directives.
-   '("^#[ \t]*\\(elif\\|if\\|endif\\)\\(\\sw+\\)?"
-      (1 font-lock-builtin-face) (3 font-lock-variable-name-face nil
t))
+   '("^\\(#[ \t]*\\(elif\\|if\\|endif\\|define\\)\\)[
\t]*\\(\\sw+\\)?"
+      (1 font-lock-preprocessor-face) (3 font-lock-variable-name-face
nil t))
 
    ;; Fontify class names.
    '("\\<\\(class\\|struct\\|enum\\|interface\\)\\>[ \t]*\\(\\sw+\\)?"

EOL

3. 

Actual Results:
crash

Expected Results:
no crash

How often does this happen?


Additional Information:



Debugging Information:

Backtrace was generated from '/home/davh/garnome/bin/gnome-terminal'

[New Thread 16384 (LWP 2400)]
0x40bb42e9 in wait4 () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 2400))

  • #0 wait4
    from /lib/libc.so.6
  • #1 sys_sigabbrev
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 646
  • #4 __pthread_sighandler
    from /lib/libpthread.so.0
  • #5 sigaction
    from /lib/libc.so.6
  • #6 compute_character_widths
  • #7 eel_string_ellipsize_end




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-01-08 16:02 -------

Reassigning to the default owner of the component, hp@redhat.com.

Comment 1 Ben FrantzDale 2003-01-11 21:34:02 UTC
Is this a newer version than the supposid fix in bug 95786. I'm
guessing it is not.

*** This bug has been marked as a duplicate of 95786 ***