Bugs item #971994, was opened at 2004-06-12 23:33
Message generated for change (Comment added) made by nemies
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=604306&aid=971994&group_id=93438
Category: UI
Group: Win32
Status: Open
Resolution: None
Priority: 6
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Win32: Crash in sp_document_maybe_done on node release
Initial Comment:
How to reproduce:
1. Create square, star, spiral, etc.
2. Grab node with mouse and drag.
3. Crash.
Compiled using:
glibc/2.2.5
gcc/3.2.3
linux/2.4.26
binutils/2.15
pkgconfig/0.15.0
libpng/1.2.5
zlib/1.2.1
xfree86/4.3.0
glib/2.4.1
gtk/2.4.1
pango/1.4.0
atk/1.6.0
freetype/2.1.5
libart/2.3.15
libxml/2.6.10
popt/1.6.4
sigc/1.2.5
GDB output:
[New Thread 1024 (LWP 24032)]
Fontconfig warning: line 247: invalid edit binding "same"
Fontconfig warning: line 259: invalid edit binding "same"
** ERROR **: file document-undo.cpp: line 80 (void
sp_document_maybe_done(SPDocument*, const gchar*)):
assertion failed: (SP_IS_DOCUMENT (doc))
aborting...
Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 24032)]
0x407932a1 in __kill () at __kill:-1
-1 __kill: No such file or directory.
in __kill
Current language: auto; currently c
(gdb) bt
#0 0x407932a1 in __kill () at __kill:-1
#1 0x405a54fd in pthread_kill (thread=24032, signo=0)
at signals.c:65
#2 0x405a5a6b in raise (sig=1079708612) at signals.c:236
#3 0x40794aa9 in abort () at ../sysdeps/generic/abort.c:88
#4 0x40437042 in g_logv () at gmessages.c:522
#5 0x40437084 in g_log (log_domain=0x0, log_level=0,
format=0x0)
at gmessages.c:541
#6 0x08091c1d in sp_document_maybe_done(_SPDocument*,
char const*) (
doc=0x408826b8, key=0x0) at document-undo.cpp:97
#7 0x080919d9 in sp_document_done(_SPDocument*) (doc=0x0)
at document-undo.cpp:64
#8 0x403e6fd4 in g_cclosure_marshal_VOID__UINT
(closure=0x88301b8,
return_value=0x0, n_param_values=2,
param_values=0xbfffef50,
invocation_hint=0xbfffee48, marshal_data=0x0) at
gmarshal.c:251
#9 0x403d2347 in g_closure_invoke (closure=0x88301b8,
return_value=0x0,
n_param_values=0, param_values=0x0,
invocation_hint=0x0) at gclosure.c:437
#10 0x403e67b5 in signal_emit_unlocked_R
(node=0x882dee0, detail=0,
instance=0x8826cc0, emission_return=0x0,
instance_and_params=0xbfffef50)
at gsignal.c:2436
#11 0x403e5738 in g_signal_emit_valist
(instance=0x8826cc0, signal_id=0,
detail=0, var_args=0xbffff0e0 "\034ñÿ¿0ñÿ¿") at
gsignal.c:2195
#12 0x403e5a44 in g_signal_emit (instance=0x0,
signal_id=0, detail=0)
at gsignal.c:2239
#13 0x080a80ed in sp_knot_handler (item=0x8824d70,
event=0x88037ac,
knot=0x8826cc0) at knot.cpp:496
#14 0x0817f480 in sp_marshal_BOOLEAN__POINTER
(closure=0x8824de8,
return_value=0xbffff350, n_param_values=0,
param_values=0xbffff3b0,
invocation_hint=0xbffff2a8, marshal_data=0x0) at
sp-marshal.cpp:350
#15 0x403d2347 in g_closure_invoke (closure=0xbffff3b0,
return_value=0x0,
n_param_values=0, param_values=0x0,
invocation_hint=0x0) at gclosure.c:437
#16 0x403e67b5 in signal_emit_unlocked_R
(node=0x8303440, detail=0,
instance=0x8824d70, emission_return=0xbffff350,
instance_and_params=0xbffff3b0) at gsignal.c:2436
#17 0x403e553e in g_signal_emit_valist
(instance=0x8824d70, signal_id=0,
detail=0, var_args=0xbffff54c
"\õÿ¿Àø.\b\200öÿ¿xõÿ¿") at gsignal.c:2205
#18 0x40176adf in gtk_signal_emit (object=0x8824d70,
signal_id=0)
at gtksignal.c:359
#19 0x08181d50 in emit_event (canvas=0x402deca0,
event=0x8803760)
at sp-canvas.cpp:1218
---Type <return> to continue, or q <return> to quit---
#20 0x0818218b in sp_canvas_button (widget=0x0,
event=0x8803760)
at sp-canvas.cpp:1411
#21 0x4012c71f in _gtk_marshal_BOOLEAN__BOXED
(closure=0x8803760,
return_value=0xbffff710, n_param_values=2,
param_values=0x0,
invocation_hint=0xbffff738, marshal_data=0x81820c0)
at gtkmarshalers.c:82
#22 0x403d26b7 in g_type_class_meta_marshal
(closure=0x0, return_value=0x0,
n_param_values=0, param_values=0x8803760,
invocation_hint=0x0,
marshal_data=0x0) at gclosure.c:514
#23 0x403d2347 in g_closure_invoke (closure=0x8803760,
return_value=0x0,
n_param_values=0, param_values=0x0,
invocation_hint=0x0) at gclosure.c:437
#24 0x403e61eb in signal_emit_unlocked_R
(node=0x82f35b0, detail=0,
instance=0x8303200, emission_return=0xbffff7e0,
instance_and_params=0xbffff840) at gsignal.c:2474
#25 0x403e553e in g_signal_emit_valist
(instance=0x8303200, signal_id=0,
detail=0, var_args=0xbffff9d0 "Øùÿ¿Øùÿ¿") at
gsignal.c:2205
#26 0x403e5a44 in g_signal_emit (instance=0x0,
signal_id=0, detail=0)
at gsignal.c:2239
#27 0x4022f82b in gtk_widget_event_internal
(widget=0x8303200, event=0x8803760)
at gtkwidget.c:3563
#28 0x4012ada7 in gtk_propagate_event
(widget=0x8303200, event=0x8803760)
at gtkmain.c:2344
#29 0x40129a95 in gtk_main_do_event (event=0x8803760)
at gtkmain.c:1582
#30 0x40323825 in gdk_event_dispatch (source=0x0,
callback=0, user_data=0x0)
at gdkevents-x11.c:2152
#31 0x4042e1a5 in g_main_dispatch (context=0x82b2b00)
at gmain.c:1942
#32 0x4042f2f8 in g_main_context_dispatch
(context=0x82b2b00) at gmain.c:2492
#33 0x4042f62c in g_main_context_iterate
(context=0x82b2b00, block=1,
dispatch=1, self=0x82b6458) at gmain.c:2573
#34 0x4042fce1 in g_main_loop_run (loop=0x88050a0) at
gmain.c:2777
#35 0x40129363 in gtk_main () at gtkmain.c:1172
#36 0x08124882 in sp_main_gui(int, char const**)
(argc=1, argv=0xbffffc74)
at main.cpp:326
#37 0x0812474f in main (argc=1, argv=0xbffffc74) at
main.cpp:218
#38 0x40781522 in __libc_start_main (main=0x81245f0
<main>, argc=1,
ubp_av=0xbffffc74, init=0x807c1f8 <_init>,
fini=0x4001564c <_dl_debug_mask>, rtld_fini=0x6,
stack_end=0x405b0bc4)
at ../sysdeps/generic/libc-start.c:129
----------------------------------------------------------------------
>Comment By: Kees Cook (nemies)
Date: 2004-11-13 16:26
Message:
Logged In: YES
user_id=26678
Seems that this is win98 specific. Win2k and XP don't show it.
----------------------------------------------------------------------
Comment By: Kees Cook (nemies)
Date: 2004-11-04 00:31
Message:
Logged In: YES
user_id=26678
Bulia, what are the specific actions you take? I can't make
this happen on win2k.
----------------------------------------------------------------------
Comment By: bulia byak (buliabyak)
Date: 2004-10-29 01:48
Message:
Logged In: YES
user_id=741217
Tested the 27 Oct build on win98. Still crashes. Not on each
release, but maybe 10th drag (on average) of a shape handle
gives this error (doc==NULL in document_done).
----------------------------------------------------------------------
Comment By: Kees Cook (nemies)
Date: 2004-10-27 21:55
Message:
Logged In: YES
user_id=26678
How does SPDocument go from NULL in sp_document_done's call
to 0x408826b8 in sp_document_maybe_done?
#6 0x08091c1d in sp_document_maybe_done(_SPDocument*,
char const*) (
doc=0x408826b8, key=0x0) at document-undo.cpp:97
#7 0x080919d9 in sp_document_done(_SPDocument*) (doc=0x0)
at document-undo.cpp:64
----------------------------------------------------------------------
Comment By: Kees Cook (nemies)
Date: 2004-10-27 21:48
Message:
Logged In: YES
user_id=26678
Does this only happen on win98? I can't make this happen
under win2k with today's CVS.
----------------------------------------------------------------------
Comment By: bulia byak (buliabyak)
Date: 2004-09-14 14:15
Message:
Logged In: YES
user_id=741217
Latest Windows build as of today crashes in exactly the same
place (sp_document_maybe_done, assertion failed:
(SP_IS_DOCUMENT (doc)) in the same situation (release after
dragging a shape handle) on Windows 98. The call is from
knot_ungrabbed_handler, which seems to pass NULL or a bogus
value for document argument sometimes. Mysteriously, this
never happens on Linux.
----------------------------------------------------------------------
Comment By: blaster999 (blaster999)
Date: 2004-07-16 09:57
Message:
Logged In: YES
user_id=1080146
I have installed inkscape 0.39 and it doesn't crash anymore.
----------------------------------------------------------------------
Comment By: blaster999 (blaster999)
Date: 2004-07-09 02:09
Message:
Logged In: YES
user_id=1080146
I've experienced this too. When I drag anything in
horizontal direction, Inkscape 0.38 crashes and writes
something like this to the console:
** (inkscape:25085): WARNING **: SPIcon: icon allocated less
than requested size
** (inkscape:25085): CRITICAL **: nr_vertex_new_xy: BUG:
Coordinates are not finite
** (inkscape:25085): CRITICAL **: nr_vertex_new_xy: BUG:
Coordinates are not finite
** (inkscape:25085): CRITICAL **: nr_vertex_new_xy: BUG:
Coordinates are not finite
** (inkscape:25085): CRITICAL **: nr_vertex_new_xy: BUG:
Coordinates are not finite
** (inkscape:25085): CRITICAL **: nr_vertex_new_xy: BUG:
Coordinates are not finite
** (inkscape:25085): CRITICAL **: nr_vertex_new_xy: BUG:
Coordinates are not finite
** (inkscape:25085): CRITICAL **: nr_vertex_new_xy: BUG:
Coordinates are not finite
Segmentation fault
System:
Gentoo Linux
kernel 2.6.6-love4
gcc 3.3.3
glibc 2.3.3.20040420
binutils 2.14.90.0.7-r4
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2004-07-01 00:23
Message:
Logged In: NO
happens in windows too (precompiled version)... happens with
any operation with nodes if the mouse is taken out of the
window (when dragging)
----------------------------------------------------------------------
Comment By: bulia byak (buliabyak)
Date: 2004-06-20 19:48
Message:
Logged In: YES
user_id=741217
Does it crash at once on first drag, or does it happen from
time to time? What about node editing of a path - does it
crash too?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2004-06-13 23:30
Message:
Logged In: NO
Did you mean to add a comment?
----------------------------------------------------------------------
Comment By: Bryce Harrington (bryce)
Date: 2004-06-13 23:14
Message:
Logged In: YES
user_id=4782
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2004-06-13 22:47
Message:
Logged In: NO
Is there anything else you'd like me to try?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2004-06-13 01:35
Message:
Logged In: NO
This used to happen with gcc 2.95. But this one is compiled
with 3.2.3, so I have no idea of what it might be.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=604306&aid=971994&group_id=93438
|