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 452984 - crash in Dia Diagram Editor: trying to save a diagram...
crash in Dia Diagram Editor: trying to save a diagram...
Status: RESOLVED OBSOLETE
Product: dia
Classification: Other
Component: general
unspecified
Other All
: High critical
: 0.97
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-02 03:52 UTC by thanate
Modified: 2007-09-16 19:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description thanate 2007-07-02 03:52:54 UTC
Version: @0.96.1@

What were you doing when the application crashed?
trying to save a diagram.


Distribution: Debian lenny/sid
Gnome Release: 2.19.4 2007-06-30 (GARNOME)
BugBuddy Version: 2.18.1

System: Linux 2.6.21.5 #1 Thu Jun 28 00:07:28 MST 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Enabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 60063744 vsize: 60063744 resident: 45293568 share: 16953344 rss: 45293568 rss_rlim: 4294967295
CPU usage: start_time: 1183348303 rtime: 400 utime: 359 stime: 41 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/home/boat/garnome/bin/dia'

Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1227512128 (LWP 8167)]
0xb7f30410 in __kernel_vsyscall ()

Thread 1 (Thread -1227512128 (LWP 8167))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/i686/cmov/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 865
  • #3 <signal handler called>
  • #4 IA__g_logv
    at gmessages.c line 502
  • #5 IA__g_log
    at gmessages.c line 517
  • #6 IA__g_return_if_fail_warning
    at gmessages.c line 532
  • #7 menus_clear_recent
    at menus.c line 750
  • #8 recent_file_history_add
    at recent_files.c line 56
  • #9 diagram_update_for_filename
    at diagram.c line 1382
  • #10 file_save_as_response_callback
    at filedlg.c line 343
  • #11 IA__g_cclosure_marshal_VOID__INT
    at gmarshal.c line 216
  • #12 IA__g_closure_invoke
    at gclosure.c line 490
  • #13 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #14 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #15 IA__g_signal_emit
    at gsignal.c line 2243
  • #16 IA__gtk_dialog_response
    at gtkdialog.c line 876
  • #17 action_widget_activated
    at gtkdialog.c line 575
  • #18 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #19 IA__g_closure_invoke
    at gclosure.c line 490
  • #20 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #21 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #22 IA__g_signal_emit
    at gsignal.c line 2243
  • #23 IA__gtk_button_clicked
    at gtkbutton.c line 889
  • #24 gtk_button_finish_activate
    at gtkbutton.c line 1553
  • #25 button_activate_timeout
    at gtkbutton.c line 1493
  • #26 gdk_threads_dispatch
    at gdk.c line 470
  • #27 g_timeout_dispatch
    at gmain.c line 3488
  • #28 IA__g_main_context_dispatch
    at gmain.c line 2061
  • #29 g_main_context_iterate
    at gmain.c line 2694
  • #30 IA__g_main_loop_run
    at gmain.c line 2898
  • #31 IA__gtk_main
    at gtkmain.c line 1144
  • #32 main
    at main.c line 40
  • #0 __kernel_vsyscall


----------- .xsession-errors ---------------------
** (process:1976): WARNING **: Credentials byte was not nul
opening pop3 INBOX folder
get dthanate@gmail.com pop://dthanate%40gmail.com@pop.gmail.com/
Find Items 0
GTK Accessibility Module initialized
Bonobo accessibility support initialized
** CRITICAL **: menus_clear_recent: assertion `recent_merge_ids' failed
aborting...
GTK Accessibility Module initialized
Bonobo accessibility support initialized
GTK Accessibility Module initialized
Bonobo accessibility support initialized
Cannot access memory at address 0x1
Cannot access memory at address 0x1
--------------------------------------------------
Comment 1 Lars Clausen 2007-08-09 14:15:52 UTC
It was at the moment of crash in the middle of the "recent_merge_ids" assert in menus.c.  It should just have returned nicely, though.  Asking the author of the new menu code in bug #340352.  Cannot reproduce by the description.
Comment 2 thanate 2007-08-09 22:22:20 UTC
well.. in the function

void
menus_clear_recent (void);

if I change the line

>> g_return_if_fail (recent_merge_ids);

to

>> if (!recent_merge_ids) return;

the problem disappears. 
This may be a problem in my glib installation though. :-/
Comment 3 Hans Breuer 2007-09-16 19:01:18 UTC
There is no g_return_if_fail (recent_merge_ids); anymore.
BTW: if you are using --g-fatal-warnings (or some some distributor does) it is normal that a g_warning leads to:

** CRITICAL **: menus_clear_recent: assertion `recent_merge_ids' failed
aborting...

I would not consider this a crash, though.