Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#44435 - gnucash crashes immediately

Attached to Project: Arch Linux
Opened by nem (nem) - Thursday, 02 April 2015, 12:01 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 03 April 2015, 13:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: gnucash drops to commandline during startup stating "Aborted"


Additional info:
* package version(s): 2.6.6-1 (x86_64)
* files attatched are: strace log


Steps to reproduce:
$ gnucash --debug
Aborted
$ less /tmp/gnucash.trace
* 13:57:37 INFO <gnc.gui> [main] System locale returned en_GB.utf8
* 13:57:37 INFO <gnc.gui> [main] Effective locale set to en_GB.utf8.
* 13:57:37 INFO <gnc.engine> [gnc_hook_lookup] no hook lists
/tmp/gnucash.trace (END)
$ strace -o strace.log gnucash --debug
   strace.log (309.9 KiB)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 03 April 2015, 13:38 GMT
Reason for closing:  None
Additional comments about closing:  Reporter can no longer reproduce. Reopen if someone can.
Comment by Jan de Groot (JGC) - Thursday, 02 April 2015, 12:35 GMT
Can you run gnucash from gdb instead of using strace? Your trace is not very useful, using gdb gives more information about where the abort signal is coming from.
Comment by nem (nem) - Thursday, 02 April 2015, 13:18 GMT
Well, it turns out gdb does the same thing (can't even start it), so it doesn't seem to be related to gnucash. Sorry for the noise.

Looks like I've got a fun weekend ahead figuring that out; sigh..
Comment by Jan de Groot (JGC) - Thursday, 02 April 2015, 13:41 GMT
gdb itself crashes no matter what you launch with it? Could be kernel or glibc related, try LTS kernel and check pacman.log for possible recent upgrades that broke this.
Comment by nem (nem) - Thursday, 02 April 2015, 14:41 GMT
Yes, it does. Also gets the SIGABRT.

I could find the following (all for x86_64):
gdb-7.8.1-1 working with updated system: glibc-2.21-2, gcc-4.9.2-4, gcc-libs-4.9.2-4, binutils-2.25-2
gdb-7.8.2-1 and above does (at least!) not work with: glibc-2.19-5, gcc-4.9.1-1, gcc-libs-4.9.1-1, binutils-2.24-6

i couldn't downgrade glibc further because i don't have any more history. gdb-7.8.2-1 might already break with earlier versions from glibc-2.19-5. i'm just wondering why nobody else has this problem. gdb-7.8.2-1 is out for over two months now.

i attatched a backtrace with downgraded system and gdb to backtrace the error in gnucash.
Comment by nem (nem) - Thursday, 02 April 2015, 14:58 GMT
And got a little further.
gnucash relies on guile1.8 (via slib), gdb relies on guile (2.0) having seen that in the backtrace.

removing gnucash along with guile1.8 resolves the issue with gdb (working with updated system).
so having both guile1.8 and 2.0 installed apparently creates havoc.

edit: and now everything works fine together. i don't even... maybe installation order of the guile versions? reboot? i don't know. maybe someone else recreates it sometime and understands it.

Loading...