Gnucash 2.7 Crash on MacOSX HighSierra

Arnd Hostert arnd.hostert at t-online.de
Sun Oct 22 10:13:04 EDT 2017


Ok Guys, I have had a bit of time to do some testing on my MacBook Pro 5,2.
First I must say that HighSierra is not officially supported on this machine but so far all Programs that I have tested run without any Problems on the machine, including GnuCash 2.6.18.
In fact, GC2.7 also runs as you will see.

I have not included the crash reports but they are available if you want them.

I started GC2.7 and first of all it crashed immediately on start probably because it was trying to open one of my Accounts Files.

Startup => Crash 1

Restart
GnuCash could not obtain a lock on…. Dialog

Create New File (1st New File)

Normal Start with New Book Options Druid
Complete Druid and save File, xml Format
Restart => OK

Transaction and Scheduled Transaction tested / set up => OK

FileMenu -> Save
FileMenu -> Quit
Restart GC => OK

Actions Menu -> Scheduled Transactions -> Since Last run => OK
File Menu -> Save
Menu -> Quit
Restart => OK

File Menu -> Save as -> New Filename (2nd New File), xml format
File Menu -> Quit
Restart =>OK

File Menu -> Open -> 1st New File
Save changes to this file dialog -> Save => OK

Select 2nd new file from Recents List without specifically saving opened file via File Menu -> Save changes to the file Dialog -> Yes => OK

Insert new Tx again
File Menu -> Save
Select 1st new file from Recents List without saving the currently opened file via File Menu -> Save changes to the file Dialog -> Save => OK
File Menu -> Quit -> Save Dialog -> Save

Restart => OK
GC loads 1st new File.

Recents List -> 2nd New File -> save changes dialog-> Save => OK
Recents List -> 1st New File -> Save changes dialog-> Continue without saving =>OK
File -> Quit -> Close without Saving

Restart => OK (loads 1st new file, Checking Account Tab open)
File -> Save -> Quit => OK

RENAME 1st new file in Finder

Restart

“The File could not be found. Remove it from History” Dialog -> Yes => CRASH 2

Restart =>  OK GC Loads 2nd new File
File Menu -> Quit -> Dialog Save Changes? -> Save
Restart => OK (GC Shows 2nd new file)

File Menu -> Open -> Renamed 1st File -> Save Changes? -> Save => OK (opens 1st New File in all collapsed Account view. Checking Account Tab not open)
RecentsList -> 2nd New file -> Save changes Dialog -> Save => OK (Checking account Tab open)
RecentsList -> 1st New file -> Save? -> Save => OK (Checking Accounts Tab open)

File Menu -> Save
FileMenu ->  Open… Old Accounts File -> Save Changes Dialog -> Save => CRASH 3

Restart

File Menu -> Open -> Old Accounts File
(Old Accounts file .lck and .lnk Files still present)
Save Changes Dialog -> Save => Could not obtain lock Dialog -> Open Anyway => CRASH 4


Restart => OK (1st New File)
File Menu -> Open….Old Accounts File -> Save Changes Dialog -> Save => Could not obtain lock (Empty *Unsaved Book - GnuCash Window in Background) -> Open Read Only => CRASH 5

Rename Old Accounts File to 2nd new Accounts file after having backed up 2nd New File in Finder
Restart
GC Opens with 1st new file (checking Account Tab open)
RecentsList -> 2nd new file (ie the Old Accounts file with a new name) -> Save Dialog -> Save => Crash 6

Restart
Opens with 1st new accounts file => OK
File Menu -> Open -> Backed up 2nd new accounts file ->  Save Changes Dialog -> Save => OK (With all accounts collapsed)
RecentsList ->1st new accounts file -> Save Changes Dialog -> Save => OK (Tabs open)
File Menu -> Quit -> Save Changes Dialog -> Save

Restart
File Menu -> Open -> 1st New File => OK
(Recents list: 1) 1st New File 2) 2nd New File)

File Menu -> Open -> 2nd new file => OK
(Recents List 1) 2nd New file 2) 1st new file)

