python-bindings: coredump whil executing gnucash.Session

John Ralls jralls at ceridwen.us
Mon Dec 15 10:17:08 EST 2014


> On Dec 14, 2014, at 11:20 PM, Marcus Wellnitz <marcus at wellnitzfamily.de> wrote:
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello John,
> 
> I've never used the git repoitory. It's all plain Ubuntu code plus
> micha's repository:
> deb http://ppa.launchpad.net/micha/libaqbanking/ubuntu trusty main
> 
> I'll check if a self-build GnuCash will eleminate the error.
> 

Ah, so you meant that Ubuntu upgraded something, maybe GnuCash, maybe not, and that's what broke your code.

Seems to me that there are two alternatives: You can see if GnuCash was in fact upgraded, and if it was roll it back and test again. Otherwise, get the debugging symbols for Python and GnuCash and run your python script under gdb like this:

$> gdb python
...
(gdb) r path/to/your/script script args

When it crashes, run
(gdb) bt

Which will dump a stack trace at the time of the crash. Post that here.

Regards,
John Ralls





More information about the gnucash-devel mailing list