GNOME Bugzilla – Bug 412688
gcalctool crashed with SIGSEGV in strlen()
Last modified: 2007-02-27 20:53:11 UTC
That bug has been opened on https://launchpad.net/bugs/88294 "Binary package hint: gcalctool Tried to paste data from a closed application (Firefox). ... Package: gcalctool 5.9.12-0ubuntu1 ... " Debug backtrace for the crash:
+ Trace 114349
Confirmed. I've just reproduced this. I'll add in some bullet proofing to the get_proc() routine to try to prevent this from happening..
Created attachment 83489 [details] [review] Patch to hopefully fix the problem. The get_proc() routine will now check for an empty buffer and if found, just return.
Committed to SVN trunk/HEAD (revision 1535). It'll hopefully make it into the next gcalctool tarball in time for GNOME 2.18.0 (final).