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 424862 - crash in Dia Diagram Editor: I was trying to open the...
crash in Dia Diagram Editor: I was trying to open the...
Status: RESOLVED DUPLICATE of bug 490546
Product: dia
Classification: Other
Component: general
unspecified
Other All
: High critical
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-31 13:53 UTC by Jonathan.Hooverman
Modified: 2007-11-04 14:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Jonathan.Hooverman 2007-03-31 13:53:34 UTC
Version: @0.96.1@

What were you doing when the application crashed?
I was trying to open the file /opt/gnome/share/dia/shapes/Cisco/1000.shape


Distribution: SuSE Linux 9.3 (i586)
Gnome Release: 2.18.0 2007-03-17 (SUSE)
BugBuddy Version: 2.18.0

System: Linux 2.6.11.4-21.14-mykernel #4 Sun Oct 15 13:54:29 GMT-2 2006 i686
X Vendor: The X.Org Foundation
X Vendor Release: 60802000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: ximian-south

Memory status: size: 53403648 vsize: 53403648 resident: 41578496 share: 14450688 rss: 41578496 rss_rlim: 4294967295
CPU usage: start_time: 1175349052 rtime: 776 utime: 710 stime: 66 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/opt/gnome/bin/dia'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1090558208 (LWP 26809)]
0x40b20dce in __waitpid_nocancel () from /lib/tls/libpthread.so.0
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_segv_handle
    at gnome-ui-init.c line 872
  • #2 <signal handler called>
  • #3 raise
    from /lib/tls/libc.so.6
  • #4 abort
    from /lib/tls/libc.so.6
  • #5 __assert_fail
    from /lib/tls/libc.so.6
  • #6 diagram_finalize
    at diagram.c line 113
  • #7 IA__g_object_unref
    at gobject.c line 1788
  • #8 diagram_load
    at diagram.c line 326
  • #9 file_open_response_callback
    at filedlg.c line 68
  • #10 IA__g_cclosure_marshal_VOID__INT
    at gmarshal.c line 216
  • #11 IA__g_closure_invoke
    at gclosure.c line 490
  • #12 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #13 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #14 IA__g_signal_emit
    at gsignal.c line 2243
  • #15 IA__gtk_dialog_response
    at gtkdialog.c line 835
  • #16 action_widget_activated
    at gtkdialog.c line 534
  • #17 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #18 IA__g_closure_invoke
    at gclosure.c line 490
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #20 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #21 IA__g_signal_emit
    at gsignal.c line 2243
  • #22 IA__gtk_button_clicked
    at gtkbutton.c line 889
  • #23 gtk_real_button_released
    at gtkbutton.c line 1484
  • #24 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #25 g_type_class_meta_marshal
    at gclosure.c line 567
  • #26 IA__g_closure_invoke
    at gclosure.c line 490
  • #27 signal_emit_unlocked_R
    at gsignal.c line 2370
  • #28 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #29 IA__g_signal_emit
    at gsignal.c line 2243
  • #30 IA__gtk_button_released
    at gtkbutton.c line 881
  • #31 gtk_button_button_release
    at gtkbutton.c line 1377
  • #32 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #33 g_type_class_meta_marshal
    at gclosure.c line 567
  • #34 IA__g_closure_invoke
    at gclosure.c line 490
  • #35 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #36 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #37 IA__g_signal_emit
    at gsignal.c line 2243
  • #38 gtk_widget_event_internal
    at gtkwidget.c line 3915
  • #39 IA__gtk_propagate_event
    at gtkmain.c line 2341
  • #40 IA__gtk_main_do_event
    at gtkmain.c line 1575
  • #41 gdk_event_dispatch
    at gdkevents-x11.c line 2318
  • #42 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #43 g_main_context_iterate
    at gmain.c line 2677
  • #44 IA__g_main_loop_run
    at gmain.c line 2881
  • #45 IA__gtk_main
    at gtkmain.c line 1154
  • #46 main
    at main.c line 40

Thread 1 (Thread 1090558208 (LWP 26809)):
#-1 0x40b20dce in __waitpid_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#-1 0x40b20dce in __waitpid_nocancel () from /lib/tls/libpthread.so.0


----------- .xsession-errors (58 sec old) ---------------------
xscreensaver: 14:48:15: 0: unrecognised ClientMessage "_NET_ACTIVE_WINDOW" received
xscreensaver: 14:48:15: 0: for window 0x2800003 (medit / medit)
Vielen Dank, dass Sie Dia einsetzen.
xscreensaver: 15:03:58: 0: unrecognised ClientMessage "_NET_WM_STATE" received
xscreensaver: 15:03:58: 0: for window 0x1c09419 (Gecko / Firefox-bin)
Vielen Dank, dass Sie Dia einsetzen.
(gnome-terminal:26578): Gdk-CRITICAL **: gdk_pixmap_foreign_new_for_display: assertion `(anid != 0)' failed
sys:1: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Vielen Dank, dass Sie Dia einsetzen.
xscreensaver: 15:40:07: PAM: brk grew by 4K.
(gnome-terminal:26797): Gdk-CRITICAL **: gdk_pixmap_foreign_new_for_display: assertion `(anid != 0)' failed
sys:1: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Vielen Dank, dass Sie Dia einsetzen.
--------------------------------------------------
Comment 1 Lars Clausen 2007-04-14 15:03:48 UTC
When I try to start Dia with it or open it from the toolbox, I get an error that it's not a Dia file.  But if I try to open from the diagram, it crashes.

Comment 2 Hans Breuer 2007-09-08 21:47:40 UTC
Can't reproduce a crash, not even the g_warnings(). It would be useful to have a stack trace of the issue from Dia started with 'dia --g-fatal-warnings' when you can reproduce. 
Comment 3 Jonathan.Hooverman 2007-09-09 18:45:51 UTC
'--g-fatal-warnings' is an unknown option, I guess I will have to recompile dia with '--enable-debug=yes'.

When I start dia with --verbose, I get this message:
Cahirsiveen:/opt/gnome/bin # ./dia --verbose
dia: diagram.c:107: diagram_finalize: Zusicherung »dia->displays==((void *)0)« nicht erfüllt.

Zusicherung = confirmation/ warranty
nicht erfüllt = not true/ not fulfilled

Does this help?

Regards,

Stefan
Comment 4 Hans Breuer 2007-11-04 14:04:51 UTC
Looking once more a stack trace this seems to be the same as:

2007-10-27  Hans Breuer  <hans@breuer.org>

	* app/diagram.c(diagram_load) : don't kill the default diagram on 
	import failure. Fixes bug #490546



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