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 74229 - _gtk_key_hash_lookup lockup
_gtk_key_hash_lookup lockup
Status: RESOLVED DUPLICATE of bug 74571
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-03-11 11:31 UTC by Michael Meeks
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Meeks 2002-03-11 11:31:11 UTC
Well, occasionaly - and I've seen this ~2-3 times in the last few days, [
doing a scad of switching between X sessions and odd things ] I've got
un-repeatable lockups in this method. ie. despite it being a simple linked
list traversal it hangs in there, belts around the loop and finally dies [
presumably of a lack of memory ].

I wouldn't mind that, but often it seems to do it with an active grab that
scuppers trying to use X ;-) it's not clear how that could happen precicely.

Here's how it looks:

(gdb) bt
  • #0 chunk_alloc
    at malloc.c line 3076
  • #1 __libc_malloc
    at malloc.c line 2811
  • #2 g_malloc
    at gmem.c line 137
  • #3 g_mem_chunk_alloc
    at gmem.c line 839
  • #4 g_slist_prepend
    at gslist.c line 124
  • #5 _gtk_key_hash_lookup
    at gtkkeyhash.c line 307
  • #6 _gtk_bindings_activate_event
    at gtkbindings.c line 1115
  • #7 gtk_menu_shell_key_press
    at gtkmenushell.c line 613
  • #8 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 82
  • #9 g_type_class_meta_marshal
    at gclosure.c line 514
  • #10 g_closure_invoke
    at gclosure.c line 437
  • #11 signal_emit_unlocked_R
  • #12 g_signal_emit_valist
    at gsignal.c line 2109
  • #13 gtk_signal_emit
    at gtksignal.c line 355
  • #14 gtk_widget_event_internal
    at gtkwidget.c line 3076
  • #15 gtk_menu_shell_key_press
    at gtkmenushell.c line 611
  • #16 gtk_menu_key_press
    at gtkmenu.c line 1746
  • #17 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 82
  • #18 g_type_class_meta_marshal
    at gclosure.c line 514
  • #19 g_closure_invoke
    at gclosure.c line 437
  • #20 signal_emit_unlocked_R
    at gsignal.c line 2378
  • #21 g_signal_emit_valist
    at gsignal.c line 2109
  • #22 gtk_signal_emit
    at gtksignal.c line 355
  • #23 gtk_widget_event_internal
    at gtkwidget.c line 3076
  • #24 gtk_propagate_event
    at gtkmain.c line 2041
  • #25 gtk_main_do_event
    at gtkmain.c line 1316
  • #26 gdk_event_dispatch
    at gdkevents-x11.c line 1752
  • #27 g_main_dispatch
    at gmain.c line 1617
  • #28 g_main_context_dispatch
    at gmain.c line 2161
  • #29 g_main_context_iterate
    at gmain.c line 2242
  • #30 g_main_loop_run
    at gmain.c line 2462
  • #31 gtk_main
    at gtkmain.c line 915
  • #32 main
    at main.c line 235
  • #33 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129
Run till exit from #0  chunk_alloc (ar_ptr=0x4085e520, nb=1032)
    at malloc.c:3076
[Switching to Thread 1024 (LWP 10789)]
0x407ac02c in __libc_malloc (bytes=1024) at malloc.c:2811
2811    in malloc.c
Value returned is $1 = 0x27356e80
(gdb) finish
Run till exit from #0  0x407ac02c in __libc_malloc (bytes=1024)
    at malloc.c:2811
g_malloc (n_bytes=1024) at gmem.c:138
138     gmem.c: No such file or directory.
        in gmem.c
Value returned is $2 = (void *) 0x27356e88
(gdb) finish
Run till exit from #0  g_malloc (n_bytes=1024) at gmem.c:138
g_mem_chunk_alloc (mem_chunk=0x80a3658) at gmem.c:845
845     in gmem.c
Value returned is $3 = 0x27356e88
(gdb) finish
Run till exit from #0  g_mem_chunk_alloc (mem_chunk=0x80a3658)
    at gmem.c:845
0x406d2159 in g_slist_prepend (list=0x27356e78, data=0x82b80f0)
    at gslist.c:124
124     gslist.c: No such file or directory.
        in gslist.c
Value returned is $4 = 0x27356ea0
(gdb) finish
Run till exit from #0  0x406d2159 in g_slist_prepend (list=0x27356e78, 
    data=0x82b80f0) at gslist.c:124
0x4038825e in _gtk_key_hash_lookup (key_hash=0x8277d00, 
    hardware_keycode=9, state=0, group=0) at gtkkeyhash.c:307
307     gtkkeyhash.c: No such file or directory.
        in gtkkeyhash.c
Value returned is $5 = (GSList *) 0x27356ea0
(gdb) finish
Run till exit from #0  0x4038825e in _gtk_key_hash_lookup (
    key_hash=0x8277d00, hardware_keycode=9, state=0, group=0)
    at gtkkeyhash.c:307

[1]+  Stopped                 gdb gnome-panel-2 10789
Comment 1 Havoc Pennington 2002-03-11 13:44:40 UTC
I've gotten one of these too, I'm not sure if I put the bug on gtk or
still have it on gnome-terminal.
Comment 2 Owen Taylor 2002-03-14 16:21:59 UTC
Tentatively duping on #74571 which would cause problems like
this; if it still happens with current GTK+ CVS, please undup.


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