GeeXboX

mpd Segmentation fault

December 2nd, 2014

Home Forums GeeXboX on ARM SoCs mpd Segmentation fault

This topic contains 8 replies, has 4 voices, and was last updated by stevelande 3 days, 2 hours ago.

Viewing 9 posts – 1 through 9 (of 9 total)
  • Author
    Posts
  • #9008

    am
    Member

    Hello,

    For a month now, after an update, mpd is causing segfault while updating the database. My log file is “verbose”:

    
    root@geexbox:~$ mpd --version
    Music Player Daemon 0.18.5
    (etc.)
    
    
    root@geexbox:~$ mpd --verbose --no-daemon
    config_file: loading file /etc/mpd.conf
    path: SetFSCharset: fs charset is: UTF-8
    libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator'
    db: reading DB
    curl: version 7.34.0
    curl: with OpenSSL/1.0.1g
    daemon: opening pid file
    daemon: writing pid file
    Segmentation fault
    
    
    root@geexbox:~$ tail /var/log/mpd.log 
    Dec 02 21:21 : ffmpeg/aac: skip whole frame, skip left: 1088
    Dec 02 21:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: max_analyze_duration 5000000 reached at 5015510 microseconds
    Dec 02 21:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: After avformat_find_stream_info() pos: 750798 bytes read:405865 seeks:2 frames:219
    Dec 02 21:21 : update: added Air France/In the air/2.Elvis - Alpha.m4a
    Dec 02 21:21 : update: reading Air France/In the air/3.Confusion - inédit - Nouvelle Vague.mp3
    Dec 02 21:21 : mad: detected LAME version 3.98 ("LAME3.98r")
    Dec 02 21:21 : mad: LAME peak found: 0.000000
    Dec 02 21:21 : mad: encoder delay is 576, encoder padding is 0
    Dec 02 21:21 : update: added Air France/In the air/3.Confusion - inédit - Nouvelle Vague.mp3
    Dec 02 21:21 : update: reading Air France/In the air/4.Trouble's What You Are In - Fink.m4a
    

    Cubox-i2, geexbox up to date.

    Thank you

    #9425

    tomlohave
    Moderator

    did you try to reinstall mpd ?

    maybe with an update of mpd. I’m not using it so can’t tell if it works or no.

    #9426

    am
    Member

    Hi tomlohave,

    Thank you for your answer. Yes, I already tried to reinstall, to remove the database, etc. I also tried to remove the last scanned song but then it’s the next song which generates the segfault.

    Maybe the problem is not MPD but one of the external libraries.

    I would be happy to give you more debug if you tell me how.

    mpd version of open bricks is quite old… but I don’t care as long as it works, which was the case previously.

    #9434

    tomlohave
    Moderator

    i have packaged a new version of mpd
    you can found it here :
    http://download.openbricks.org/cuboxi/

    (let me know if you need additional packages to install : icu4c, boost present at the same location)

    #9467

    am
    Member

    Hello
    Thank you for the packages. I installed mpd and icu4c as requested by mpd
    Now mpd doesn’t start and I have no log (nothing on command line when using -no-daemon and no log in the log file, even using the verbose option)

    To all : enjoy the xmas holidays!

    #9469

    tomlohave
    Moderator

    thanks for xmas , you too :p

    about mpd, can you install boost too ?
    and try to reboot then ?

    #9554

    am
    Member

    Happy new year!
    thank you for the packages. I installed boost and it freezes mu cubox-i2 pro. I restarted one time without success. I didn’t tried more.
    I switched to ArchLinux which is less sexy to install and configure but which works with mpd and xbmc (still need to tune some things but functional at this time). I may switch back to geexbox later maybe.
    thank you again.

    #9570

    droop
    Member

    Hello ,

    I installed geexbox last version (today’s snapshot). I have the exact same behaviour as above with mpd:
    Fails with no logs , nothing in the terminal . Even “help” or “version” fails.
    I really can not provide more information for debug … It’s really not launching …

    droop

    #9572

    stevelande
    Member

    I also have a problem with mpd.
    I have mpd install and edit the /etc/mpd.conf
    mpd does not start.
    i have no error log.

    root@geexbox:~# opkg install alsa-utils mpd alsa-plugins
    Package alsa-utils (1.0.28-1) installed in root is up to date.
    Package mpd (0.19.6-1) installed in root is up to date.
    Package alsa-plugins (1.0.28-1) installed in root is up to date.
    root@geexbox:~# systemctl start mpd
    root@geexbox:~# ps | grep mpd
      698 root     grep mpd
    root@geexbox:~# tail /var/log/mpd.log
    tail: can't open '/var/log/mpd.log': No such file or directory
    tail: no files
    
Viewing 9 posts – 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

Comments are closed.