Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579972 - www-client/firefox crashes on musl-amd64 when attached to gdb - src/thread/x86_64/syscall_cp.s: No such file or directory.
Summary: www-client/firefox crashes on musl-amd64 when attached to gdb - src/thread/x8...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-14 16:08 UTC by tt_1
Modified: 2016-04-17 06:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
backtrace (syscall_cp.log,4.29 KB, text/plain)
2016-04-14 16:08 UTC, tt_1
Details
emerge.info (emerge-info,5.05 KB, text/plain)
2016-04-14 16:14 UTC, tt_1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2016-04-14 16:08:22 UTC
Created attachment 430454 [details]
backtrace

I'm not sure if this is a bug in gdb, musl or firefox. But I have added a backtrace for convenience! 

It happens when I start firefox and later on use the command gdb attach #process-id
Comment 1 tt_1 2016-04-14 16:14:06 UTC
Created attachment 430458 [details]
emerge.info
Comment 2 Felix Janda 2016-04-15 05:44:17 UTC
The backtrace does not indicate any crash at all. Does "crash" mean
"segmentation fault"? What versions of firefox and gdb are used?

I cannot reproduce the issue on an arm system with musl.
Comment 3 tt_1 2016-04-16 20:22:54 UTC
I'm not really sure if this is a bug or not, but it is complaining about something important (?) missing and I wanted it to post here. If it is invalid or more information is needed, just let me know. 

The firefox gui freezes while attaching it to gdb.
Comment 4 Felix Janda 2016-04-16 21:39:22 UTC
gdb is trying to show the relevant line from musl's source code but
can't because it can't find the source code. This is expected since
musl's source code is not installed. The same applies to the other
libraries.

It is expected that a process is stopped when attaching gdb. Thus,
the GUI will freeze until the process is continued.
Comment 5 tt_1 2016-04-17 06:40:22 UTC
Ah, okay, so it is a normal and excepted behavior of gdb. sorry for the noise!