Bug 122276 - Compiled audio/musicpd segfaults on FreeBSD 7.0
Summary: Compiled audio/musicpd segfaults on FreeBSD 7.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-30 23:40 UTC by Aaron Kaluszka
Modified: 2008-12-18 15:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Kaluszka 2008-03-30 23:40:01 UTC
The musicpd port crashes on FreeBSD 7.0 regardless of compiler, compile options, and arguments used. Compiling v0.13.0 or v0.13.1 (ports tree or manual download) results in a crashing executable, yet worked fine on FreeBSD 6.x. v0.12.2 and earlier work properly. The pre-built packages also work but do not contain shout output support.

Example stack traces:

0 0x28140b15 in pthread_setcancelstate () from /lib/libthr.so.3
0000001 0x281388ac in open () from /lib/libthr.so.3
0000002 0x286ac269 in __stack_chk_fail () from /lib/libssp.so.0
0000003 0x00000000 in ?? ()
0000004 0xbfbfe6a8 in ?? ()
0000005 0x28084ead in _rtld_thread_init () from /libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?)

--

0 0x08075f69 in _thr_cancel_enter ()
0000001 0x08072ade in open ()
0000002 0x34155269 in __stack_chk_fail () from /lib/libssp.so.0
0000003 0x00000000 in ?? ()
0000004 0xbfbfea78 in ?? ()
0000005 0x33c8bf4d in _rtld_thread_init () from /libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?) 

--

Musicpd version of the bug is here: http://www.musicpd.org/mantis/view.php?id=1656
Discussion is here: http://www.musicpd.org/forum/index.php?topic=1586.0

How-To-Repeat: Install audio/musicpd port.
Run "mpd"
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-03-30 23:40:16 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Aaron Kaluszka 2008-04-25 03:55:13 UTC
It has been determined that the presence of Avahi for zeroconf support is
the root of this crash.  Unfortunately, no option exists to disable this
support in the port, and Avahi will be compiled in if it is installed on the
machine.  It is still not clear what exactly is causing this crash, so a
short-term solution would be to add the option to disable Avahi support in
the config options.
Comment 3 Stefan Walter freebsd_committer freebsd_triage 2008-10-12 12:52:28 UTC
Hi Aaron,

the port audio/musicpd has just been updated to a new version. Can you
verify if the problem you reported in ports/122276 ([1]) still exists with
an up-to date ports tree or if the PR can be closed?

Regards,
Stefan

[1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/122276
Comment 4 Stefan Walter freebsd_committer freebsd_triage 2008-10-15 15:57:51 UTC
Hi Jan-Olof,

FYI, a discussion about this problem (which also contains proposed changes
to the port's Makefile) on the musicpd homepage is at [1], a bug report at
[2].

Regards,
Stefan

[1]: http://www.musicpd.org/forum/index.php?topic=1586.15
[2]: http://www.musicpd.org/mantis/view.php?id=1656
Comment 5 Stefan Walter freebsd_committer freebsd_triage 2008-12-18 15:14:13 UTC
State Changed
From-To: feedback->closed

Submitter and maintainer feedback timeout (2 months).