Created attachment 372987 [details] Log Crashes immediately on startup, log file attached
Interesting. Works fine for me, I've been testing it pretty frequently with the various developer betas and About This Mac tells me I'm now on the release version of Mojave. It's running a dialog. Is this the first crash? If not I suppose it's the "couldn't get the lock" dialog, though you probably can't tell. Does it crash if you run it from the command-line with --nofile? (Run Applications:Utilities:Terminal and run /Applications/Gnucash.app/Contents/MacOS/Gnucash --nofile at the prompt.)
Just tried the --nofile option and no luck. I tried uninstalling/deleting Library/Application Support/GNUCash files and re-installing. I then get a Welcome to GnuCash, click Create a new set of accounts, click next through those and then it quits. Terminal shows this error (process:12181): gnc.gui-WARNING **: 08:19:54.389: [mac_set_languages()] Language list: en:en_GB:C Segmentation fault: 11
Created attachment 372988 [details] crash report I Have the same problem
Hmmph. Not only can I not get it to crash, I can't even get the same stack trace when I break on cairo_surface_set_device_scale in the debugger. I provoked the "couldn't get the lock" dialog (the only one run directly from gnc_post_file_open, as shown in both your stack traces) to no avail: The path always went either through gtk_widget_show or looked like frame #31: 0x00007fff4b22a95b AppKit`_DPSNextEvent + 997 frame #32: 0x00007fff4b2296fa AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362 frame #33: 0x0000000100c83a92 libgdk-3.0.dylib`poll_func + 178 frame #34: 0x000000010046c08d libglib-2.0.0.dylib`g_main_context_iterate + 333 frame #35: 0x000000010046c40f libglib-2.0.0.dylib`g_main_loop_run + 223 frame #36: 0x0000000100699d0f libgtk-3.0.dylib`gtk_dialog_run + 335 frame #37: 0x00000001031729dd libgncmod-gnome-utils.dylib`gnc_post_file_open + 1085, very different from your stack traces. Andrew, does the stack trace from the --nofile crash look the same?
Created attachment 372989 [details] nofile stacktrace --nofile stack trace
Added --nofile stack trace as an attachment.
Andrew, am I right that the nofile crash and your description of events in comment 2 are from different runs? On the nofile crash, did the splash screen display? What about the GnuCash main window (even if just a flicker)?
Sorry, yes this is a different log from that run. I only seem to get the Welcome wizard if I delete the Library folder before running. I executed the --nofile, get the splash screen (along with a warning about previous crash, press reopen on that). The splash screen shows a progress bar and things progress along and then it crashes out. It's hard to read as it's only there for a split second and I've run it several times to try but the last thing it says I think is Checking finance quotes before it crashes.
If you tell it --nofile it shouldn't be putting up the "can't get the lock" dialog, there's nothing to reopen. Try adding --logto=stderr to the options or looking at the trace file (https://wiki.gnucash.org/wiki/Trace_File) to see if there are any useful errors. If not you can add --debug (don't use --logto if you do) to get a lot more progress information.
You're rapidly reaching my knowledge of this sort of stuff but here goes I ran /Applications/Gnucash.app/Contents/MacOS/Gnucash --nofile --debug Got Welcome dialog (noticed there is GNU cash window in background) Click Cancel to go to GNU cash without creating a new DB Ran sudo cat $TMPDIR/gnucash.trace All I get is * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] The icon theme search path has 10 elements. * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] Path 0: /Users/andrew/.local/share/icons * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] Path 1: /Users/andrew/.icons * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] Path 2: /Applications/Gnucash.app/Contents/Resources/share/icons * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] Path 3: /usr/local/share/icons * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] Path 4: /usr/share/icons * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] Path 5: /Applications/Gnucash.app/Contents/Resources/share/pixmaps * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] Path 6: /usr/local/share/pixmaps * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] Path 7: /usr/share/pixmaps * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] Path 8: /Applications/Gnucash.app/Contents/Resources/share/gnucash/icons * 07:23:05 INFO <gnc.gui> [gnc_load_app_icons] Path 9: /Applications/Gnucash.app/Contents/Resources/share/icons * 07:23:05 INFO <gnc.engine> [gnc_hook_lookup] no hook lists * 07:23:05 INFO <gnc.backend.dbi> [gnc_module_init_backend_dbi] 3 DBD drivers found * 07:23:05 INFO <gnc.backend.dbi> [gnc_module_init_backend_dbi] Driver: pgsql * 07:23:05 INFO <gnc.backend.dbi> [gnc_module_init_backend_dbi] Driver: sqlite3 * 07:23:05 INFO <gnc.backend.dbi> [gnc_module_init_backend_dbi] Driver: mysql * 07:23:07 MESSG <gnc.module> Could not locate optional module gnucash/python interface v.0 * 07:23:07 MESSG <gnc.bin> loading system configuration * 07:23:07 MESSG <gnc.bin> loading user configuration * 07:23:07 MESSG <gnc.bin> loading saved reports * 07:23:07 MESSG <gnc.bin> loading stylesheets
OK, we may be getting close. When I do the same the next item after "loading stylesheets" is "Found Finance::Quote version 1.47". Please run "perl --version" at the command line. If it returns something like "This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail)"--there may be more--try /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check
OK, I get This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check First it said You need to install the following Perl modules: Finance::Quote Use your system's package manager to install them, or run 'gnc-fq-update' as root. So I ran /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update CPAN.pm requires configuration, but most of it can be done automatically. If you answer 'no' below, you will enter an interactive dialog for each configuration option instead. Would you like to configure as much as possible automatically? [yes] yes <install_help> Warning: You do not have write permission for Perl library directories. To install modules, you need to configure a local Perl library directory or escalate your privileges. CPAN can help you by bootstrapping the local::lib module or by configuring itself to use 'sudo' (if available). You may also resolve this problem manually if you need to customize your setup. What approach do you want? (Choose 'local::lib', 'sudo' or 'manual') [local::lib] Autoconfigured everything but 'urllist'. Now you need to choose your CPAN mirror sites. You can let me pick mirrors for you, you can select them from a list or you can enter them by hand. Would you like me to automatically choose some CPAN mirror sites for you? (This means connecting to the Internet) [yes] Loads of stuff scrolling past, notice some errors Then ran fq-check again and I get ("1.47" "adig" "aex" "aiahk" "alphavantage" "amfiindia" "asegr" "asia" "asx" "australia" "bamosz" "bet" "bmonesbittburns" "bourso" "brasil" "bse" "bsero" "canada" "canadamutual" "citywire" "cominvest" "cse" "deka" "dutch" "dwsfunds" "europe" "fetch_live_currencies" "fidelity" "fidelity_direct" "fidelityfixed" "financecanada" "finanzpartner" "finland" "fool" "france" "ftfunds" "ftportfolios" "ftportfolios_direct" "fundlibrary" "goldmoney" "greece" "hex" "hu" "hufund" "hungary" "hustock" "indiamutual" "known_currencies" "lerevenu" "maninv" "morningstar" "morningstarjp" "mstaruk" "nasdaq" "nyse" "nz" "nzx" "platinum" "romania" "seb_funds" "sixfunds" "sixshares" "stockhousecanada_fund" "tdefunds" "tdwaterhouse" "tiaacref" "tnetuk" "troweprice" "troweprice_direct" "trustnet" "tsp" "tsx" "uk_unit_trusts" "ukfunds" "unionfunds" "usa" "usfedbonds" "vanguard" "vwd" "yahoo" "yahoo_asia" "yahoo_australia" "yahoo_brasil" "yahoo_europe" "yahoo_json" "yahoo_nz" "yahoo_yql" "za" "za_unittrusts")
OK, though I didn't intend that you'd install Finance::Quote. With it installed does GnuCash still crash? If it does, does the tracefile now end with " MESSG <gnc.scm> Found Finance::Quote version 1.47"?
OK, just thought I'd pre-empt by installing it. Still crashes and yes, last line is now Found Finance...
OK, so it's nothing to do with F::Q. I should have known that, there's nothing in the F::Q detection that invokes the GUI. Let's try a different logging tack: Instead of --nofile --debug, try --nofile --log gnc.gui=debug.
Created attachment 372990 [details] gnc.gui=debug trace file
Rats. There's nothing logged after calling gnc_ui_start_event_loop where the crash happens. I've managed to reconstruct what's going on in using the debugger, so I mostly understand what's going wrong. What I don't understand is why it fails for you and not for me, never mind why the MacOS version would matter. It is as far as I can tell a Gtk problem, not directly a GnuCash one.
Hello, Thanks for taking care of the issue. I need GNUcash on my Mac and I'm a little worried about when I can expect to have a solution for it. Is there something I can do? Thank you
Thanks John for investigating this. Interestingly I have two other cross platform app's that also crash, Gimp and Bricklink Studio. Gimp giving exactly the same error and definitely uses GTK. I wonder if the dual graphics (integrated and dedicated) of my MacBook Pro are causing issues with GTK. Realise this is beyond your control to fix and relies on the GTK project to provide a fix you can use so not expecting a quick response. I can run GNUCash on a Win7 box I have lying around so I can at least access my accounts, just not on my preferred machine but it will do for now.
Hi for, info. I think I got it to work... It seems related to the dark mode. I was struggling also with the way thing are shown in the dark mode, so I went back to the light mode, but didn't like the aspect. I found this link http://mds.is/using-mojave-dark-mode-on-only-the-menu-bar-and-dock/ that explains how to get back to the dark only menu bar and dock (same as High Sierra). and guess what, GNUcash works fine, no crash. If this can help...
I Want to add that in full screen mode, there are still some problems, nothing new...
Thanks Roland, that fixed it for me as well, along with Gimp and Bricklink Studio so very happy. I couldn't get on with fully dark mode either, it does seem this introduces quite a few issues all round.
That's really interesting. Unfortunately switching to dark mode doesn't reproduce the crash for me, even after a reboot.
We've just released 3.3 and I built the MacOS bundle with the latest Gtk and Cairo. I'm curious to know if it makes a difference.
Crash, but now it goes to the list of accounts.... I just reverted to the full black mode mode, "defaults write -g NSRequiresAquaSystemAppearance -bool No" =>crash Changed to hight mode => Crash then I went to the "High Sierra" black mode "defaults write -g NSRequiresAquaSystemAppearance -bool Yes" =>no Crash What concerns me with 3.3.1 its the scaling... Fonts are (too) big as a example, the preference panel is bigger than what can my 13" retina screen can display, and a lot of menus do not show my LOCALE (French)
Is it crashing in the same place? You can adjust the font size, instructions at https://wiki.gnucash.org/wiki/GTK3.
By "in the same place" I mean does the stack trace look the same?
Created attachment 372992 [details] Crash report with GNUcash 3.3.1 Here is the crash report... Happens I would say later, because I could see the list of accounts. I might add this... just after install, when I launched, application is checked... then nothing, no splash screen. Then I relaunch, see the splash screen, main window with list of accounts, then crash
Hi I tried the Wiki for font sizes... didn't find the settings.ini in Library/Application Support/GnuCash/gtk-3.0 - which does not exist I found a Library/Application Support/GnuCash/config/gtk-3.0 that does not contain any setting.ini file nor did I find a Library/Application Support/GnuCash/gtk-3.0.css file
Those files don't exist by default, you have to create them.
Hi, I tried, but could not get any result... Looks to me that the "retina" property is not supported
Huh? Just create ~/Library/Application Support/Gnucash/config/gtk-3.0/gtk.css and put in it * { font-family: Arial; font-size: 10pt; } Try different font sizes until you get GnuCash to display comfortably for you.
... no effect
I have just downloaded and installed GnuCash 3.3 on MacOS Mojave 10.4, and am having similar issues, but in Light Mode. I'm not using Dark Mode. I tried all the steps suggested above. - Segmentation fault crash on startup - splash screen appears, then it crashes - After I ran FinanceQuote Update, GnuCash finally didn't crash on startup, but only if I run it from the Terminal - If I launch the application from Finder, it still crashes after showing the splash screen - If running from the terminal (the only way to get GnuCash to start), the font size is huge GnuCash 2.6 worked fine. I cleaned up all the old config from 2.6, but this hasn't fixed the issue either.
Roland, does the file ~/.config/gtk-3.0/gtk.css exist?
Max, this sounds like a different bug. Please attach the latest crash report. When you're launching from Terminal, are you passing any arguments?
(In reply to John Ralls from comment #37) > Max, this sounds like a different bug. Please attach the latest crash report. > > When you're launching from Terminal, are you passing any arguments? No arguments. I've raised bug #796879
Hi John, I just have a "bookmark" file in ~/.config/gtk-3.0
I've got it working by putting the 3.2-2 binary [0] in /Applications, and the 3.3-1 binary [1] on my Desktop. No idea how, but it's working a treat. [0]: https://sourceforge.net/projects/gnucash/files/gnucash%20%28stable%29/3.2/ [1]: https://sourceforge.net/projects/gnucash/files/gnucash%20%28stable%29/3.3/
Apologies, to be clear, I'm then running the 3.3 binary from the Desktop.
Hi John, Any news?
About what?
about the scaling of the fonts...
There's nothing to have news about. It works for everyone except you. It's also off-topic for this bug, so please take it to gnucash-user.
Doesn’t work for me either, even with the CSS above.
> I just reverted to the full black mode mode, > "defaults write -g NSRequiresAquaSystemAppearance -bool No" With that change I can reproduce the crash, at least in a bundle. It doesn't crash when run from a build environment so perhaps something is missing from the bundle. At least I now have something to debug with.
Pleased to see that you finally got the crash... For font scaling in created bug 796891.
Max, Roland's font-size problem turned out to be that his gtk-3.0.css was RTF instead of plain text. If you used TextEdit to create it you might have the same problem. Open it with TextEdit and use Format>Make Plain Text to convert it from RTF, then save. If it says Make Rich Text in the Format menu then you have a different problem.
Unfortunately, none of the fixes have worked for me. Any forther suggestions
First, did you check the stack trace in one of your crash reports against one posted here to make sure that it's the same crash?
When I run: sudo cat $TMPDIT/gnucash.trace I get a very long file, too long to post here. Is the problem here at the beginning of the file: * 12:35:14 INFO <gnc.backend.dbi> [gnc_module_init_backend_dbi] 1 DBD drivers found * 12:35:14 INFO <gnc.backend.dbi> [gnc_module_init_backend_dbi] Driver: sqlite3 * 12:35:17 MESSG <gnc.module> Could not locate optional module gnucash/gtkmm interface v.0 * 12:35:17 MESSG <gnc.module> Could not locate optional module gnucash/python interface v.0 * 12:35:17 MESSG <gnc.bin> loading system configuration * 12:35:17 MESSG <gnc.bin> loading user configuration * 12:35:17 MESSG <gnc.bin> loading auto configuration * 12:35:17 MESSG <gnc.bin> loading saved reports * 12:35:17 MESSG <gnc.bin> loading stylesheets * 12:35:19 MESSG <gnc.scm> Found Finance::Quote version 1.37 * 12:35:19 INFO <gnc.account> [xaccAccountRecomputeBalance] acct=Template Root starting baln=0/1 * 12:35:19 INFO <gnc.commodity> [gnc_commodity_table_insert] insert 0x3882ab0 template into nsp=0x This is folowed by innumerable repetitions of this sequence: 12:35:21 INFO <gnc.translog> [xaccTransWriteLog] Attempt to write disabled transaction log * 12:35:21 INFO <gnc.engine> [trans_cleanup_commit] get rid of rollback trans=0x533d790 * 12:35:21 INFO <gnc.translog> [xaccOpenLog] Attempt to open disabled transaction log * 12:35:21 INFO <gnc.translog> [xaccTransWriteLog] Attempt to write disabled transaction log * 12:35:21 INFO <gnc.translog> [xaccTransWriteLog] Attempt to write disabled transaction log * 12:35:21 INFO <gnc.engine> [trans_cleanup_commit] get rid of rollback trans=0x533d708 * 12:35:21 INFO <gnc.translog> [xaccOpenLog] Attempt to open disabled transaction log * 12:35:21 INFO <gnc.translog> [xaccTransWriteLog] Attempt to write disabled transaction log * 12:35:21 INFO <gnc.engine> [xaccTransSetDateInternal] addr=0x543cb28 set date to 1450090740.000000000 Mon Dec 14 05:59:00 2015 * 12:35:21 INFO <gnc.engine> [xaccTransSetDateInternal] addr=0x543cb28 set date to 1451836467.000000000 Sun Jan 3 10:54:27 2016 followed by many repetitions of this sequence: 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=8 hi=0x9425f60 han=0x155e40 data=0xbfffe780 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=7 hi=0x941fb00 han=0x155e40 data=0xbfffe780 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=6 hi=0xd3783e0 han=0x29a1b0 data=0xbfffe780 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=5 hi=0x39c45a0 han=0x2fb780 data=0xbfffe780 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=3 hi=0x386e690 han=0x137c90 data=0xbfffe780 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=2 hi=0x3bf76a0 han=0x1f562d0 data=0xbfffe780 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=1 hi=0x3bdc770 han=0x2e3ed0 data=0xbfffe780 * 12:35:22 INFO <gnc.register> [gnc_table_init_gui] state_section=Register 933084942f53b26884a22d497bab079e * 12:35:22 INFO <qof.object> [qof_object_foreach] type=Split * 12:35:22 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 6073 * 12:35:22 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 6073 * 12:35:22 INFO <qof.query> [qof_query_run_internal] matching objects=0x5b53420 count=852 * 12:35:22 INFO <gnc.gui> [gnc_plugin_page_register_create_widget] Loaded Sort order is BY_STANDARD * 12:35:22 INFO <qof.object> [qof_object_foreach] type=Split * 12:35:22 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 6073 * 12:35:22 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 6073 * 12:35:22 INFO <qof.query> [qof_query_run_internal] matching objects=0x5b44010 count=852 * 12:35:22 INFO <gnc.gui> [gnc_plugin_page_register_create_widget] Loaded Filter Status is 0x001f * 12:35:22 INFO <qof.object> [qof_object_foreach] type=Split * 12:35:22 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 6073 * 12:35:22 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 6073 * 12:35:22 INFO <qof.query> [qof_query_run_internal] matching objects=0x5b34c30 count=852 * 12:35:22 INFO <qof.object> [qof_object_foreach] type=Split * 12:35:22 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 6073 * 12:35:22 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 6073 * 12:35:22 INFO <qof.query> [qof_query_run_internal] matching objects=0x5b25850 count=852 * 12:35:22 INFO <qof.object> [qof_object_foreach] type=Split * 12:35:22 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 6073 * 12:35:22 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 6073 * 12:35:22 INFO <qof.query> [qof_query_run_internal] matching objects=0x5b0fc00 count=365 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=9 hi=0x38c3470 han=0x155e40 data=0x0 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=8 hi=0x9425f60 han=0x155e40 data=0x0 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=7 hi=0x941fb00 han=0x155e40 data=0x0 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=6 hi=0xd3783e0 han=0x29a1b0 data=0x0 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=5 hi=0x39c45a0 han=0x2fb780 data=0x0 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=3 hi=0x386e690 han=0x137c90 data=0x0 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=2 hi=0x3bf76a0 han=0x1f562d0 data=0x0 * 12:35:22 INFO <qof.engine> [qof_event_generate_internal] id=1 hi=0x3bdc770 han=0x2e3ed0 data=0x0 * 12:35:22 INFO <gnc.engine> [xaccTransSetDateInternal] addr=0x4129220 set date to 1539341940.000000000 Fri Oct 12 06:59:00 2018 The last bit is: 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=201439/100 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=-27/100 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=-27/100 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=-91395/100 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=-91395/100 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=-8853254/100 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=-8853254/100 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=-4/100 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=-4/100 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=0/1 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=0/1 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=0/1 * 12:35:22 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=0/1 Jens-Ingemann-Jensens-iMac-2:~ jensingemannjensen$ To me, this looks different from the other stack traces. I admit to being beyond my mastery of Unix/OSX here, but I hope this is the right information you are asking for. I certainly appreciate any help.
Not quite. The crash report can be found by opening Applications:Utilities:Console and selecting "User Reports" in the sidebar. You should find some reports whose names begin with "Gnucash.app", one for each crash. Since you're not experienced with reading these things, just control-click on one of them and select "show in Finder". Then you can click on "Add an attachment" above and navigate to the same report in the file chooser. Please mark the upload as "text/plain" in file type.
I've uploaded https://sourceforge.net/projects/gnucash/files/gnucash%20%28stable%29/3.3/Gnucash-Intel-3.3-2.dmg/download which includes Gtk patches that I think will fix the problem. Please test.
Dear John, I apologize for my ignorance. Please forgive me. I downloaded the .dmg file from your link and ran it, but unfortunately, it did not work. Looking at "User Reports" on the Console, I find no reports with GnuCash. ???? In "System Logs" I find: Oct 18 13:37:58 Jens-Ingemann-Jensens-iMac-2 Gnucash-bin[493]: DEPRECATED USE in libdispatch client: dispatch source activated with no event handler set; set a breakpoint on _dispatch_bug_deprecated to debug Oct 18 14:42:15 Jens-Ingemann-Jensens-iMac-2 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x10000015.Gnucash[42480]): Service exited with abnormal code: 1 I also saw on the Console a message saying MacOs Error: 67062, kernel extension not valid, but it rolls by quite fast. I hope this helps. Sincerely Jens
Ingemann, so far we have no evidence that you're experiencing this bug. In fact, if there are no reports called Gnucash in Console you're not. Let's address your problem in gnucash-user instead of here.
Andrew, Max, & Roland, PLEASE test the dmg linked in comment 54!
Hi John, I installed the package, it works for me, even in dark mode. There are still some bugs like bug 794807, but it works.
Roland, thanks, but Benjamin Otte, one of the senior Gtk devs, suggested a better approach to my issue 1411 merge request. I've implemented that, updated the merge request, and put a new Gnucash-Intel-3.2-2.dmg on SourceForge. Would you please test to make sure that it works too? Andrew & Max, please test the new dmg as well.
3.3-2 failing for me here. Quits before I see the splash screen. Let me know if you want any log output (and if so, exactly what). I'm still successfully running 3.3 by having 3.2 in /Applications, and launching 3.3 from ~/Downloads. Odd.
John Noble, that sounds like bug 796879, not this one. Mind, that's supposed to be fixed by the new Gtk build too. Please check your crash report: This bug will crash in cairo_surface_set_device_scale and bug 796879 will crash in gdk_quartz_monitor_get_workarea. If you're crashing somewhere else, attach your crash report for me to review.
3.3_2 is working for me now but it did fail initially. Then -- and I can't be sure this is exactly correct, I'm moving things around to try to make it work -- when I launched it from ~/Desktop, with 3.3 in /Applications, it worked. Now it's in /Applications, no other versions exist, and it works. Odd.
Did it crash more than once? For that matter, did it actually crash or did it just shut down--or maybe not launch? If it actually crashed there's a crash report on it in Console. If it shut down or if it was Gatekeeper, just failed to launch the first try.
I see no crash logs in Console/User Reports. Either way, 'not launching' is a problem for the user and shouldn't happen (without an error).
Roger, but Apple turned off the capture of stderr to the console around 10.6, so if there's an error before GnuCash gets logging turned on it goes to the bitbucket unless you start GnuCash from Terminal. Otherwise it goes to gnucash.trace, but that gets overwritten the next time you start GnuCash so it's gone too. Then there's the Gatekeeper problem. So far I don't know if it's GnuCash quitting prematurely or Gatekeeper not even telling it to start, and I don't have any good ideas for finding out.
I believe I also have this problem in Mojave in Dark Mode on my MacMini. The first time I tried to run GnuCash (2,18 I think) after upgrading to Mojave, GC wouldn't run and the OS said I had to update GnuCash for compatibility. So I downloaded GC 3.3, and When I started it the first time the OS said it was checking it but it never started. After I waited a couple of minutes, I clicked on the GC icon again to open it, it opened successfully, but when I was trying to use the Scheduled Transaction Editor to add a new bill, it "quit unexpectedly", and I clicked the button to reopen it. It did not reopen, so I clicked the icon to open it a third time, and when I tried to add a new transaction and right-clicked on the account field, it "quit unexpectedly" again, and I clicked the quit unexpected popup button to reopen it again but it never opened. I googled for the problem, and ended up in SourceForge reading this bug. So, I disabled dark mode in mojave and tried again, and now GC is working fine (but the font is bigger than I like it). I do see that I have four GnuCash crash reports in Console, and I will try to attach them to this bug.
Created attachment 373061 [details] Frank crash 1
Created attachment 373062 [details] Frank Crash 2 Note this is actually the Third Crash report chronologically.
Created attachment 373063 [details] Frank crash 3 Note this is actually the second crash report chronologically.
Created attachment 373064 [details] Frank Crash 4 Note this is the first crash report chronologically.
Well I spoke too soon; GnuCash has crashed three more times since I turned off Mojave Dark Mode. I will attach all three crash reports.
Created attachment 373065 [details] Frank Light Mode Crash 1
Created attachment 373066 [details] Frank Light Mode Crash 2 I think this one and at least one other happened while I was using the right mouse button.
Created attachment 373067 [details] Frank Light Mode Crash 3
Frank, Your crashes are like Max's, and thats bug 796879. You can use the updated bundle linked in comment 54 or just drag GnuCash to the dock as a work-around.
The reason I get no crash report is that GnuCash never gets started. I get the notice that the application is downloaded from the Internet and do I want to open it. As soon as I open it, the icon in the Dock disappears. Mojave has also made OpenOffice and LibreOffice unstable. They leave crash reports. Frustrating. A fresh download and a fresh update of Mojave.
Ingeman, first, make sure that you've moved GnuCash out of the dmg. Mojave doesn't allow running apps from inside a dmg. Second, many users have reported that Gatekeeper fails to open GnuCash after verifying it, so try launching GnuCash again. If GnuCash still doesn't start open /Applications/Utilities/Terminal and try starting GnuCash from the resulting command line as follows (assumes you've moved GnuCash to /Applications): /Applications/Gnucash.app/Contents/MacOS/Gnucash --logto=stderr If GnuCash fails to start that way it should write an error message to the Terminal that will reveal the problem.
*** Bug 796790 has been marked as a duplicate of this bug. ***
The MacOS bundle for GnuCash 3.4 is built with gtk-3.24.2 patched to correct https://gitlab.gnome.org/GNOME/gtk/issues/1517 and https://gitlab.gnome.org/GNOME/gtk/issues/1518. Please test it.
Hi, Seems to work fine for me.
OK, I'm declaring this fixed in 3.4.
agree with Roland. Works great. Appreciate that the font is smaller like it was in previous versions too. Thanks!