Closed
Bug 83961
Opened 25 years ago
Closed 25 years ago
Switching keyboard layout with Xkb causes crash
Categories
(Core :: Layout, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: kmike, Assigned: karnaze)
Details
(Keywords: crash)
I see this after getting latest nightly-gcc295 (2001060321).
When switching keyboard layout to russian while focus is in mozilla window,
mozilla crashes with following stack:
Program received signal SIGSEGV, Segmentation fault.
0x40fa99ff in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgklayout.so
(gdb) where
#0 0x40fa99ff in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgklayout.so
#1 0x40fa9ace in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgklayout.so
#2 0x40fa9df2 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgklayout.so
#3 0x40fab63c in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgklayout.so
#4 0x40b224e0 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkcontent.so
#5 0x40c09b61 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkcontent.so
#6 0x40bf6392 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkcontent.so
#7 0x40bf6392 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkcontent.so
#8 0x40bf6392 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkcontent.so
#9 0x40bf6392 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkcontent.so
#10 0x40bf6392 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkcontent.so
#11 0x40bf95f0 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkcontent.so
#12 0x409c8668 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libjsdom.so
#13 0x40c6a1ba in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkcontent.so
#14 0x40c88e87 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkcontent.so
#15 0x40ee6b70 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgklayout.so
#16 0x40ee69de in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgklayout.so
#17 0x410377d9 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkview.so
#18 0x41037754 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkview.so
#19 0x41037754 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkview.so
#20 0x41041944 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkview.so
#21 0x41037104 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libgkview.so
#22 0x40719cca in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libwidget_gtk.so
#23 0x40719be0 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libwidget_gtk.so
#24 0x407180f6 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libwidget_gtk.so
#25 0x407142ca in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libwidget_gtk.so
#26 0x40714830 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libwidget_gtk.so
#27 0x40714549 in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libwidget_gtk.so
#28 0x4032c392 in gdk_event_dispatch (source_data=0x0,
current_time=0xbffff0e4, user_data=0x0) at gdkevents.c:2139
#29 0x4035b9f6 in g_main_dispatch (dispatch_time=0xbffff0e4) at gmain.c:656
#30 0x4035bfb1 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
#31 0x4035c129 in g_main_run (loop=0x8139558) at gmain.c:935
#32 0x4027748a in gtk_main () at gtkmain.c:524
#33 0x4070c02a in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libwidget_gtk.so
#34 0x406ed7dc in NSGetModule ()
from /home/mike/mozilla-gcc295/components/libnsappshell.so
#35 0x804f1eb in NS_CreateNativeAppSupport ()
#36 0x804fb2c in main ()
#37 0x4048f9cb in __libc_start_main (main=0x804f9dc <main>, argc=1,
argv=0xbffff324, init=0x804b114 <_init>, fini=0x8051aec <_fini>,
rtld_fini=0x4000aea0 <_dl_fini>, stack_end=0xbffff31c)
at ../sysdeps/generic/libc-start.c:92
This is a recent regression, my previous (May 29) build is ok.
Here is my setup: RedHat 6.2 with Xfree86 4.0.3, Ximian GNOME 1.4, Xkb support
enabled with following options in XF86Config:
Option "XkbLayout" "ru"
Option "XkbOptions" "grp:alt_shift_toggle"
Assuming layout...
Forgot steps to reproduce:
1. Add
Option "XkbLayout" "ru"
Option "XkbOptions" "grp:alt_shift_toggle"
to the InputDevice section named "Keyboard" in XF86Config.
2. Launch recent mozilla build
3. Focus mozilla window
4. Press ALT+SHIFT simultaneously.
5. Behold the beast crashing.
ok, this is fixed in 2001060421 nightly trunk.
i think the whole case is a result of bstell's work on bug 61439.
with his latest checkins, the crash is gone.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•