GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Johan Engelen |
Bug Description
Crash when opening some automatically saved document. The initial crash happened when trying to remove guides from within the xml editor.
I'm using 0.48 on Ubuntu 11.04 with gnome-shell.
Here is the gdb output:
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "i686-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread 0xb5d54b70 (LWP 6369)]
[New Thread 0xb5553b70 (LWP 6370)]
[New Thread 0xb4bffb70 (LWP 6371)]
[Thread 0xb5d54b70 (LWP 6369) exited]
[Thread 0xb5553b70 (LWP 6370) exited]
[New Thread 0xb5553b70 (LWP 6380)]
[New Thread 0xb5d54b70 (LWP 6381)]
[New Thread 0xb42d4b70 (LWP 6382)]
[Thread 0xb5553b70 (LWP 6380) exited]
[Thread 0xb42d4b70 (LWP 6382) exited]
[Thread 0xb5d54b70 (LWP 6381) exited]
(inkscape:6358): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed
Program received signal SIGSEGV, Segmentation fault.
0x080ef974 in ?? ()
(gdb) bt
#0 0x080ef974 in ?? ()
#1 0x0810ddb4 in ?? ()
#2 0x0810dac6 in ?? ()
#3 0x08110264 in ?? ()
#4 0x0810a6ab in ?? ()
#5 0x0810dac6 in ?? ()
#6 0x08110264 in ?? ()
#7 0x0811df45 in ?? ()
#8 0x0810dac6 in ?? ()
#9 0x081118ac in ?? ()
#10 0x0808c58d in ?? ()
#11 0x0808d81f in ?? ()
#12 0x08397f71 in ?? ()
#13 0x083998af in ?? ()
#14 0x08399aa5 in ?? ()
#15 0x00673dfb in Glib::SignalPro
#16 0x00fd648c in g_cclosure_
from /usr/lib/
#17 0x00fba372 in g_closure_invoke ()
from /usr/lib/
#18 0x00fcd273 in ?? () from /usr/lib/
#19 0x00fd5b29 in g_signal_
---Type <return> to continue, or q <return> to quit---
from /usr/lib/
#20 0x00fd5e3d in g_signal_
from /usr/lib/
#21 0x009074c7 in ?? () from /usr/lib/
#22 0x00fd648c in g_cclosure_
from /usr/lib/
#23 0x00fba372 in g_closure_invoke ()
from /usr/lib/
#24 0x00fcd048 in ?? () from /usr/lib/
#25 0x00fd5b29 in g_signal_
from /usr/lib/
#26 0x00fd5e3d in g_signal_
from /usr/lib/
#27 0x009074c7 in ?? () from /usr/lib/
#28 0x00fd648c in g_cclosure_
from /usr/lib/
#29 0x00fba372 in g_closure_invoke ()
from /usr/lib/
#30 0x00fcd048 in ?? () from /usr/lib/
#31 0x00fd5b29 in g_signal_
from /usr/lib/
#32 0x00fd5e3d in g_signal_
from /usr/lib/
---Type <return> to continue, or q <return> to quit---
#33 0x008f655e in ?? () from /usr/lib/
#34 0x008fdda7 in ?? () from /usr/lib/
#35 0x00fd648c in g_cclosure_
from /usr/lib/
#36 0x00fba372 in g_closure_invoke ()
from /usr/lib/
#37 0x00fcd048 in ?? () from /usr/lib/
#38 0x00fd5b29 in g_signal_
from /usr/lib/
#39 0x00fd5cc2 in g_signal_emit ()
from /usr/lib/
#40 0x00a58263 in ?? () from /usr/lib/
#41 0x00a6f23b in ?? () from /usr/lib/
#42 0x00a72a23 in ?? () from /usr/lib/
#43 0x00959a04 in ?? () from /usr/lib/
#44 0x00fb8cc7 in ?? () from /usr/lib/
#45 0x00fba372 in g_closure_invoke ()
from /usr/lib/
#46 0x00fcce45 in ?? () from /usr/lib/
#47 0x00fd58d7 in g_signal_
from /usr/lib/
#48 0x00fd5cc2 in g_signal_emit ()
from /usr/lib/
---Type <return> to continue, or q <return> to quit---
#49 0x00a8e836 in ?? () from /usr/lib/
#50 0x00957b8d in gtk_propagate_event () from /usr/lib/
#51 0x009581af in gtk_main_do_event () from /usr/lib/
#52 0x00c53a0a in ?? () from /usr/lib/
#53 0x01047848 in g_main_
from /lib/i386-
#54 0x01048010 in ?? () from /lib/i386-
#55 0x010486cb in g_main_loop_run () from /lib/i386-
#56 0x008d0b8f in gtk_dialog_run () from /usr/lib/
#57 0x002d17b6 in Gtk::Dialog::run() () from /usr/lib/
#58 0x0839aaf9 in ?? ()
#59 0x0809743e in ?? ()
#60 0x08253bb5 in ?? ()
#61 0x00fd648c in g_cclosure_
from /usr/lib/
#62 0x00fba372 in g_closure_invoke ()
from /usr/lib/
#63 0x00fcd048 in ?? () from /usr/lib/
#64 0x00fd5b29 in g_signal_
from /usr/lib/
#65 0x00fd5cc2 in g_signal_emit ()
from /usr/lib/
#66 0x00a8d7a5 in gtk_widget_activate () from /usr/lib/
---Type <return> to continue, or q <return> to quit---
#67 0x0096f341 in gtk_menu_
from /usr/lib/
#68 0x0096f71a in ?? () from /usr/lib/
#69 0x00962e28 in ?? () from /usr/lib/
#70 0x00959a04 in ?? () from /usr/lib/
#71 0x00fb8cc7 in ?? () from /usr/lib/
#72 0x00fba372 in g_closure_invoke ()
from /usr/lib/
#73 0x00fcce45 in ?? () from /usr/lib/
#74 0x00fd58d7 in g_signal_
from /usr/lib/
#75 0x00fd5cc2 in g_signal_emit ()
from /usr/lib/
#76 0x00a8e836 in ?? () from /usr/lib/
#77 0x00957b8d in gtk_propagate_event () from /usr/lib/
#78 0x00957eef in gtk_main_do_event () from /usr/lib/
#79 0x00c53a0a in ?? () from /usr/lib/
#80 0x01047848 in g_main_
from /lib/i386-
#81 0x01048010 in ?? () from /lib/i386-
#82 0x010486cb in g_main_loop_run () from /lib/i386-
#83 0x00956c39 in gtk_main () from /usr/lib/
#84 0x002fd357 in Gtk::Main:
---Type <return> to continue, or q <return> to quit---
#85 0x002fdd42 in Gtk::Main::run() () from /usr/lib/
#86 0x08086cb3 in ?? ()
#87 0x081713ea in ?? ()
#88 0x0808601a in ?? ()
#89 0x01cb9e37 in __libc_start_main (main=0x8085c20, argc=1,
ubp_
stack_
#90 0x08084a61 in ?? ()
(gdb)
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
- crash confirmed on Windows XP, Inkscape rev 10549.
- the crash appears to be caused by the fact that there is a guide defined that has no position attribute associated with it.
If I take the line:
<sodipodi:guide orientation="1,0" id="guide4386" />
and edit it to read:
<sodipodi:guide orientation="1,0" position="" id="guide4386" />
then the crash disappears.