After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 414708 - crash in Dia Diagram Editor: drawing a circle from th...
crash in Dia Diagram Editor: drawing a circle from th...
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
unspecified
Other All
: High blocker
: ---
Assigned To: Dia maintainers
Dia maintainers
: 414825 418166 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-03-04 21:34 UTC by jddcef
Modified: 2007-03-15 21:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description jddcef 2007-03-04 21:34:53 UTC
Version: @VERSION@

What were you doing when the application crashed?
drawing a circle from the flowchart. Holding shift in.


Distribution: Mandriva Linux release 2007.0 (Official) for i586
Gnome Release: 2.16.0 2006-09-04 (Mandriva)
BugBuddy Version: 2.16.0

Memory status: size: 68042752 vsize: 0 resident: 68042752 share: 0 rss: 39190528 rss_rlim: 0
CPU usage: start_time: 1173046733 rtime: 0 utime: 620 stime: 0 cutime:524 cstime: 0 timeout: 96 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/dia'

(no debugging symbols found)
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(no debugging symbols found)
`shared object read from target memory' has disappeared; keeping its symbols.
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1227041088 (LWP 28146)]
(no debugging symbols found)
0xbfffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1227041088 (LWP 28146))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/i686/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 ddisplay_add_update_pixels
  • #5 diagram_add_update_pixels
  • #6 connectionpoint_add_update
  • #7 object_add_updates
  • #8 textedit_activate_object
  • #9 create_create_object_tool
  • #10 ddisplay_canvas_events
  • #11 gtk_marshal_BOOLEAN__VOID
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_override_class_closure
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #16 gtk_widget_get_default_style
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 gdk_add_client_message_filter
    from /usr/lib/libgdk-x11-2.0.so.0
  • #20 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #21 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #22 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #23 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 main

Comment 1 Lars Clausen 2007-03-05 06:29:47 UTC
I cannot reproduce it in 0.96-pre5.  What version of Dia are you using?  Does it happen consistently?
Comment 2 jddcef 2007-03-05 13:13:36 UTC
Hi, Sorry about the poor description. I didn't think the bug report would actually go so far, onto this site :)

I just tested it again, and I can reproduce it.

1) New empty diagram. (it doesn't have to be empty)
2) Select flowchart from dropdown in left float bar.
3) Select a circle connecter (or any shape in fact)
4) Draw a circle while holding left SHIFT in. (But don't UNSELECT in the drawing area the circle) (This also crashes if you don't hold shift in this step)
5) Undo. (Ctrl-Z with the drawing window in focus)
6) Select another shape and draw holding SHIFT in. It will crash now. (holding shift in seems to be important here)

It doesn't happen if you unselect the shape before UNDO'ing. (Seems to be when you UNDO, but an item is still selected)
Seems to only happen with flowchart? (Haven't tested many others though)


OK, now with this information it can be fixed :)


Sincerely,

David
http://www.defza.com
Comment 3 jddcef 2007-03-05 13:18:46 UTC
*** Bug 414825 has been marked as a duplicate of this bug. ***
Comment 4 Lars Clausen 2007-03-06 21:03:47 UTC
Thank you for the precise description.  Now I have it reproduced under Linux in 0.96-pre6.  Seems to happen with a variety of objects, not just from Flowchart - Misc/File also does this.  I suspect that the focus object points at the object that has disappeaed in undo.
Comment 5 Lars Clausen 2007-03-11 08:14:27 UTC
...and I was right.  It is fixed as of todays SVN and the upcoming pre7. 
Comment 6 Lars Clausen 2007-03-15 21:41:25 UTC
*** Bug 418166 has been marked as a duplicate of this bug. ***