Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 579972

Summary: www-client/firefox crashes on musl-amd64 when attached to gdb - src/thread/x86_64/syscall_cp.s: No such file or directory.
Product: Gentoo Linux Reporter: tt_1 <herrtimson>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: backtrace
emerge.info

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!