GNOME Bugzilla – Bug 393817
Add Report Button crashes Gnucash (Mac OSX)
Last modified: 2018-06-29 21:21:41 UTC
Steps to reproduce: 1. Open a report 2. Customize it (using a new name) 3. Click Add Report button Stack trace: Other information: Report gets added, but GnuCash crashes out. Mac OS X (Intel)
I think this has been fixed in 2.0.2 or later. Can you please update and check again?
Updated to 2.0.4. Still happens. saved-reports-2.0 gets report info, GnuCash disappears.
Oh, thanks for the info. We haven't been able to reproduce this crash ourselves so far, so we'd like to ask for some more information: * If you start gnucash from a command line, does it show any messages on the command line when it crashes? * Can you attach the content of the file /tmp/gnucash.trace here? ("add attachment" below) * Can you try to get a stack trace http://wiki.gnucash.org/wiki/Stack_Trace and attach it here? Thanks a lot.
Created attachment 79904 [details] gnucash.trace
Answers: 1) No command line messages on crash 2) Attached my gnucash.trace (79904) 3) I followed the Wiki. The text is included below (note the No Stack error at the end): macbook:~ david$ gdb GNU gdb 6.1-20040303 (Apple version gdb-437) (Fri Jan 13 18:45:48 GMT 2006) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-apple-darwin". (gdb) attach 17115 Attaching to process 17115. Reading symbols for shared libraries . done Reading symbols for shared libraries ........................................... ................................................................................ ................................................... done 0x90019d3c in select () (gdb) continue Continuing. Reading symbols for shared libraries . done Reading symbols for shared libraries . done Program exited with code 02. You can't do that when your target is `None' You can't do that when your target is `None' (gdb) backtrace No stack.
Errr... thanks for the info. Unfortunately, in none of the places any actual information about the crash is shown: no scheme backtrace on the console, no C backtrace in gdb, no crash information in gnucash.trace. The last resort would be to manually add scheme debugging output to the function in question, but that has to be done probably by a scheme/lisp expert who has access to a Mac OSX machine. For the record: The function in question is in src/report/report-system/report.scm gnc:report-save-to-savefile; maybe the (force-output) is a problem for the Mac. I'd think I'd add a (display "here") before and after the (force-output) function call...
still a problem with the most recent 2.2.x version?
*** This bug has been marked as a duplicate of 543063 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=393817. Please update any external references or bookmarks.