Package: sm
Version: 0.18-1
Severity: serious

While testing if Khmer rendering is now working (it is), I found that sm
now segfaults on armel. The workaround is to comment out sm.c line 285:

        g_object_set(draw,"can-focus",1);

Alternatively if this is actually needed, this seems to work too:

        g_object_set(G_OBJECT(draw),"can-focus",1);

That gives this warning at runtime though:

(sm:6012): GLib-GObject-WARNING **: IA__g_object_set_valist: object class 
`GtkDrawingArea' has no property named `\u0002'

Here is the backtrace from my OpenMoko Freerunner running Debian sid:

r...@booph:~/tmp/screen-message-0.18# gdb sm
rGNU gdb (GDB) 7.1-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/root/tmp/screen-message-0.18/sm...done.
(gdb) r
Starting program: /home/root/tmp/screen-message-0.18/sm 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x40998470 in strchr () from /lib/libc.so.6
(gdb) bt
#0  0x40998470 in strchr () from /lib/libc.so.6
#1  0x407d8450 in g_param_spec_pool_lookup () from /usr/lib/libgobject-2.0.so.0
#2  0x407d31f8 in g_object_set_valist () from /usr/lib/libgobject-2.0.so.0
#3  0x407d3978 in g_object_set () from /usr/lib/libgobject-2.0.so.0
#4  0x0000aa68 in main (argc=0, argv=0x0) at sm.c:285
(gdb) thread apply all bt full

Thread 1 (Thread 0x40d9f9d0 (LWP 6183)):
#0  0x40998470 in strchr () from /lib/libc.so.6
No symbol table info available.
#1  0x407d8450 in g_param_spec_pool_lookup () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#2  0x407d31f8 in g_object_set_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#3  0x407d3978 in g_object_set () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#4  0x0000aa68 in main (argc=0, argv=0x0) at sm.c:285
        input = <value optimized out>
        c = <value optimized out>
        input_provided = <value optimized out>
        screen = 0x340c8
        colormap = 0x36400
        white = {pixel = 9716, red = 65535, green = 65535, blue = 65535}
        black = {pixel = 39453, red = 0, green = 0, blue = 0}
        color = {pixel = 45, red = 15840, green = 16386, blue = 38088}
        start = {dummy1 = 0x409e5198, dummy2 = 0x4001fb00, dummy3 = 64, dummy4 
= 0, dummy5 = 1073872056, dummy6 = 1073889280, dummy7 = 1083402354, dummy8 = 
-1, dummy9 = 0x0, 
          dummy10 = 0x40ceeae8, dummy11 = 64, dummy12 = 19, dummy13 = 
1083349696, dummy14 = 0x0}
        end = {dummy1 = 0x40024814, dummy2 = 0x0, dummy3 = 1088024608, dummy4 = 
1, dummy5 = 0, dummy6 = 1, dummy7 = 1073780592, dummy8 = -1098374208, dummy9 = 
0x40024814, 
          dummy10 = 0x0, dummy11 = 1088026416, dummy12 = 1, dummy13 = 0, 
dummy14 = 0x1}
        vbox_button = <value optimized out>
        hbox = <value optimized out>
        vbox = <value optimized out>
        accel = <value optimized out>
        key = <value optimized out>
        mod = <value optimized out>
(gdb) quit
A debugging session is active.

        Inferior 1 [process 6183] will be killed.

Quit anyway? (y or n) y

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to