Musca segfaults with error 4
Bug #367736 reported by
Inxsible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Musca |
In Progress
|
High
|
Sean Pringle |
Bug Description
Musca seems to randomly crash at times. This has happened to me while using different apps, mostly heavier ones like firefox or while watching a movie using cvlc etc. I have attached the core dump and the musca binary for you to have a look.
I am using musca 0.9.18. However, I had seen this happen to me in earlier versions as well. Let me know if you need any more information.
Changed in musca: | |
assignee: | nobody → sean-pringle |
To post a comment you must log in.
[sean@vela tmp]$ file musca
musca: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped
Would you mind rebuilding with symbols unstripped (we compile with gcc -g by default), and capture the core again with this new binary, please? No symbols makes it hard to dig around with gdb. Attach new core and binary as before.
If this is a segfault occuring as a result of us not checking EINTR (error 4) correctly somewhere, then you can also try adding the following line to the top of musca.c:
#define _GNU_SOURCE
This should make the default EINTR behavior be to retry the interrupted system call. However, since this might be a heisenbug, only make this change *after* you've triggered the fault at least once with the new binary.