2025-11-30 GnuCash IRC logs

01:55:12 *** fell has quit IRC
01:56:31 *** fell has joined #gnucash
01:56:31 *** ChanServ sets mode: +o fell
02:10:44 *** sunyibo_ has joined #gnucash
02:10:44 *** ChanServ sets mode: +v sunyibo_
02:23:55 *** sunyibo_ has quit IRC
02:28:56 *** chris has joined #gnucash
02:28:57 *** ChanServ sets mode: +v chris
02:28:57 *** gncbot sets mode: +o chris
03:05:56 *** chris has quit IRC
03:58:05 *** silverballer47 has joined #gnucash
05:01:14 *** chris has joined #gnucash
05:01:14 *** ChanServ sets mode: +v chris
05:01:14 *** gncbot sets mode: +o chris
05:10:02 *** juliademille has quit IRC
05:10:56 *** juliademille has joined #gnucash
05:10:56 *** ChanServ sets mode: +v juliademille
05:34:14 *** chris has quit IRC
05:42:02 *** sunyibo_ has joined #gnucash
05:42:02 *** ChanServ sets mode: +v sunyibo_
05:54:33 *** silverballer47 has quit IRC
06:22:55 *** silverballer47 has joined #gnucash
06:41:59 *** mechtilde has joined #gnucash
07:21:52 *** chris has joined #gnucash
07:21:52 *** ChanServ sets mode: +v chris
07:21:53 *** gncbot sets mode: +o chris
07:44:00 *** sunyibo_ has quit IRC
07:47:14 *** sunyibo_ has joined #gnucash
07:47:14 *** ChanServ sets mode: +v sunyibo_
08:45:43 *** sunyibo_ has quit IRC
08:50:26 *** sunyibo_ has joined #gnucash
08:50:27 *** ChanServ sets mode: +v sunyibo_
08:56:47 *** sunyibo_ has quit IRC
09:16:04 *** Robert847 has joined #gnucash
09:16:04 *** ChanServ sets mode: +v Robert847
09:20:07 <Robert847> Good morning to those where it truly is morning, and good day to all who are present. We have about 8 inches of snow in our yard and I have nothing better to do than debug my instance of GnuCash. I am still running the windows nightly Build ID: git 5.13-44-gff36bc81af+(2025-11-09).
09:23:36 <Robert847> Today it crashed when I attempted to change from one account register to the next register to the left. The deffault trace file's last three entries were "* 08:02:02 ERROR <gnc.ledger> [gnc_split_register_get_trans_split()] bad row
09:23:36 <Robert847> * 08:02:02 ERROR <gnc.register.gnome> gnucash_sheet_cursor_set_from_table: assertion 'gnucash_sheet_cell_valid (sheet, v_loc)' failed
09:23:38 <Robert847> * 08:07:56 OTHER <GLib> ../glib-2.86.0/glib/gmem.c:177: failed to allocate 2097152 bytes"
09:27:00 <Robert847> it also created a crash file "gnucash.exe.7660.dmp" which is 33,261 KB big as it crashed
09:27:28 <Robert847> crashdump, excuse me
09:42:27 <Robert847> Just prior to the attempt to move to a different account register I edited a transaction containing about 11 split lines down to about three split lines and pressed enter(IIRC). After re-opening the file that transaction has the deleted split lines again but the third that I kept is now third from the top, instead of being near the bottom.
09:46:20 <Robert847> Windows Resource Monitor currently reports about 13000 MB available of 32719 total
09:55:58 <Robert847> I have a gut feeling that this is a Windows failure rather than GnuCash. I am running Windows 10 home up to date with extended support but I am not seeing the current version number. I forgot where to see that
09:57:34 <Robert847> Oh, I needed to scroll down. Version 22H2
09:59:38 <Robert847> I need fresh coffee
11:02:51 *** mechtilde has quit IRC
11:03:15 *** mechtilde has joined #gnucash
11:03:39 *** mechtilde has joined #gnucash
13:01:37 *** sunyibo_ has joined #gnucash
13:01:37 *** ChanServ sets mode: +v sunyibo_
13:06:13 <jralls> Robert847 a Windows problem seems unlikely, but a failed allocation so 2MB seems pretty strange too. Do you have gdb installed?
13:15:28 <Robert847> Yes but it really slowed GnuGash down when I tried to use it and it didnt seem to be outputting anything more than the fact that I started and stopped the program
13:16:55 <Robert847> so I am not using it now. When I start it is announces that it is 8.2.1
13:18:29 <jralls> You have a crash dump, so you don't need to run GnuCash under it. Do gdb 'c:\Program Files (x86)\gnucash\bin\gnucash' 'c:\path\to\gnucash.exe.7660.dmp'
13:23:29 *** phebus has quit IRC
13:24:28 *** phebus has joined #gnucash
13:24:28 *** ChanServ sets mode: +v phebus
13:28:43 <Robert847> I need to try again. there was something wrong - it couldn't find the file
13:29:05 <jralls> Did you adjust
13:29:31 <jralls> c:\path\to\gnucash.exe.7660.dmp or just paste it in?
13:34:20 <Robert847> it ends with the (gdb) prompt and I haven't figured out how to get back to my C:\Users\carls> prompt
13:34:57 <jralls> control-d or quit
13:35:19 <Robert847> the entire line was "C:\Users\carls>gdb c:\Program Files (x86)\gnucash\bin\gnucash' 'C:\Users\carls\AppData\Local\CrashDumps\gnucash.exe.7660.dmp'"
13:35:35 <Robert847> without the double quotes
13:36:29 <Robert847> i think that was too long I wasn't watching myself
13:37:14 *** sunyibo_ has quit IRC
13:37:38 <jralls> It looks like you missed the opening quote for the gnucash path so it would have tried to open c:\Program, which of course isn't there.
13:38:29 <jralls> If you're still at the (gdb) prompt you can tell it target='c:\Program Files (x86)\gnucash\bin\gnucash'
13:38:58 <jralls> then core-file='C:\Users\carls\AppData\Local\CrashDumps\gnucash.exe.7660.dmp'
13:40:29 *** sunyibo_ has joined #gnucash
13:40:29 *** ChanServ sets mode: +v sunyibo_
13:45:58 <Robert847> closer. I used (gdb) target core 'C:\Users\carls\AppData\Local\CrashDumps\gnucash.exe.7660.dmp' and got invalid argument. I am not getting the syntax exactly right
13:47:27 <jralls> Two separate commands: target=path to executable to debug and core-file=path to crash dump.
13:51:27 *** sunyibo_ has quit IRC
14:04:29 *** zie has quit IRC
14:04:31 *** zie has joined #gnucash
14:04:31 *** ChanServ sets mode: +v zie
14:04:36 <Robert847> struggling...
14:05:23 *** atweedie has quit IRC
14:05:25 *** atweedie has joined #gnucash
14:05:38 *** wakyct has quit IRC
14:05:58 <Robert847> (gdb) target 'C:\Program Files (x86)\gnucash\bin\gnucash.exe' yields Undefined target command: "'C:\Program Files (x86)\gnucash\bin\gnucash.exe'". Try "help target".
14:06:42 <Robert847> Gnucash is running right now. Do I need to close it?
14:07:29 <Robert847> i did close it
14:07:31 *** zie has quit IRC
14:08:25 *** atweedie has quit IRC
14:09:25 *** wakyct has joined #gnucash
14:09:25 *** ChanServ sets mode: +v wakyct
14:09:30 *** atweedie has joined #gnucash
14:09:30 *** zie has joined #gnucash
14:09:30 *** ChanServ sets mode: +v zie
14:12:04 <jralls> Sorry, wrong debugger. Try file 'C:\Program Files (x86)\gnucash\bin\gnucash.exe'
14:14:29 <Robert847> do I need to be running gdb as administrator?
14:15:52 <jralls> I don't think so.
14:25:02 <Robert847> just to see what would happen I tried omitting quotes altogether and I entered (gdb) file C:\Program Files (x86)\gnucash\bin\gnucash.exe and got C:Program: No such file or directory.
14:25:49 <jralls> Of course. Spaces are delimiters.
14:25:58 <Robert847> ???? did i enter that smiley?
14:30:25 <Robert847> didnt help me figure out why it isn't finding the file
14:39:41 <jralls> Hmm. Maybe you have the MSYS2 build of gdb instead of the Mingw32 one. Try file '/c/Program Files (x86)/gnucash/bin/gnucash.exe'
14:44:30 *** sunyibo_ has joined #gnucash
14:44:30 *** ChanServ sets mode: +v sunyibo_
15:16:32 <Robert847> one of the opening lines is This GDB was configured as "i686-w64-mingw32".
15:17:58 <Robert847> (gdb) file '/c/Program Files (x86)/gnucash/bin/gnucash.exe'
15:17:58 <Robert847> /c/Program Files (x86)/gnucash/bin/gnucash.exe: No such file or directory.
15:19:49 <Robert847> I downloaded the help manual and felt like I downloaded the Bible
15:20:48 <jralls> You do have GnuCash installed at c:\Program Files (x86)
15:20:51 <jralls> ?
15:22:26 <Robert847> according to windows gnucash.exe properties the location is exactly C:\Program Files (x86)\gnucash\bin
15:24:23 <Robert847> capital C and no quotes in that view
15:24:31 <jralls> But both file 'C:\Program Files (x86)\gnucash\bin\gnucash.exe' and file '/c/Program Files (x86)/gnucash/bin/gnucash.exe' say file not found?
15:25:07 <Robert847> yes
15:25:32 <jralls> Yes, the quotes are needed to keep the command interpreter from splitting it up on the spaces.
15:25:47 <Robert847> i thought so too
15:26:55 <Robert847> there must be something odd about the environment that gdb is working in
15:27:39 <jralls> Maybe. I usually use PowerShell. What are you using?
15:27:49 <Robert847> cmd
15:30:50 <Robert847> I think I have Powershell installed.
15:30:58 <jralls> Isn't that. I just tried in a cmd window and it said "reading symbols...`
15:31:24 <jralls> You do, it comes with Win10. Right-click on the start menu and it's about in the middle.
15:32:45 <Robert847> it started and told me Try the new cross-platform PowerShell https://aka.ms/pscore6
15:33:20 <jralls> You can ignore that.
15:33:22 <Robert847> I am already going down too many rabbitholes
15:35:15 <jralls> It's obsolete anyway, the current URL is https://aka.ms/PSWindows. But like I said, gdb worked in a CMD window for me, so it's probably not that.
15:37:13 <Robert847> both of those In powershell:
15:37:18 <Robert847> For help, type "help".
15:37:18 <Robert847> Type "apropos word" to search for commands related to "word".
15:37:20 <Robert847> (gdb) file 'C:\Program Files (x86)\gnucash\bin\gnucash.exe
15:37:22 <Robert847> C:Program Files (x86)gnucashbingnucash.exe: No such file or directory.
15:37:24 <Robert847> (gdb) file '/c/Program Files (x86)/gnucash/bin/gnucash.exe'
15:37:26 <Robert847> /c/Program Files (x86)/gnucash/bin/gnucash.exe: No such file or directory.
15:37:28 <Robert847> (gdb)
15:37:47 <Robert847> there is that smiley again!!!!
15:37:48 <jralls> Hmm. Try the C: version but with forward slashes
15:39:00 <Robert847> the first one lost the closing quote
15:39:41 <jralls> Yeah, but it also lost all of the directory seps.
15:42:56 *** mechtilde has quit IRC
15:43:18 *** mechtilde has joined #gnucash
15:43:36 *** mechtilde has quit IRC
15:43:57 <Robert847> wow
15:44:06 <Robert847> (gdb) file 'C:/Program Files (x86)/gnucash/bin/gnucash.exe'
15:44:06 <Robert847> Reading symbols from C:/Program Files (x86)/gnucash/bin/gnucash.exe...done.
15:44:06 <Robert847> (gdb)
15:45:13 <Robert847> and I thought I was in Windows!!!
15:49:08 <jralls> Yay. Now do the core-file one.
15:50:23 <Robert847> (gdb) core-file 'C:/Users/carls/AppData/Local/CrashDumps/gnucash.exe.7660.dmp'
15:50:23 <Robert847> C:\Users\carls/'C:/Users/carls/AppData/Local/CrashDumps/gnucash.exe.7660.dmp': Invalid argument.
15:50:23 <Robert847> (gdb)
15:52:16 <Robert847> do I need to omit C:\Users\carls/
15:54:34 <Robert847> that didn't work
15:55:09 <jralls> You did. It looks like gdb stuck it on the front. Did you just try core-file 'AppData/Local/CrashDumps/gnucash.exe.7660.dmp' ?
15:56:29 <Robert847> almost. I had a slash at the beginning. I'll try again
15:57:33 <Robert847> (gdb) core-file 'AppData/Local/CrashDumps/gnucash.exe.7660.dmp'
15:57:33 <Robert847> C:\Users\carls/'AppData/Local/CrashDumps/gnucash.exe.7660.dmp': No such file or directory.
15:57:33 <Robert847> (gdb)
15:59:37 <Robert847> now maybe I omit the quotes
15:59:58 <jralls> I don't think it will change anything, but go ahead.
16:00:49 <Robert847> it made a difference
16:00:51 <Robert847> (gdb) core-file AppData/Local/CrashDumps/gnucash.exe.7660.dmp
16:00:53 <Robert847> "C:\Users\carls/AppData/Local/CrashDumps/gnucash.exe.7660.dmp" is not a core dump: file format not recognized
16:00:55 <Robert847> (gdb)
16:03:11 <Robert847> so the file is there but gdb does not recognize the format
16:05:46 <Robert847> I did try opening the file with a text editor but I closed it without saving. There are some older ones that have not been touched
16:10:14 <Robert847> The oldest one is dated Nov 18 and there are two from other programs slightly older
16:11:37 <jralls> They're all too big to open with a text editor and anyway they're binary files in Windows debugger format. You can open them with WinDbg or VisualStudio, but neither can understand the GCC debugging symbols in GnuCash so it wouldn't tell us much.
16:12:37 <Robert847> I suspected as much
16:15:13 <Robert847> I thought I had a program that actually could open arbitrarily large files but I didn't find it today
16:20:37 <jralls> So here's another way to go: Get https://github.com/jrfonseca/drmingw and use the catchsegv program to run GnuCash and generate a stack trace when it crashes.
16:22:15 <Robert847> OK I am out of time today so I will try that later. Thanks for holding my hand today.
16:22:40 <jralls> You're welcome.
16:22:48 *** Robert847 has left #gnucash
18:05:26 *** silverballer47 has quit IRC
18:24:04 *** sacdrj has joined #gnucash
18:38:09 *** sacdrj has quit IRC
19:20:33 *** sacdrj has joined #gnucash
19:39:07 *** jralls has quit IRC
19:50:06 *** sacdrj has quit IRC
19:58:01 *** chris has quit IRC
20:06:11 *** chris has joined #gnucash
20:06:11 *** ChanServ sets mode: +v chris
20:06:11 *** gncbot sets mode: +o chris
21:05:11 *** chris has quit IRC
21:08:25 *** chris has joined #gnucash
21:08:25 *** ChanServ sets mode: +v chris
21:08:29 *** gncbot sets mode: +o chris
22:54:25 *** chris has quit IRC
23:10:01 *** jonakeys has quit IRC
23:10:08 *** jonakeys has joined #gnucash
23:30:01 *** chris has joined #gnucash
23:30:01 *** ChanServ sets mode: +v chris
23:30:05 *** gncbot sets mode: +o chris
23:38:01 *** chris has quit IRC
23:41:15 *** chris has joined #gnucash
23:41:15 *** ChanServ sets mode: +v chris
23:41:15 *** gncbot sets mode: +o chris