[Buildroot] [Bug 10766] upmpdcli: Segmentation fault

bugzilla at busybox.net bugzilla at busybox.net
Tue Mar 20 19:47:20 UTC 2018


--- Comment #2 from Bin Zhang <yangtze31 at gmail.com> ---

Version 1.6.24 of libupnp doesn't work with upmpdcli.
Back to version 1.6.22 solves the problem.
I sent a message to the author of upmpdcli.

# gdb upmpdcli
GNU gdb (GDB) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-buildroot-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from upmpdcli...(no debugging symbols found)...done.
(gdb) run -l 4 -c /etc/upmpdcli.conf
Starting program: /usr/bin/upmpdcli -l 4 -c /etc/upmpdcli.conf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
:4:src/mpdcli.cxx:129::MPDCLi::openconn: mpd protocol version: 0.20.0
[New Thread 0xb6864450 (LWP 209)]
[New Thread 0xb6063450 (LWP 210)]
[New Thread 0xb5862450 (LWP 211)]
[New Thread 0xb5061450 (LWP 212)]
[New Thread 0xb4860450 (LWP 213)]
[New Thread 0xb405f450 (LWP 214)]
[New Thread 0xb385e450 (LWP 215)]
[New Thread 0xb305d450 (LWP 216)]
:4:libupnpp/upnpplib.cxx:156::LibUPnP: Using IP port 49152
:4:src/httpfs.cxx:231::Failed reading /usr/share/upmpdcli/icon.png : open/stat:
errno: 2 :
[New Thread 0xb285c450 (LWP 217)]
:4:src/ohplaylist.cxx:108::ohPlaylist: cache restore done
:4:src/ohproduct.cxx:108::OHProduct::OHProduct: sources: <SourceList>

:4:src/main.cxx:712::Entering event loop
:4:src/main.cxx:719::Renderer event loop
:4:src/mpdcli.cxx:815::MPDCli::getQueueSongs: 0 songs
:4:src/ohplaylist.cxx:147::OHPlaylist::translateIdArray: current ids:
[Thread 0xb6063450 (LWP 210) exited]
[Thread 0xb405f450 (LWP 214) exited]
[New Thread 0xb405f450 (LWP 218)]

Thread 9 "upmpdcli" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb305d450 (LWP 216)]
0xb6c9f154 in ?? () from /usr/lib/libupnp.so.6
(gdb) bt
#-1 0xb6c9f154 in ?? () from /usr/lib/libupnp.so.6
Backtrace stopped: Cannot access memory at address 0x25000a04
(gdb) quit

You are receiving this mail because:
You are on the CC list for the bug.

More information about the buildroot mailing list