cht電腦資訊gcin
adm Find login register

gdm coredump

guest
1 gdm coredump
Promote 0 Bookmark 02008-07-01quote  

步驟:

gdmflexiserver -n

輸入錯誤帳號密碼,接下來要輸入時就會 coredump

 

 (gdb) bt
#0  0xb79fef14 in gcin_im_client_forward_key_press () from /usr/lib/gcin/libgcin-im-client.so.1
#1  0xb7a02997 in gtk_im_context_gcin_filter_keypress () from /usr/lib/gtk-2.0/immodules/im-gcin.so
#2  0x41ec12f0 in IA__gtk_im_context_filter_keypress (context=<value optimized out>, key=<value optimized out>)
    at /tmp/buildd/gtk+2.0-2.12.10/gtk/gtkimcontext.c:288
#3  0x41ec12f0 in IA__gtk_im_context_filter_keypress (context=<value optimized out>, key=<value optimized out>)
    at /tmp/buildd/gtk+2.0-2.12.10/gtk/gtkimcontext.c:288
#4  0x41e61612 in gtk_entry_key_press (widget=<value optimized out>, event=<value optimized out>)
    at /tmp/buildd/gtk+2.0-2.12.10/gtk/gtkentry.c:2042
#5  0x41ee6666 in _gtk_marshal_BOOLEAN__BOXED (closure=<value optimized out>, return_value=<value optimized out>,
    n_param_values=<value optimized out>, param_values=<value optimized out>, invocation_hint=Could not find the frame base for "_gtk_marshal_BOOLEAN__BOXED".
)
    at /tmp/buildd/gtk+2.0-2.12.10/gtk/gtkmarshalers.c:84
#6  0x43dea019 in ?? () from /usr/lib/libgobject-2.0.so.0
#7  0x08f60e90 in ?? ()
#8  0xbfa3a4c0 in ?? ()
#9  0x00000002 in ?? ()
#10 0xbfa3a5a4 in ?? ()
#11 0xbfa3a4ac in ?? ()
#12 0x41e61530 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xbfa3a2d8 in ?? ()
#14 0x43e1c680 in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0x41ee65d0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x08f60e90 in ?? ()
#17 0xbfa3a348 in ?? ()
#18 0x43deb7cf in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
Backtrace stopped: frame did not save the PC

guest
2 更詳細的 backtrace
Promote 0 Bookmark 02008-07-01quote  

0xb79e5f01 in gcin_im_client_forward_key_press (handle=0x0, key=65293, state=0, rstr=0xbff21558) at gcin-im-client.c:432
432      if (!BITON(handle->flag, FLAG_GCIN_client_handle_has_focus)) {
(gdb) f 1
#1  0xb79e9b02 in gtk_im_context_gcin_filter_keypress (context=0x9123590, event=0x8f984c0) at gtkimcontextgcin.c:421
421        result = gcin_im_client_forward_key_press(context_xim->gcin_ch,
(gdb) p *context_xim
$5 = {object = {parent_instance = {g_type_instance = {g_class = 0x8ffc4f8}, ref_count = 1, qdata = 0x0}}, client_window = 0x0,
  client_widget = 0x0, gcin_ch = 0x0, timeout_handle = 0, is_mozilla = 0, dirty_fix_off = 0}

(gdb) bt
#0  0xb79e5f01 in gcin_im_client_forward_key_press (handle=0x0, key=65293, state=0, rstr=0xbff21558) at gcin-im-client.c:432
#1  0xb79e9b02 in gtk_im_context_gcin_filter_keypress (context=0x9123590, event=0x8f984c0) at gtkimcontextgcin.c:421
#2  0x41ec12f0 in IA__gtk_im_context_filter_keypress (context=<value optimized out>, key=<value optimized out>)
    at /tmp/buildd/gtk+2.0-2.12.10/gtk/gtkimcontext.c:288
#3  0x41ec12f0 in IA__gtk_im_context_filter_keypress (context=<value optimized out>, key=<value optimized out>)
    at /tmp/buildd/gtk+2.0-2.12.10/gtk/gtkimcontext.c:288
#4  0x41e61612 in gtk_entry_key_press (widget=<value optimized out>, event=<value optimized out>)
    at /tmp/buildd/gtk+2.0-2.12.10/gtk/gtkentry.c:2042
#5  0x41ee6666 in _gtk_marshal_BOOLEAN__BOXED (closure=<value optimized out>, return_value=<value optimized out>,
    n_param_values=<value optimized out>, param_values=<value optimized out>, invocation_hint=Could not find the frame base for "_gtk_marshal_BOOLEAN__BOXED".
)
    at /tmp/buildd/gtk+2.0-2.12.10/gtk/gtkmarshalers.c:84
#6  0x43dea019 in ?? () from /usr/lib/libgobject-2.0.so.0
#7  0x08fb2e90 in ?? ()
#8  0xbff219b0 in ?? ()
#9  0x00000002 in ?? ()
#10 0xbff21a94 in ?? ()
#11 0xbff2199c in ?? ()
#12 0x41e61530 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xbff217c8 in ?? ()
#14 0x43e1c680 in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0x41ee65d0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x08fb2e90 in ?? ()
#17 0xbff21838 in ?? ()
#18 0x43deb7cf in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
Backtrace stopped: frame did not save the PC

 

eliu
3
Promote 0 Bookmark 02008-07-01quote  

改好了。Thanks.

追根究底,其實似乎是 GTK or gdm 的 bug,把 handle close/free 後還繼續 call keypress filter. 

edited: 1

cht電腦資訊gcin
adm Find login register
views:9113