[Bugs] #1672 UNSP: xklavier causes sugar-session to segfault on armel
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Jan 20 14:08:59 EST 2010
#1672: xklavier causes sugar-session to segfault on armel
------------------------------------------+---------------------------------
Reporter: sascha_silbe | Owner: sayamindu
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: 0.88
Component: python-xklavier | Version: Git as of bugdate
Severity: Major | Keywords: armel
Distribution: Unspecified | Status_field: New
------------------------------------------+---------------------------------
This code in {{{setup_keyboard_cb()}}} causes a segmentation fault:
{{{
if display is not None:
engine = xklavier.Engine(display)
}}}
Output in shell.log (also generated by the code above):
{{{
/home/sascha.silbe/sugar-jhbuild/install/bin/sugar-session:150: Warning:
g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed
engine = xklavier.Engine(display)
/home/sascha.silbe/sugar-jhbuild/install/bin/sugar-session:150: Warning:
g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)'
failed
engine = xklavier.Engine(display)
[1264014001,000,xklavier.c:xkl_engine_constructor/] All backends
failed, last result: -1
/home/sascha.silbe/sugar-jhbuild/install/bin/sugar-session:150: Warning:
g_hash_table_destroy: assertion `hash_table != NULL' failed
engine = xklavier.Engine(display)
}}}
stdout/stderr and gdb backtrace:
{{{
(gdb) run /home/sascha.silbe/sugar-jhbuild/install/bin/sugar-session
Starting program: /usr/bin/python /home/sascha.silbe/sugar-
jhbuild/install/bin/sugar-session
[Thread debugging using libthread_db enabled]
1264013508.0888309 STARTUP: Starting the shell
Xlib: extension "RANDR" missing on display ":1.0".
** (sugar-session:1470): WARNING **: Trying to register gtype
'WnckWindowState' as flags when in fact it is of type 'GEnum'
** (sugar-session:1470): WARNING **: Trying to register gtype
'WnckWindowActions' as flags when in fact it is of type 'GEnum'
** (sugar-session:1470): WARNING **: Trying to register gtype
'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
** (sugar-session:1470): WARNING **: Trying to register gtype
'XklEngineFeatures' as flags when in fact it is of type 'GEnum'
Program received signal SIGSEGV, Segmentation fault.
0x40907088 in pygobject_sink (obj=0x0) at /build/buildd-pygobject_2.20.0-1
-armel-8j9wxh/pygobject-2.20.0/gobject/pygobject.c:140
140 /build/buildd-pygobject_2.20.0-1-armel-
8j9wxh/pygobject-2.20.0/gobject/pygobject.c: No such file or directory.
in /build/buildd-pygobject_2.20.0-1-armel-
8j9wxh/pygobject-2.20.0/gobject/pygobject.c
(gdb) where
#0 0x40907088 in pygobject_sink (obj=0x0) at /build/buildd-
pygobject_2.20.0-1-armel-8j9wxh/pygobject-2.20.0/gobject/pygobject.c:140
#1 0x408fd4c0 in pygobject_constructv (self=0xad3918, n_parameters=1,
parameters=<value optimized out>) at /build/buildd-pygobject_2.20.0-1
-armel-8j9wxh/pygobject-2.20.0/gobject/gobjectmodule.c:2262
#2 0x408fd6a4 in pygobject_construct (self=0xad3918,
first_property_name=0x6f45c "\360 at -\351\234@\220\345\004\320M",
<incomplete sequence \342>)
at /build/buildd-pygobject_2.20.0-1-armel-
8j9wxh/pygobject-2.20.0/gobject/gobjectmodule.c:2329
#3 0x417f25a4 in _wrap_xkl_engine_get_instance (self=0xad3918,
args=<value optimized out>, kwargs=<value optimized out>) at
xklavier.override:142
#4 0x0006f630 in type_call (type=0x417fc98c, args=0x79bdb0, kwds=0x0) at
../Objects/typeobject.c:436
#5 0x0001aaf8 in PyObject_Call (func=0x0, arg=0x417f3174, kw=0x377600) at
../Objects/abstract.c:1861
#6 0x0009080c in do_call (f=0xac67b8, throwflag=<value optimized out>) at
../Python/ceval.c:3823
#7 call_function (f=0xac67b8, throwflag=<value optimized out>) at
../Python/ceval.c:3635
#8 PyEval_EvalFrameEx (f=0xac67b8, throwflag=<value optimized out>) at
../Python/ceval.c:2304
#9 0x00092fa0 in PyEval_EvalCodeEx (co=0x4029f1d0, globals=<value
optimized out>, locals=<value optimized out>, args=0x4023e03c, argcount=0,
kws=0x783558, kwcount=1073865360, defs=0x0, defcount=0, closure=0x0)
at ../Python/ceval.c:2875
#10 0x000dc380 in function_call (func=0x776530, arg=0x4023e030, kw=<value
optimized out>) at ../Objects/funcobject.c:517
#11 0x0001aaf8 in PyObject_Call (func=0x0, arg=0x417f3174, kw=0x377600) at
../Objects/abstract.c:1861
#12 0x0008b7a4 in PyEval_CallObjectWithKeywords (func=0x776530,
arg=0x4023e030, kw=0x0) at ../Python/ceval.c:3481
#13 0x0001acb4 in PyObject_CallObject (o=0x0, a=0x417f3174) at
../Objects/abstract.c:1852
#14 0x408dcebc in _pyglib_handler_marshal (user_data=0x783558) at /build
/buildd-pygobject_2.20.0-1-armel-8j9wxh/pygobject-2.20.0/glib/pyglib.c:562
#15 0x4072c590 in g_idle_dispatch (source=<value optimized out>,
callback=0x408dce78 <_pyglib_handler_marshal>, user_data=0x0) at /build
/buildd-glib2.0_2.22.3-1-armel-pnDF46/glib2.0-2.22.3/glib/gmain.c:4065
#16 0x4072e68c in g_main_dispatch (context=0x783558) at /build/buildd-
glib2.0_2.22.3-1-armel-pnDF46/glib2.0-2.22.3/glib/gmain.c:1960
#17 IA__g_main_context_dispatch (context=0x783558) at /build/buildd-
glib2.0_2.22.3-1-armel-pnDF46/glib2.0-2.22.3/glib/gmain.c:2513
#18 0x40732290 in g_main_context_iterate (context=0x389418, block=9223352,
dispatch=1073976116, self=<value optimized out>) at /build/buildd-
glib2.0_2.22.3-1-armel-pnDF46/glib2.0-2.22.3/glib/gmain.c:2591
#19 0x407327ac in IA__g_main_loop_run (loop=0x8c7f90) at /build/buildd-
glib2.0_2.22.3-1-armel-pnDF46/glib2.0-2.22.3/glib/gmain.c:2799
#20 0x40c4ea30 in IA__gtk_main () at /build/buildd-gtk+2.0_2.18.3-1-armel-
Q1QsCi/gtk+2.0-2.18.3/gtk/gtkmain.c:1218
#21 0x40a834d0 in ?? () from
/usr/lib/pymodules/python2.5/gtk-2.0/gtk/_gtk.so
#22 0x40a834d0 in ?? () from
/usr/lib/pymodules/python2.5/gtk-2.0/gtk/_gtk.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
}}}
Running inside VNC on a Debian squeeze (armel) host.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1672>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list