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 149392 - crash on file Save As
crash on file Save As
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2004-08-05 13:10 UTC by Peter 'grin' Gervai
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test patch (709 bytes, patch)
2004-08-06 07:28 UTC, Lars Clausen
none Details | Review
The diagram and strace output (88.00 KB, application/octet-stream)
2004-08-06 08:44 UTC, Bas van Gils
  Details

Description Peter 'grin' Gervai 2004-08-05 13:11:09 UTC
Distribution: Debian 3.1
Package: dia
Severity: normal
Version:  unspecified
Synopsis: crash on file Save As
Bugzilla-Product: dia
Bugzilla-Component: general
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.7.1)
Description:
Description of the crash:
I believe I was about to save the workfile to a new name when a core
popped.

Steps to reproduce the crash (probably not, but that's what I've done):
1. work on a file, autosave and save regularly happens.
2. File->save as
3. crash

Expected Results:
Not crash. :)

How often does this happen?
Well I haven't touched dia for the last year, so that's the first one.
If it crashes again the same
I'll report it to this bug.

Additional Information:
Debian sid: dia-gnome   0.94-pre3-1 
but BugBuddy seems not being aware of pre3. 



Debugging Information:

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

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...[Thread debugging using libthread_db enabled]
[New Thread 1088165952 (LWP 19207)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...0x40b1140e in __waitpid_nocancel
() from /lib/tls/libpthread.so.0

Thread 1 (Thread 1088165952 (LWP 19207))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 diagram_remove_related_dialog
  • #4 file_save_as_callback
  • #5 gtk_item_factory_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #6 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #11 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 _gtk_menu_shell_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 gtk_menu_reorder_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #21 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #25 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #26 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #27 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #28 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #29 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 main
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-08-05 09:11 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "dia".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Bas van Gils 2004-08-05 14:33:11 UTC
I have exactly the same problem. At first I thought it was something that was
wrong on one of my boxes so I recompiled dia there but the problem persisted no
matter what I did. I tried it on my other machine (laptop) too and I had the
same problem there. Every time I hit 'save as' dia crashes immediately with a
SEGV. I have an strace-log if anyone is interested.

Anyway, I like dia a lot and use it a lot so I hope it will be resolved soon.

Thanks in advance for the help.
Comment 2 Lars Clausen 2004-08-05 18:41:32 UTC
I believe this bug was fixed in 0.94-pre5, which came out last weekend.  We had
an initialization error for export filters, and saving is essentially one such.
 Please check it if you can.

BTW, I must say that the Debian people are quick at getting new releases in
there.  Though I'm not sure that a prerelease really belongs in a distro.
Comment 3 Bas van Gils 2004-08-06 06:07:20 UTC
I just tried installing 0.94-pre5 which gives the same problem. Yesterday I
forgot to mention that I'm not running Debian, but SourceMage GNU/Linux. I try
to run `unstable' software also so I can help find bugs ;-)

Anyway, pitty 0.94-pre5 doesn't fix it.

  Bas
Comment 4 Lars Clausen 2004-08-06 07:27:46 UTC
Could you try the attached patch?  I can't reproduce it.  I doubt the strace
gives any hints, but I'd still like to see it.
Comment 5 Lars Clausen 2004-08-06 07:28:35 UTC
Created attachment 30264 [details] [review]
Test patch

This should test if the diagram passed in is ok.
Comment 6 Bas van Gils 2004-08-06 08:44:03 UTC
Created attachment 30265 [details]
The diagram and strace output 

I added the mentioned patch and compiled dia again. Then I:

- fire up dia
- draw a square
- hit 'save'
- move the square
- hit 'save as'

at that point dia crashed. I attached the diagram and the strace output.
Comment 7 Lars Clausen 2004-08-06 20:54:46 UTC
I think I got it, it occurred also when doing two save as after each other, and
has been patched in todays CVS.