Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24839 - [ffmpeg] mpd segfaults with ffmpeg-20110622-1

Attached to Project: Arch Linux
Opened by Michael (SiD) - Thursday, 23 June 2011, 16:31 GMT
Last edited by Angel Velasquez (angvp) - Saturday, 25 June 2011, 10:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Angel Velasquez (angvp)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
mpd segfaults with ffmpeg-20110622-1

this is in /var/log/messages

Jun 23 18:05:42 localhost kernel: mpd[30309]: segfault at 8059a2f ip b74952a5 sp b4c23c00 error 7 in libavformat.so.52.110.0[b73d2000+fd000]

Additional info:
* package version(s)
mpd 0.16.3-1
ffmpeg 20110622-1


Steps to reproduce:
- start mpd
- start a client (e.g Sonata)
This task depends upon

Closed by  Angel Velasquez (angvp)
Saturday, 25 June 2011, 10:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  Patch applied on mpd 0.16.3-2
Comment by Enjolras (enjolras) - Thursday, 23 June 2011, 16:51 GMT
I can reproduce, ncmpcpp is connected to the daemon, play fine a first song but segfault when changing ton another song.

#0 0x00007ffff6949bba in avformat_open_input () from /usr/lib/libavformat.so.52
#1 0x00007ffff6949fca in av_open_input_stream () from /usr/lib/libavformat.so.52
#2 0x000000000041aeb5 in ?? ()
#3 0x000000000042fc12 in ?? ()
#4 0x00000000004300d3 in ?? ()
#5 0x00000000004304fb in ?? ()
#6 0x00007ffff753bd16 in ?? () from /usr/lib/libglib-2.0.so.0
#7 0x00007ffff2dbed60 in start_thread () from /lib/libpthread.so.0
#8 0x00007ffff2168e2d in clone () from /lib/libc.so.6
#9 0x0000000000000000 in ?? ()
Comment by Ionut Biru (wonder) - Thursday, 23 June 2011, 17:07 GMT Comment by Enjolras (enjolras) - Thursday, 23 June 2011, 17:11 GMT
Looks like  FS#24615 , works fine with glibc-2.13-5
Comment by Angel Velasquez (angvp) - Thursday, 23 June 2011, 17:12 GMT
Would you mind to specify the architecture too?
Comment by Ionut Biru (wonder) - Thursday, 23 June 2011, 17:16 GMT
@Jean, not related
Comment by Enjolras (enjolras) - Thursday, 23 June 2011, 17:17 GMT
ioni, your package x86_64 is ok for me with testing too.
Comment by Enjolras (enjolras) - Thursday, 23 June 2011, 17:26 GMT
Actually not, still crash but after a few time, and only listening wma files
Comment by Michael (SiD) - Thursday, 23 June 2011, 17:29 GMT
@ Ionut: mpd is still crashing with your i686 package

Jun 23 19:26:39 localhost kernel: mpd[17598]: segfault at 8059ecf ip b74742b5 sp b4b49c00 error 7 in libavformat.so.52.110.0[b73b1000+fd000]
Comment by Ionut Biru (wonder) - Thursday, 23 June 2011, 17:35 GMT
@Michael time to report this upstream to mpd. i cannot do more than telling you do get a proper backtrace[1] and say that our ffmpeg is from release/0.7 branch [2]

[1] https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#One_package_settings_only
[2] http://git.videolan.org/?p=ffmpeg.git;a=shortlog;h=refs/heads/release/0.7
Comment by Michael (SiD) - Thursday, 23 June 2011, 19:40 GMT
There was already a bug report upstream, I added some a informations.

http://musicpd.org/mantis/view.php?id=3266
Comment by oblique (oblique) - Friday, 24 June 2011, 15:25 GMT
I found that the bug was 2 uninitialized AVFormatContext pointers... I wrote a patch ..
Comment by Michael (SiD) - Friday, 24 June 2011, 17:11 GMT
works with the patch, thanks
:)
Comment by Angel Velasquez (angvp) - Friday, 24 June 2011, 17:29 GMT
Give me few hours to be at home and apply that patch.

Would you mind to send it to the mpd upstream? (in case you didn't sent it yet)

Thanks!
Comment by oblique (oblique) - Friday, 24 June 2011, 17:34 GMT
I sent it there too :)

Loading...