GNOME Bugzilla – Bug 721141
GnuCash crashes during setup of online banking
Last modified: 2018-06-29 23:23:01 UTC
Created attachment 264945 [details] Regular trace file Using GnuCash 2.5.10 under 64bit Windows 7 SP1 with a fresh and uncompressed XML file. The error originally occured in GnuCash 2.4.13 - IRC-user "warlock" gave the tip to give 2.5.10 a try and after the error reproduced in exactly the same way, IRC-user "fell" suggested to post the bug under 2.5.10 and categorize it as "blocker". As a quick workaround, I have installed Ubuntu into a VM and can cofirm that this is a bug that's exclusive to the Windows version of gnucash. I'm trying to set up authentication via signature file and the program repeatedly crashes during execution of the online banking wizard - see screenshot for the program status at the time of the crash here: http://imgur.com/CX8xluP). I set the HBCI parameters according to this document: http://www.willuhn.de/wiki/doku.php?id=support:list:banken:vrb#allgemeingenossenschaftsbanken_am_rechenzentrum_gad_volksbanken_signaturdatei I then went ahead and deleted the stale aqbanking lock files to try and finish the setup manually, but it did not help: When I enter the online banking wizard again, but choose to edit the user previously created, the program crashes again as soon as I request the system signature, the account list or the ini letter. I have attached the regular trace file and glanced over the instructions for getting a stacktrace under Windows - please don't make me do this ;-).
Created attachment 264946 [details] HBCI setup status at the time of crash
Sorry, I meant IRC-user "warlord", not "warlock"
Comment on attachment 264945 [details] Regular trace file MIME Type should not be octet stream.
It's crashing AQBanking, not GnuCash. Is it also taking GnuCash down? What version of Ubuntu, with what versions of GnuCash, AQBanking, and Gwenhywfar? I'll send Martin a note asking him to join the fun.
@John Ralls: It's definitely taking down GnuCash, too. In my VM, I'm using Ubuntu 13.10 - GnuCash is 2.4.13, AQBanking 5.028beta-1 and Gwenhywfar is 4.6.0beta-1 (all come from the standard repos). But just to be clear: The error described does not occur under Ubuntu, only under Windows.
(In reply to comment #5) > @John Ralls: It's definitely taking down GnuCash, too. > > In my VM, I'm using Ubuntu 13.10 - GnuCash is 2.4.13, AQBanking 5.028beta-1 and > Gwenhywfar is 4.6.0beta-1 (all come from the standard repos). But just to be > clear: The error described does not occur under Ubuntu, only under Windows. Right. I wanted to make sure that it's not a version problem. We've been a bit aggressive with the AQBanking versions in the Windows builds.
I've asked the AQBanking developer to look at this bug, and he has, but he says that he needs a backtrace. He says that the warnings in the gnucash.trace don't have anything to do with the crash. @Christian, are you able to get a backtrace? There are some instructions at http://wiki.gnucash.org/wiki/Windows/Development#Debugging_with_gdb but it's not a user-friendly process and we understand completely if you're not able to do it.
(In reply to comment #7) > @Christian, are you able to get a backtrace? There are some instructions at > http://wiki.gnucash.org/wiki/Windows/Development#Debugging_with_gdb but it's > not a user-friendly process and we understand completely if you're not able to > do it. Sorry, I didn't see your note at the bottom of the original post. Never mind that, then. Perhaps you could tar up the ~/.aqbanking directory and send it to me and I can generate the backtrace for Martin.
(In reply to comment #8) > (In reply to comment #7) > > > @Christian, are you able to get a backtrace? There are some instructions at > > http://wiki.gnucash.org/wiki/Windows/Development#Debugging_with_gdb but it's > > not a user-friendly process and we understand completely if you're not able to > > do it. > > Sorry, I didn't see your note at the bottom of the original post. Never mind > that, then. > > Perhaps you could tar up the ~/.aqbanking directory and send it to me and I can > generate the backtrace for Martin. @John, I installed gdb and got to the gdb prompt, but whenever I try to actually start gnucash with the "run" command, gdb.exe crashes (see details below). I'd be glad to upload the aqbanking directory (didn't have one with a leading dot in my ~), but please either confirm that there is no security risk involved (it contains the log file and I was specifically warned on IRC because I uploaded it to pastebin without obfuscating it) or tell me what to remove from it to be safe. Below are the last few lines of the gdb prompt right up to the point where it crashed. If it helps and someone tells me how to pipe the whole output into a text file (because the output gets cut off on the command prompt), I can post it on pastebin: ContinueDebugEvent (cpid=1156, ctid=5960, DBG_CONTINUE); gdb: kernel event for pid=1156 tid=5960 code=LOAD_DLL_DEBUG_EVENT) gdb: child_resume.SetThreadContext: thread 1156.0x1748 ContinueDebugEvent (cpid=1156, ctid=5960, DBG_CONTINUE); gdb: kernel event for pid=1156 tid=5960 code=LOAD_DLL_DEBUG_EVENT) gdb: child_resume.SetThreadContext: thread 1156.0x1748 ContinueDebugEvent (cpid=1156, ctid=5960, DBG_CONTINUE); gdb: kernel event for pid=1156 tid=5960 code=LOAD_DLL_DEBUG_EVENT) This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I tried out if running cmd.exe as admin would help but the result was the same. What puzzles me is that after the install of gdb, Windows showed me a dialogue saying that it probably didn't get installed correctly, so I followed its suggestion to let the install run a second time with "adjusted settings". I have tried to uninstall it but have not found any entries for gdb or MinGW under the "Software" control panel. Could this have damaged gdb?
I meant mail it to me directly, using the email address that shows up when you hover on my name. Don't attach it here, it presumably has your account credentials which I doubt you want to share publicly. Looks to me like there might be path issues with those instructions. When I try to follow them exactly I get the same spew that you do, but since I have the scrollback set to infinite in my terminal windows, I can go back to the beginning and see the rather cryptic error "dll starting at 0x76111000 not found" (actually several errors with different addresses).
@Christian: I wonder whether you can use the program "aqfinance" for windows http://www2.aquamaniac.de/sites/download/packages.php to set up your online connection (windows installer available on that site). The program "aqfinance" is using the very same helper library "aqbanking" for the HBCI/FinTS online banking (and it is written by the aqbanking author himself). If you get a crash with aqfinance, too, the problem is somewhere in that library. If you don't get a crash there, it is a gnucash-related problem. This information would help a lot.
Oh, actually this might be a file permission problem in gwenhywfar / aqbanking, or maybe the installation folder of gwenhywfar could not be found: "Could not read dialog preferences (-67)" in the trace, "Could not write dialog preferences (-67)" in the trace". @Christian: Is there anything unusual about your HOME-Folder? Such as Umlauts in your user name or such?
(In reply to comment #12) > Oh, actually this might be a file permission problem in gwenhywfar / aqbanking, > or maybe the installation folder of gwenhywfar could not be found: "Could not > read dialog preferences (-67)" in the trace, "Could not write dialog > preferences (-67)" in the trace". > > @Christian: Is there anything unusual about your HOME-Folder? Such as Umlauts > in your user name or such? Sorry Christian, but I have been very busy and forgot to at least give you a short response. My home folder is named "Chris", so this should not be a problem. I will try out the aqfinance route you suggested during the weekend and report back. Regarding the error you mentioned, I only found this discussion, where an explanation seems to be given: http://gnucash.1415818.n4.nabble.com/aqbanking5-and-ofxdirectconnect-td2333945.html
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=721141. Please update any external references or bookmarks.