← Back to team overview

lubuntu-desktop team mailing list archive

Re: [Lxde-list] LXAppearance 2 is almost working

 

Le jeudi 29 juillet 2010 à 03:10 +0800, PCMan a écrit :
> Hi all,
> I did a complete rewrite from scratch for lxappearance.
> The source code is here.
> http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxappearance2;a=summary
> 
> Features of the original lxappearance has all been implemented except
> icon theme installation.
> Compared with the old one, the UI is improved a little and the code is
> much more cleaner.
> In addition, this version contains support for changing cursors.
> Later, more options will come and support to changing color scheme
> will be added.
> Please test it.
> 
> Thanks.
> 

It also segfault here at start up. Backtrace attached.

Regards,
Julien Lavergne

GNU gdb (GDB) 7.1-ubuntu
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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/lxappearance2...Reading symbols from /usr/lib/debug/usr/bin/lxappearance2...done.
done.
(gdb) handle SIG33 pass nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG33         No	No	Yes		Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/lxappearance2 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4d8553a in ?? () from /lib/libc.so.6
(gdb) backtrace full
#0  0x00007ffff4d8553a in ?? () from /lib/libc.so.6
No symbol table info available.
#1  0x00007ffff5ba9cc5 in IA__g_param_spec_pool_lookup (pool=0x62d400, param_name=0x1 <Address 0x1 out of bounds>, owner_type=6630096, walk_ancestors=<value optimized out>) at /build/buildd/glib2.0-2.24.1/gobject/gparam.c:1053
        pspec = <value optimized out>
        __PRETTY_FUNCTION__ = "IA__g_param_spec_pool_lookup"
#2  0x00007ffff5ba48a4 in IA__g_object_get_valist (object=0x658c00, first_property_name=0x1 <Address 0x1 out of bounds>, var_args=0x7fffffffe020) at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1532
        value = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        pspec = 0x647d00
        error = <value optimized out>
        name = 0x1 <Address 0x1 out of bounds>
        __PRETTY_FUNCTION__ = "IA__g_object_get_valist"
#3  0x00007ffff5ba4c14 in IA__g_object_get (_object=0x658c00, first_property_name=0x405580 "gtk-icon-sizes") at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1645
        var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffe110, reg_save_area = 0x7fffffffe040}}
        __PRETTY_FUNCTION__ = "IA__g_object_get"
#4  0x0000000000404625 in icon_sizes_init (b=0x695b70) at icon-theme.c:136
        sizes_str = <value optimized out>
#5  icon_theme_init (b=0x695b70) at icon-theme.c:228
        l = <value optimized out>
        it = {stamp = -1226441492, user_data = 0x77ea90, user_data2 = 0x0, user_data3 = 0x403240}
        icon_theme_sel_it = {stamp = -100223500, user_data = 0x6b1060, user_data2 = 0x0, user_data3 = 0x403240}
        cursor_theme_sel_it = {stamp = -1226441492, user_data = 0x767130, user_data2 = 0x0, user_data3 = 0x403240}
        sel = 0x75de00
#6  0x000000000040358a in main (argc=1, argv=0x7fffffffe328) at lxappearance2.c:307
        err = 0x0
        b = <value optimized out>
(gdb) info registers
rax            0x0	0
rbx            0x62d400	6476800
rcx            0x1	1
rdx            0x1	1
rsi            0xffffffff	4294967295
rdi            0x0	0
rbp            0x1	0x1
rsp            0x7fffffffde88	0x7fffffffde88
r8             0x62d408	6476808
r9             0x30fe	12542
r10            0x1	1
r11            0x1	1
r12            0x7ffff5580788	140737309575048
r13            0x7ffff55807c0	140737309575104
r14            0x7ffff50903c0	140737304396736
r15            0x652ad0	6630096
rip            0x7ffff4d8553a	0x7ffff4d8553a
eflags         0x10286	[ PF SF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
(gdb) x/16i $pc
=> 0x7ffff4d8553a:	movdqa (%rdi),%xmm0
   0x7ffff4d8553e:	pshufd $0x0,%xmm1,%xmm1
   0x7ffff4d85543:	sub    %rdi,%rcx
   0x7ffff4d85546:	movdqa %xmm0,%xmm3
   0x7ffff4d8554a:	lea    0x10(%rdi),%rdi
   0x7ffff4d8554e:	pcmpeqb %xmm1,%xmm0
   0x7ffff4d85552:	pcmpeqb %xmm2,%xmm3
   0x7ffff4d85556:	shl    %cl,%esi
   0x7ffff4d85558:	pmovmskb %xmm0,%edx
   0x7ffff4d8555c:	pmovmskb %xmm3,%ecx
   0x7ffff4d85560:	and    %esi,%edx
   0x7ffff4d85562:	and    %esi,%ecx
   0x7ffff4d85564:	or     %edx,%ecx
   0x7ffff4d85566:	jne    0x7ffff4d85588
   0x7ffff4d85568:	movdqa (%rdi),%xmm0
   0x7ffff4d8556c:	lea    0x10(%rdi),%rdi
(gdb) thread apply all backtrace

Thread 1 (Thread 0x7ffff7fc37a0 (LWP 12542)):
#0  0x00007ffff4d8553a in ?? () from /lib/libc.so.6
#1  0x00007ffff5ba9cc5 in IA__g_param_spec_pool_lookup (pool=0x62d400, param_name=0x1 <Address 0x1 out of bounds>, owner_type=6630096, walk_ancestors=<value optimized out>) at /build/buildd/glib2.0-2.24.1/gobject/gparam.c:1053
#2  0x00007ffff5ba48a4 in IA__g_object_get_valist (object=0x658c00, first_property_name=0x1 <Address 0x1 out of bounds>, var_args=0x7fffffffe020) at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1532
#3  0x00007ffff5ba4c14 in IA__g_object_get (_object=0x658c00, first_property_name=0x405580 "gtk-icon-sizes") at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1645
#4  0x0000000000404625 in icon_sizes_init (b=0x695b70) at icon-theme.c:136
#5  icon_theme_init (b=0x695b70) at icon-theme.c:228
#6  0x000000000040358a in main (argc=1, argv=0x7fffffffe328) at lxappearance2.c:307
(gdb) quit
A debugging session is active.

	Inferior 1 [process 12542] will be killed.

Quit anyway? (y or n) 

Follow ups

References