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 104207 - gnome-terminal crashes on opening [terminal_skey_do_popup]
gnome-terminal crashes on opening [terminal_skey_do_popup]
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
2.1.x
Other other
: Normal normal
: ---
Assigned To: Havoc Pennington
GNOME Terminal Maintainers
: 104330 105414 150848 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-01-23 09:30 UTC by kajtzu
Modified: 2005-09-19 13:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2


Attachments
Output of gconftool-2 -R /apps/gnome-terminal (2.11 KB, text/plain)
2003-01-24 19:14 UTC, Kaj J. Niemi
  Details
fix to avoid handling new terminal events during startup (5.59 KB, patch)
2003-01-31 23:06 UTC, Havoc Pennington
none Details | Review

Description kajtzu 2003-01-23 09:27:41 UTC
Package: gnome-terminal
Severity: normal
Version: 2.1.4
Synopsis: gnome-terminal crashes on opening
Bugzilla-Product: gnome-terminal
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (2.1.90)

Description:
Description of Problem:


Steps to reproduce the problem:
1. 
2. 
3. 

Actual Results:


Expected Results:


How often does this happen?


Additional Information:




Debugging Information:

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

(no debugging symbols found)...(no debugging symbols found)...[New
Thread 16384 (LWP 1112)]

0x40934ce6 in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 16384 (LWP 1112))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 __pthread_sighandler
    from /lib/libpthread.so.0
  • #3 <signal handler called>
  • #4 __kill
  • #5 pthread_kill
    from /lib/libpthread.so.0
  • #6 raise
    from /lib/libpthread.so.0
  • #7 raise
    from /lib/libc.so.6
  • #8 abort
    from /lib/libc.so.6
  • #9 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #10 g_log
    from /usr/lib/libglib-2.0.so.0
  • #11 terminal_skey_do_popup
  • #12 terminal_util_load_glade_file
  • #13 bonobo_marshal_VOID__STRING_BOXED_BOXED
    from /usr/lib/libbonobo-2.so.0
  • #14 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #15 bonobo_closure_invoke_va_list
    from /usr/lib/libbonobo-2.so.0
  • #16 bonobo_closure_invoke
    from /usr/lib/libbonobo-2.so.0
  • #17 bonobo_item_options_free
    from /usr/lib/libbonobo-2.so.0
  • #18 _ORBIT_skel_small_Bonobo_Listener_event
    from /usr/lib/libbonobo-2.so.0
  • #19 ORBit_POA_setup_root
    from /usr/lib/libORBit-2.so.0
  • #20 ORBit_OAObject_invoke
    from /usr/lib/libORBit-2.so.0
  • #21 ORBit_small_invoke_adaptor
    from /usr/lib/libORBit-2.so.0
  • #22 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #23 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #24 ORBit_handle_request
    from /usr/lib/libORBit-2.so.0
  • #25 giop_connection_handle_input
    from /usr/lib/libORBit-2.so.0
  • #26 linc_connection_set_max_buffer
    from /usr/lib/liblinc.so.1
  • #27 linc_server_get_type
    from /usr/lib/liblinc.so.1
  • #28 g_get_current_time
    from /usr/lib/libglib-2.0.so.0
  • #29 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #30 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #31 g_main_context_iteration
    from /usr/lib/libglib-2.0.so.0
  • #32 linc_main_iteration
    from /usr/lib/liblinc.so.1
  • #33 giop_recv_buffer_get
    from /usr/lib/libORBit-2.so.0
  • #34 ORBit_small_freekids
    from /usr/lib/libORBit-2.so.0
  • #35 ORBit_small_invoke_stub
    from /usr/lib/libORBit-2.so.0
  • #36 ORBit_small_invoke_stub_n
    from /usr/lib/libORBit-2.so.0
  • #37 ConfigDatabase_all_dirs
    from /usr/lib/libgconf-2.so.4
  • #38 gconf_engine_all_dirs
    from /usr/lib/libgconf-2.so.4
  • #39 gconf_client_preload
    from /usr/lib/libgconf-2.so.4
  • #40 gconf_client_add_dir
    from /usr/lib/libgconf-2.so.4
  • #41 terminal_profile_new
  • #42 terminal_app_new_terminal
  • #43 main
  • #44 __libc_start_main
    from /lib/libc.so.6
  • #0 waitpid
    from /lib/libpthread.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-01-23 04:27 -------