File Menu -> Open 1st new file => OK
(Recents List: 1) 1st new file 2) 2nd new file)

Quit

In Finder: 1st new File -> Right Click - Open with… => First New file opens
(RecentsList: 1) 1st new File 2) 2nd New file)

Quit

In Finder: 2nd new file -> Right Click -> Open with… => 1st new file opens
(Recents list: 1)1st new file 2) 2nd new file)

File Menu -> Open 2nd new file => OK
(Recents List 1) 2nd new file 2) 1st new file)

Quit

In Finder: 1st new file —> Right Click -> Open with… => 2nd new file opens
(Recents List: 1) 2nd new file 2) 1st new file)

Quit

In Finder: OldFile -> Right Click -> Open with… => 2nd new file opens

Quit


Cheers

Arnd


> On 22. Oct 2017, at 11:41, Robert Fewell <14ubobit at gmail.com> wrote:
> 
> This may be related or not but if I load my normal xml file and then do a file save as to a new xml file, close and open that one all is OK but now do a file save as to sqlite3, the save seems to be OK but if you do a close and open it crashes, looking to see where it is crashing...
> 
> Bob 
> 
> On 22 October 2017 at 10:11, Robert Fewell <14ubobit at gmail.com <mailto:14ubobit at gmail.com>> wrote:
> I can not reproduce on my Gentoo Linux VM or a native Windows10, no access to Mac, asked for for information on bug report.
> 
> Bob  
> 
> On 21 October 2017 at 17:15, John Ralls <jralls at ceridwen.us <mailto:jralls at ceridwen.us>> wrote:
> 
> Arnd, Carsten Rinke just reported this at https://bugzilla.gnome.org/show_bug.cgi?id=789298 <https://bugzilla.gnome.org/show_bug.cgi?id=789298>. Could you add your observations and the results of any further experiments there?
> 
> Bob Fewell, could you take a look at this?
> 
> Regards,
> John Ralls
> 
>> On Oct 21, 2017, at 7:28 AM, Arnd Hostert <arnd.hostert at t-online.de <mailto:arnd.hostert at t-online.de>> wrote:
>> 
>> Hello John. 
>> I have included the developer list now as well. 
>> 
>> The crash occurred on start up. The program was looking for my data which I had moved but then asked me whether I wanted to delete the first file from the recents list. I selected yes and it crashed. It also crashed when I chose no for the next file after I restarted the program. 
>> After it went trough all the recent list (crashing every time) it started and then I tried to open my account set up and it also crashed. 
>> 
>> This was on my iMac. I will test it also on my MacBook when I get back to France but that I will probably be only be doing tomorrow after I finish work. 
>> 
>> I will also test it with a brand new setup of accounts (empty). 
>> 
>> 
>> Cheers 
>> 
>> Arnd
>> 
>> 
>> On 21. Oct 2017, at 16:09, John Ralls <jralls at ceridwen.us <mailto:jralls at ceridwen.us>> wrote:
>> 
>>> Arnd,
>>> 
>>> Thanks for  the report but please don’t email me directly again unless I ask you to (for example to get a file that might contain sensitive information). All communication with the GnuCash team should be via the mailing lists, IRC, or bug reports, and for crashes bug reports are by far preferred.
>>> 
>>> It looks like this crash was during normal shutdown. Is that correct?
>>> 
>>> Regards,
>>> John Ralls
>>> 
>>>> On Oct 21, 2017, at 2:44 AM, Arnd Hostert <arnd.hostert at t-online.de <mailto:arnd.hostert at t-online.de>> wrote:
>>>> 
>>>> Hello John,
>>>> 
>>>> GnuCash 2.7 appears to crash on my system.
>>>> Rather than sending something to the lists I send it straight to you. Here is the Report.
>>>> 
>>>> Kind regards
>>>> 
>>>> Arnd
>>>> 
>>>> 
>>>> Process:               Gnucash-bin [21798]
>>>> Path:                  /Applications/Gnucash 2.7.app/Contents/MacOS/Gnucash-bin
>>>> Identifier:            org.gnucash.Gnucash
>>>> Version:               2.7.0 (2.7.0)
>>>> Code Type:             X86-64 (Native)
>>>> Parent Process:        ??? [1]
>>>> Responsible:           Gnucash-bin [21798]
>>>> User ID:               501
>>>> 
>>>> Date/Time:             2017-10-21 11:41:39.634 +0200
>>>> OS Version:            Mac OS X 10.13 (17A405)
>>>> Report Version:        12
>>>> Anonymous UUID:        8EAD55BE-C080-14DB-546B-A793ED83932C
>>>> 
>>>> 
>>>> Time Awake Since Boot: 220000 seconds
>>>> 
>>>> System Integrity Protection: enabled
>>>> 
>>>> Crashed Thread:        0  Dispatch queue: com.apple.main-thread
>>>> 
>>>> Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
>>>> Exception Codes:       EXC_I386_GPFLT
>>>> Exception Note:        EXC_CORPSE_NOTIFY
>>>> 
>>>> Termination Signal:    Segmentation fault: 11
>>>> Termination Reason:    Namespace SIGNAL, Code 0xb
>>>> Terminating Process:   exc handler [0]
>>>> 
>>>> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
>>>> 0   libgncmod-engine.dylib        	0x000000010a06c735 qof_book_is_readonly + 5
>>>> 1   libgnc-backend-xml-utils.dylib	0x0000000109f5c315 GncXmlBackend::session_end() + 37
>>>> 2   libgncmod-engine.dylib        	0x000000010a07e68b QofSessionImpl::end() + 139
>>>> 3   libgncmod-engine.dylib        	0x000000010a07e55a QofSessionImpl::~QofSessionImpl() + 122
>>>> 4   libgncmod-engine.dylib        	0x000000010a07e7a6 qof_session_destroy + 22
>>>> 5   libgncmod-gnome-utils.dylib   	0x0000000109dc70ff gnc_post_file_open + 1919
>>>> 6   Gnucash-bin                   	0x0000000106bb37bf inner_main + 1071
>>>> 7   libguile-2.0.22.dylib         	0x0000000106cf39e2 invoke_main_func + 34
>>>> 8   libguile-2.0.22.dylib         	0x0000000106cca0bf c_body + 15
>>>> 9   libguile-2.0.22.dylib         	0x0000000106d60186 vm_regular_engine + 8614
>>>> 10  libguile-2.0.22.dylib         	0x0000000106d5cda9 scm_c_vm_run + 121
>>>> 11  libguile-2.0.22.dylib         	0x0000000106cd22e5 scm_call_4 + 69
>>>> 12  libguile-2.0.22.dylib         	0x0000000106cca091 scm_c_with_continuation_barrier + 129
>>>> 13  libguile-2.0.22.dylib         	0x0000000106d589f2 with_guile_and_parent + 66
>>>> 14  libgc.1.dylib                 	0x0000000106eac1ab GC_call_with_stack_base + 27
>>>> 15  libguile-2.0.22.dylib         	0x0000000106d55acb scm_with_guile + 43
>>>> 16  libguile-2.0.22.dylib         	0x0000000106cf39a5 scm_boot_guile + 69
>>>> 17  Gnucash-bin                   	0x0000000106bb31e7 main + 3751
>>>> 18  libdyld.dylib                 	0x00007fff67b77145 start + 1
>>>> 
>>>> Thread 1:
>>>> 0   libsystem_kernel.dylib        	0x00007fff67cc76da __workq_kernreturn + 10
>>>> 1   libsystem_pthread.dylib       	0x00007fff67e0126f _pthread_wqthread + 1552
>>>> 2   libsystem_pthread.dylib       	0x00007fff67e00c4d start_wqthread + 13
>>>> 
>>>> Thread 2:
>>>> 0   libsystem_kernel.dylib        	0x00007fff67cc76da __workq_kernreturn + 10
>>>> 1   libsystem_pthread.dylib       	0x00007fff67e0126f _pthread_wqthread + 1552
>>>> 2   libsystem_pthread.dylib       	0x00007fff67e00c4d start_wqthread + 13
>>>> 
>>>> Thread 3:
>>>> 0   libsystem_kernel.dylib        	0x00007fff67cc76da __workq_kernreturn + 10
>>>> 1   libsystem_pthread.dylib       	0x00007fff67e0126f _pthread_wqthread + 1552
>>>> 2   libsystem_pthread.dylib       	0x00007fff67e00c4d start_wqthread + 13
>>>> 
>>>> Thread 4:
>>>> 0   libsystem_kernel.dylib        	0x00007fff67cc76da __workq_kernreturn + 10
>>>> 1   libsystem_pthread.dylib       	0x00007fff67e0126f _pthread_wqthread + 1552
>>>> 2   libsystem_pthread.dylib       	0x00007fff67e00c4d start_wqthread + 13
>>>> 
>>>> Thread 5:
>>>> 0   libsystem_kernel.dylib        	0x00007fff67cc76da __workq_kernreturn + 10
>>>> 1   libsystem_pthread.dylib       	0x00007fff67e0126f _pthread_wqthread + 1552
>>>> 2   libsystem_pthread.dylib       	0x00007fff67e00c4d start_wqthread + 13
>>>> 
>>>> Thread 6:
>>>> 0   libsystem_kernel.dylib        	0x00007fff67cc76da __workq_kernreturn + 10
>>>> 1   libsystem_pthread.dylib       	0x00007fff67e0106a _pthread_wqthread + 1035
>>>> 2   libsystem_pthread.dylib       	0x00007fff67e00c4d start_wqthread + 13
>>>> 
>>>> Thread 7:
>>>> 0   libsystem_kernel.dylib        	0x00007fff67cc76da __workq_kernreturn + 10
>>>> 1   libsystem_pthread.dylib       	0x00007fff67e0106a _pthread_wqthread + 1035
>>>> 2   libsystem_pthread.dylib       	0x00007fff67e00c4d start_wqthread + 13
>>>> 
>>>> Thread 8:
>>>> 0   libsystem_kernel.dylib        	0x00007fff67cc76da __workq_kernreturn + 10
>>>> 1   libsystem_pthread.dylib       	0x00007fff67e0126f _pthread_wqthread + 1552
>>>> 2   libsystem_pthread.dylib       	0x00007fff67e00c4d start_wqthread + 13
>>>> 
>>>> Thread 9:
>>>> 0   libsystem_kernel.dylib        	0x00007fff67cc6e7e __psynch_cvwait + 10
>>>> 1   libsystem_pthread.dylib       	0x00007fff67e02662 _pthread_cond_wait + 732
>>>> 2   libgc.1.dylib                 	0x0000000106eb31d7 GC_wait_marker + 23
>>>> 3   libgc.1.dylib                 	0x0000000106ea8675 GC_help_marker + 69
>>>> 4   libgc.1.dylib                 	0x0000000106eb1780 GC_mark_thread + 176
>>>> 5   libsystem_pthread.dylib       	0x00007fff67e016c1 _pthread_body + 340
>>>> 6   libsystem_pthread.dylib       	0x00007fff67e0156d _pthread_start + 377
>>>> 7   libsystem_pthread.dylib       	0x00007fff67e00c5d thread_start + 13
>>>> 
>>>> Thread 10:
>>>> 0   libsystem_kernel.dylib        	0x00007fff67cc6e7e __psynch_cvwait + 10
>>>> 1   libsystem_pthread.dylib       	0x00007fff67e02662 _pthread_cond_wait + 732
>>>> 2   libgc.1.dylib                 	0x0000000106eb31d7 GC_wait_marker + 23
>>>> 3   libgc.1.dylib                 	0x0000000106ea8675 GC_help_marker + 69
>>>> 4   libgc.1.dylib                 	0x0000000106eb1780 GC_mark_thread + 176
>>>> 5   libsystem_pthread.dylib       	0x00007fff67e016c1 _pthread_body + 340
>>>> 6   libsystem_pthread.dylib       	0x00007fff67e0156d _pthread_start + 377
>>>> 7   libsystem_pthread.dylib       	0x00007fff67e0
> 
> 
> 



More information about the gnucash-devel mailing list