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 138866 - gnome-terminal randomly hangs.. this time it finally crashed
gnome-terminal randomly hangs.. this time it finally crashed
Status: RESOLVED DUPLICATE of bug 117945
Product: vte
Classification: Core
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: VTE Maintainers
Nalin Dahyabhai
: 140009 140057 140289 141355 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-01-22 18:51 UTC by gnomebug
Modified: 2005-04-17 19:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gnomebug 2004-04-02 17:03:16 UTC
Package: gnome-terminal
Severity: normal
Version: 2.2.1
Synopsis: gnome-terminal randomly hangs.. this time it finally crashed
Bugzilla-Product: gnome-terminal
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (2.2.0.1)

Description:
Description of Problem:

My gnome-terminal seems to hang randomly for periods at a time.  I tend
to have ssh sessions going to remote machines and one is a screen
session.  The screen session tends to need a fair bit of repainting
requests.

Anyway, this time I decided to bring it up in gdb when it hung, it
looked like vte was stuck in some sort of loop.  Usually after a few
minutes gnome-terminal wakes up again and lets me continue to use it.

Sorry if this bug report is useless....




Debugging Information:

Backtrace was generated from '/usr/bin/gnome-terminal'

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 1087386912 (LWP 6407)]
0xffffe002 in ?? ()

Thread 1 (Thread 1087386912 (LWP 6407))

  • #0 ??
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 realloc
    from /lib/tls/libc.so.6
  • #4 g_realloc
    from /usr/lib/libglib-2.0.so.0
  • #5 g_array_sort_with_data
    from /usr/lib/libglib-2.0.so.0
  • #6 g_array_append_vals
    from /usr/lib/libglib-2.0.so.0
  • #7 _vte_trie_print
    from /usr/lib/libvte.so.4
  • #8 vte_terminal_get_encoding
    from /usr/lib/libvte.so.4
  • #9 vte_terminal_set_default_colors
    from /usr/lib/libvte.so.4
  • #10 vte_terminal_fork_command
    from /usr/lib/libvte.so.4
  • #11 g_main_context_wakeup
    from /usr/lib/libglib-2.0.so.0
  • #12 g_get_current_time
    from /usr/lib/libglib-2.0.so.0
  • #13 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #15 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #16 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 main
  • #18 __libc_start_main
    from /lib/tls/libc.so.6
  • #0 ??




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-04-02 12:03 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gnome-terminal".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was gnomebug@tainted.org.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Mariano Suárez-Alvarez 2004-04-18 02:29:47 UTC
(This stack looks broken...)

Thanks for the bug report. Unfortunately, that stack trace is not very useful in
determining the cause of the crash. Please make sure that the package was
compiled with debugging symbols and see
http://bugzilla.gnome.org/getting-traces.cgi for more information about useful
stack traces.

I'll move this to vte in the meantime...
Comment 2 Idcmp 2004-04-18 02:51:37 UTC
If there are any known crash issues with using screen in a tab, then this is
likely part of those family of bugs.  The problems have gotten severe enough
that I've started using konsole. 
Comment 3 Mariano Suárez-Alvarez 2004-04-18 03:53:30 UTC
The thing is, this is a weird error in that the stack trace you provided is
impossible. _But_ it has already been reported, which means something is amiss
somewhere: the stack trace in bug 106487 is exactly like this one.

The reporter of that bug did not follow up on Nalin's questions, so it never got
really looked into. If you could answer the questions and provide a stack trace
with symbols etc it would be very helpful.
Comment 4 Mariano Suárez-Alvarez 2004-04-18 04:26:33 UTC
*** Bug 140057 has been marked as a duplicate of this bug. ***
Comment 5 Mariano Suárez-Alvarez 2004-04-18 04:27:22 UTC
Bug 140057 has some specific steps to reproduce (I can't, tho) and details of
the system.
Comment 6 Mariano Suárez-Alvarez 2004-04-18 04:31:47 UTC
*** Bug 140009 has been marked as a duplicate of this bug. ***
Comment 7 Mariano Suárez-Alvarez 2004-04-18 04:33:33 UTC
Same comment on 140009. Something wrong with the debian/testing build? ALl these
stack traces have the impossible call to vte_terminal_set_default_colors from
vte_terminal_fork_command.
Comment 8 Mariano Suárez-Alvarez 2004-05-24 04:52:18 UTC
*** Bug 140289 has been marked as a duplicate of this bug. ***
Comment 9 Idcmp 2004-05-24 05:11:53 UTC
I'd also like to add that one of my tabs is running a screen session.  The
session is to a Debian box (ie would be using a Debian termcap).  I just
upgraded my laptop to Fedora Core 2 and gnome-terminal seems to still hang.  
Comment 10 Jon Nelson 2004-09-06 23:11:23 UTC
This bug appears to be identical to the bug I filed over a year ago.
Please see bug 117945, it is identical.

I'm even on a completely different machine now, SuSE 9.1 which gnome updates,
and here is another backtrace (provided while the gnome-terminal was "hung", I
cracked open gdb and attached to the process in an xterm):
  • #0 g_array_append_vals
    at garray.c line 145
  • #1 vte_g_array_fill
    from /opt/gnome/lib/libvte.so.4
  • #2 vte_new_row_data_sized
    from /opt/gnome/lib/libvte.so.4
  • #3 vte_insert_line_internal
    from /opt/gnome/lib/libvte.so.4
  • #4 vte_sequence_handler_sf
    from /opt/gnome/lib/libvte.so.4
  • #5 vte_terminal_process_incoming
    from /opt/gnome/lib/libvte.so.4
  • #6 vte_terminal_feed
    from /opt/gnome/lib/libvte.so.4
  • #7 vte_terminal_io_read
    from /opt/gnome/lib/libvte.so.4
  • #8 ??
  • #9 ??
  • #10 __JCR_LIST__
    from /opt/gnome/lib/libglib-2.0.so.0
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 __JCR_LIST__
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #712 ??
  • #713 ??
  • #714 ??
  • #715 ??
  • #716 ??
  • #717 ??
  • #718 g_type_check_instance_is_a
    at gtype.c line 3117

Can somebody mark this as a duplicate of 117945 (or whatever appropriate merging
activity there is).
Comment 11 Sebastien Bacher 2005-01-16 20:49:10 UTC

*** This bug has been marked as a duplicate of 117945 ***
Comment 12 Kjartan Maraas 2005-04-17 19:08:46 UTC
*** Bug 141355 has been marked as a duplicate of this bug. ***