The original reporter (kajtzu@pobox.com) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.
Reassigning to the default owner of the component, hp@redhat.com.

Comment 1 Elijah Newren 2003-01-23 19:48:26 UTC
Unique stack trace according to a bugzilla query on
terminal_skey_do_popup.  Adding the GNOMEVER2.1 keyword, setting
version->2.1.x, marking priority->high & severity->critical (it's a
crasher), and marking as new.
Comment 2 Havoc Pennington 2003-01-23 19:59:34 UTC
This backtrace is bogus, load_glade_file doesn't call skey_do_popup

We need to know what assertion failed here - it should have been 
printed to stderr prior to the crash. Check ~/.xsession-errors
Comment 3 Kaj J. Niemi 2003-01-24 15:36:09 UTC
Can't help with this one, upgraded to latest and greatest (2.2.x) on
rawhide. It sometimes dies similarly (bug #104330), could we perhaps
close this one as unreproduceable?
Comment 4 Elijah Newren 2003-01-24 16:55:09 UTC
*** Bug 104330 has been marked as a duplicate of this bug. ***
Comment 5 Elijah Newren 2003-01-24 16:59:13 UTC
------- Additional Comments From Kaj J. Niemi 2003-01-24 10:32 -------

Kaj: Despite bug 104330 using 2.2.0 instead of 2.1.4, the stack traces
are identical.  So it apparently is reproducable.

In bug 104330:

  .xsession-errors had:

  ** ERROR **: file terminal.c: line 1270 (new_terminal_with_options):
  assertion failed: (profile)
  aborting...
Comment 6 Havoc Pennington 2003-01-24 17:03:45 UTC
This package is from rawhide?

What were you doing when it crashed, opening a new window?
Comment 7 Havoc Pennington 2003-01-24 17:06:52 UTC
Also tracking as
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82661

Maybe do a "gconftool-2 -R /apps/gnome-terminal" > gconf-dump.txt
and attach the output file?
Comment 8 Kaj J. Niemi 2003-01-24 19:13:21 UTC
Havoc, yup, this is gnome-terminal 2.2.0-1 off rawhide. Usually this
happens when I open at least one terminal window right after the
menubar appears (by clicking the terminal icon) after logging on.

Attached is the output of gconftool-2.
Comment 9 Kaj J. Niemi 2003-01-24 19:14:17 UTC
Created attachment 13813 [details]
Output of gconftool-2 -R /apps/gnome-terminal
Comment 10 Nicolas Di Benedetto 2003-01-25 19:20:50 UTC
This is the first time it dumps a SegFault. The previous times it
blocked the whole sistem forcing me to RESET.
I just launch it from the gnome pannel and it crashes.
Here is the "gconftool-2 -R /apps/gnome-terminal" > gconf-dump.txt
proposed by Havoc:
__________________

/apps/gnome-terminal/profiles:
  /apps/gnome-terminal/profiles/Default:
   exit_action = close
   background_color = #000000
   use_theme_colors = false
   palette =
#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff
   title = Terminal
   background_type = transparent
   allow_bold = false
   word_chars = -A-Za-z0-9,./?%&#:_
   backspace_binding = control-h
   background_darkness = 0.61000001430511475
   scroll_on_keystroke = true
   cursor_blink = false
   delete_binding = escape-sequence
   custom_command =
   foreground_color = #FFFBFB
   silent_bell = false
   background_image =
   icon = gnome-terminal.png
   title_mode = replace
   scroll_on_output = false
   default_show_menubar = true
   update_records = true
   font = monospace 12
   visible_name = Default
   scrollback_lines = 400
   use_system_font = true
   scroll_background = false
   use_skey = true
   x_font = -misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*
   scrollbar_position = right
   login_shell = false
   use_custom_command = false
  /apps/gnome-terminal/profiles/traans1:
   use_theme_colors = false
 palette =
#000000:#AA0000:#00AA00:#AA5500:#0000AA:#AA00AA:#00AAAA:#AAAAAA:#555555:#FF5555:#55FF55:#FFFF55:#5555FF:#FF55FF:#55FFFF:#FFFFFF
   exit_action = left
   background_color = #FFFFDD
   title = trans1
   background_type = transparent
   word_chars = -A-Za-z0-9,./?%&#:_
   allow_bold = true
   backspace_binding = ascii-del
   background_darkness = 0.5
   scroll_on_keystroke = true
   cursor_blink = false
   delete_binding = escape-sequence
   custom_command =
   background_image =
   icon = gnome-terminal.png
   silent_bell = false
   foreground_color = #FFFBFB
   scroll_on_output = false
   title_mode = replace
   default_show_menubar = true
   update_records = false
   font = monospace 12
   visible_name = transp1
   use_system_font = true
   scroll_background = false
   x_font = -misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*
   scrollback_lines = 100
   use_custom_command = false
   login_shell = false
   scrollbar_position = right
 /apps/gnome-terminal/global:
  profile_list = [Default]
  default_profile = Default
  use_menu_accelerators = true
  use_mnemonics = true
  active_encodings = [UTF-8,current]
/apps/gnome-terminal/keybindings:
  copy = <Ctrl><Shift>c
  set_terminal_title = (no hay valor asignado)
  toggle_menubar = (no hay valor asignado)
  close_tab = <Ctrl><Shift>w
  new_window = <Ctrl><Shift>n
  switch_to_tab_10 = (no hay valor asignado)
  switch_to_tab_1 = <Alt>1
  switch_to_tab_11 = (no hay valor asignado)
  switch_to_tab_2 = <Alt>2
  paste = <Ctrl><Shift>v
  new_tab = <Ctrl><Shift>t
  switch_to_tab_12 = (no hay valor asignado)
  switch_to_tab_3 = <Alt>3
  reset = (no hay valor asignado)
  full_screen = (no hay valor asignado)
  zoom_normal = <Ctrl>equal
  zoom_in = <Ctrl>plus
  switch_to_tab_4 = <Alt>4
  new_profile = (no hay valor asignado)
  switch_to_tab_5 = <Alt>5
  zoom_out = <Ctrl>minus
  help = F1
  switch_to_tab_6 = <Alt>6
  next_tab = <Control>Page_Down
  switch_to_tab_7 = <Alt>7
  prev_tab = <Control>Page_Up
  close_window = <Ctrl><Shift>q
  switch_to_tab_8 = <Alt>8
  switch_to_tab_9 = <Alt>9
  reset_and_clear = (no hay valor asignado)
_______________
Additional info:
#uname -a
Linux barnie 2.4.19 #4 SMP sáb nov 2 19:52:11 GMT 2002 i686 unknown
unknown GNU/Linux
Debian Sid
Gnome gnome-terminal 2.2.0
libgnome2-0 2.2.0.1-1
libgnome2-common 2.2.0.1-1

Hope it helps fixing it.

Comment 11 Havoc Pennington 2003-01-25 19:28:44 UTC
OK, I was hoping gconftool would show an empty profile_list, but it
doesn't. So I don't see how this crash can happen... hrm.

Is everyone seeing it using rawhide? No one using jhbuild, garnome, etc.?
Comment 12 Havoc Pennington 2003-01-31 23:06:53 UTC
Created attachment 14008 [details] [review]
fix to avoid handling new terminal events during startup
Comment 13 Havoc Pennington 2003-01-31 23:07:20 UTC
Your basic CORBA reentrancy snafu. This patch should fix.
Comment 14 Ben FrantzDale 2003-02-06 17:18:50 UTC
*** Bug 105414 has been marked as a duplicate of this bug. ***
Comment 15 Havoc Pennington 2003-02-12 18:24:59 UTC
Fixed in 2.2.1
Comment 16 Kjartan Maraas 2005-09-19 13:43:21 UTC
*** Bug 150848 has been marked as a duplicate of this bug. ***