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#37948 - [racket] segfaults on startup (all binaries in package)

Attached to Project: Arch Linux
Opened by Dmitry Suzdalev (dimsuz) - Friday, 29 November 2013, 10:20 GMT
Last edited by Eric Belanger (Snowman) - Monday, 27 January 2014, 12:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I have just installed a 'racket 5.3.6-2' package and not able to start any of binaries in it.
For example:

# racket
Welcome to Racket v5.3.6.
Segmentation fault (core dumped)

# drracket
Segmentation fault (core dumped)

# raco
Segmentation fault (core dumped)

Additional info:
racket 5.3.6-2
Linux dimsuzhost 3.12.1-3-ARCH #1 SMP PREEMPT Tue Nov 26 11:17:02 CET 2013 x86_64 GNU/Linux

Steps to reproduce:
Start any binary from above examples

I tried to see backtrace of the crash in gdb:

#0 0x00007ffff7b021c8 in scheme_gmp_tls_unload () from /usr/lib/libracket3m-5.3.6.so
#1 0x00007ffff7acb4b3 in done_with_GC () from /usr/lib/libracket3m-5.3.6.so
#2 0x00007ffff7b0bb11 in garbage_collect () from /usr/lib/libracket3m-5.3.6.so
#3 0x00007ffff7b11f7e in GC_malloc_one_tagged () from /usr/lib/libracket3m-5.3.6.so
#4 0x00007ffff7860284 in scheme_malloc_fail_ok () from /usr/lib/libracket3m-5.3.6.so
#5 0x00007ffff7aecf4c in scheme_make_vector () from /usr/lib/libracket3m-5.3.6.so
...

But the thing is that googling this told me that this is some common signal and it should be ignored during debugging, it most probably is not the issue.
It was advised to disable it in gdb session, but if I do this, nothing else pops up.
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 27 January 2014, 12:38 GMT
Reason for closing:  Fixed
Comment by Dmitry Suzdalev (dimsuz) - Friday, 29 November 2013, 11:26 GMT
I also noticed that it seems to crash only in certain terminals, maybe an upstream bug, rather than a packaging bug.

For example no crashes when running 'drracket' from DE's applications menu or when running 'racket' in xterm.
But running 'racket' in gnome-terminal or sakura terminal - crashes as described above.
Comment by Dmitry Suzdalev (dimsuz) - Friday, 29 November 2013, 11:28 GMT
Even more: running it under 'zsh' works in *any* terminal.
But running under 'bash' causes crashes in above mentioned terminals.
Comment by Jamp (jamp) - Friday, 29 November 2013, 14:30 GMT
I reported a bug a while ago.

drracket crashed when opening the prefereces menu

https://bugs.archlinux.org/task/37678

After some arch updates (pacman -suy) I am esperiencing crashes on startup too.

Maybe this isn't and upstream bug since other programs have the same
behavior.. E.g. kdbg, crashes on startup too.

I have a vanilla distribution besides very few packages in /usr/local
that I compiled myself and some additional fonts.

I am using KDE on an x86_64 acer laptop
Comment by Jamp (jamp) - Friday, 29 November 2013, 14:39 GMT
if the Zsh is used the program starts (with bash it crashes immediately). It crashes anyway if the preferences menu is chosen.
Comment by Eric Belanger (Snowman) - Friday, 29 November 2013, 18:57 GMT
It doesn't crash here and I'm using bash. You probably should report that upstream.
Comment by Dmitry Suzdalev (dimsuz) - Sunday, 01 December 2013, 10:53 GMT Comment by Eric Belanger (Snowman) - Sunday, 26 January 2014, 04:57 GMT
Is it fixed in racket-5.92-1?
Comment by Dmitry Suzdalev (dimsuz) - Monday, 27 January 2014, 12:25 GMT
Yes, no segfaults now!
Though upstream did not even comment on the bugreport I've sent, but at least it works OK in Arch! :)

Loading...