Summary: | media-sound/audacious-1.2.2 dies from SIGTRAP when traced with ltrace. strace'ing it locked my system up hard | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Mattie <codermattie> |
Component: | Current packages | Assignee: | Tony Vroon (RETIRED) <chainsaw> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | dhp_gentoo, nenolod, sound |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | /tmp/audacious_strace.log |
Description
Mike Mattie
2007-01-06 10:55:12 UTC
Why exactly are you wishing to ltrace/strace audacious? For what it's worth, the X lockup was probably due to an incomplete request sent to the X server. SIGTRAP is typically only used with a debugger, and does not normally (infact, can't normally) occur without any breakpoints set. Try rebuilding audacious? What CFLAGS do you have? I am debugging a problem with alsa ( #160397 ). Using ltrace is a quick pre-cursor to drilling down with gdb for me. My CLFAGS are quite tame: CFLAGS="-pipe -Os -march=athlon-xp" CHOST="i686-pc-linux-gnu" also of note is that I tried tracing other media programs such as aplay and mplayer, both of which executed normally while being traced. Also got X lock when stracing, but, I can still: - use keyboard to switch to console - press remote to switch console (yes, since 1y I got a LIRC bind to "chvt 1" hehe :P ) as root, killall -9 audacious cleared the X lock problem. bug #160397 should be marked WONTFIX ASAP ... For myself, I needed to strace audacious because I got a new bug on it, and ned logs to google for something, cause it's a hard crash: output just says "we crashed, please report", and I dont even have any error number to look or search for ... so any strace output would really help me :) any any way, strace should not interfeer with application functioning !!! note that redirecting output to file avoids hang: dhp@moon_gen_2:~$ strace audacious >/tmp/audacious_strace.log 2>&1 dhp@moon_gen_2:~$ I will attach my log in here; you may find there why outputing to console makes X hang ... Created attachment 111692 [details]
/tmp/audacious_strace.log
Crash reports with output from strace will not be accepted. Please provide a backtrace with gdb before reporting a crash in 1.2.2. strace is not thread safe, which means, basically, don't use it with X applications. Please discuss this with upstream developers. It is not caused by the way audacious is packaged, and no patches have been provided to rectify the behaviour. I'm sorry to tell you that this does not belong in the Gentoo bug tracker. an answer is resolution enough for me. Thanks for looking into this. |