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 340145 - Dia crashs when ungrouping some groups
Dia crashs when ungrouping some groups
Status: RESOLVED DUPLICATE of bug 334771
Product: dia
Classification: Other
Component: general
0.94
Other All
: Normal critical
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-29 20:18 UTC by Arthur Peters
Modified: 2006-05-13 21:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A file that causes the crash (1.44 KB, application/x-dia-diagram)
2006-04-29 20:20 UTC, Arthur Peters
Details

Description Arthur Peters 2006-04-29 20:18:46 UTC
Steps to reproduce:
Dia crashs hard when you try to ungroup some groups. Other groups can be
ungrouped without trouble. It is completely repeatable.

The problem seems to be related to lines (Zigzag lines in this case)
that are attached to the handles of members of the group. I think it
only happens if the line is attached after group is grouped.

Steps to reproduce the crash:
1. Open the attached file
2. Attempt to ungroup the "Video Mixer" group.

If you delete the "Monitor" and line. The problem will go away.


Stack trace:
Backtrace was generated from '/usr/bin/dia'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224632640 (LWP 24161)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1224632640 (LWP 24161))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 820
  • #3 <signal handler called>
  • #4 diagram_ungroup_selected
  • #5 gtk_item_factory_callback_marshal
    at gtkitemfactory.c line 236
  • #6 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #7 IA__g_closure_invoke
    at gclosure.c line 490
  • #8 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #9 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #10 IA__g_signal_emit
    at gsignal.c line 2241
  • #11 IA__gtk_widget_activate
    at gtkwidget.c line 3782
  • #12 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1057
  • #13 gtk_menu_shell_button_release
    at gtkmenushell.c line 663
  • #14 gtk_menu_button_release
    at gtkmenu.c line 2571
  • #15 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #16 g_type_class_meta_marshal
    at gclosure.c line 567
  • #17 IA__g_closure_invoke
    at gclosure.c line 490
  • #18 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #19 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #20 IA__g_signal_emit
    at gsignal.c line 2241
  • #21 gtk_widget_event_internal
    at gtkwidget.c line 3751
  • #22 IA__gtk_propagate_event
    at gtkmain.c line 2218
  • #23 IA__gtk_main_do_event
    at gtkmain.c line 1447
  • #24 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #25 IA__g_main_context_dispatch
    at gmain.c line 1916
  • #26 g_main_context_iterate
    at gmain.c line 2547
  • #27 IA__g_main_loop_run
    at gmain.c line 2751
  • #28 IA__gtk_main
    at gtkmain.c line 1026
  • #29 main
  • #0 __kernel_vsyscall




Other information:
Comment 1 Arthur Peters 2006-04-29 20:20:04 UTC
Created attachment 64537 [details]
A file that causes the crash
Comment 2 Victor STINNER 2006-05-02 09:06:35 UTC
I posted a patch in bug #334771. This bug report is a duplicate of bug #334771.
Comment 3 Matthew R. Mattson 2006-05-08 06:45:05 UTC
I also had the program crash when I tried to ungrouped a pasted version of a group. This happened twice, the second time after I reloaded the file. After that, I ungrouped, copied, pasted, and then regrouped. I kept working and then decided to post what happened. I just tried to recreate the problem but cannot. I posted anyway in case it helps provide a clue to the problem. If it doesn't, I apologize for your time. Otherwise, great job on the program, I use it a lot and love it!
Comment 4 Hans Breuer 2006-05-13 21:10:32 UTC

*** This bug has been marked as a duplicate of 334771 ***