GNOME Bugzilla – Bug 149392
crash on file Save As
Last modified: 2004-12-22 21:47:04 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
+ Trace 49117
Thread 1 (Thread 1088165952 (LWP 19207))
------- 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.
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.
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.
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
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.
Created attachment 30264 [details] [review] Test patch This should test if the diagram passed in is ok.
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.
I think I got it, it occurred also when doing two save as after each other, and has been patched in todays CVS.