All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 10766] New: upmpdcli: Segmentation fault
@ 2018-02-19 10:50 bugzilla at busybox.net
  2018-02-19 10:52 ` [Buildroot] [Bug 10766] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-02-19 10:50 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10766

            Bug ID: 10766
           Summary: upmpdcli: Segmentation fault
           Product: buildroot
           Version: 2017.08.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: yangtze31 at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Hello,

upmpdcli Segmentation fault.
The same config works fine with 2017.11 on a NanoPi NEO.

# upmpdcli -l 4 -c /etc/upmpdcli.conf
:4:src/mpdcli.cxx:129::MPDCLi::openconn: mpd protocol version: 0.20.0
:4:libupnpp/upnpplib.cxx:156::LibUPnP: Using IP 192.168.0.19 port 49154
:4:src/httpfs.cxx:231::Failed reading /usr/share/upmpdcli/icon.png : open/stat:
errno: 2 : 
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:upnp-org:serviceId:AVTransport]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:upnp-org:serviceId:RenderingControl]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:upnp-org:serviceId:ConnectionManager]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Info]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Time]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Volume]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Playlist]
:4:src/ohplaylist.cxx:108::ohPlaylist: cache restore done
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Radio]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Product]
:4:src/ohproduct.cxx:108::OHProduct::OHProduct: sources: <SourceList>
 <Source>
  <Name>Playlist</Name>
  <Type>Playlist</Type>
  <Visible>1</Visible>
  </Source>
 <Source>
  <Name>Radio</Name>
  <Type>Radio</Type>
  <Visible>1</Visible>
  </Source>
</SourceList>

:4:src/main.cxx:712::Entering event loop
:4:src/main.cxx:719::Renderer event loop
Segmentation fault

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 10766] upmpdcli: Segmentation fault
  2018-02-19 10:50 [Buildroot] [Bug 10766] New: upmpdcli: Segmentation fault bugzilla at busybox.net
@ 2018-02-19 10:52 ` bugzilla at busybox.net
  2018-02-19 10:55 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-02-19 10:52 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10766

Bin Zhang <yangtze31@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2017.08.2                   |unspecified

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 10766] upmpdcli: Segmentation fault
  2018-02-19 10:50 [Buildroot] [Bug 10766] New: upmpdcli: Segmentation fault bugzilla at busybox.net
  2018-02-19 10:52 ` [Buildroot] [Bug 10766] " bugzilla at busybox.net
@ 2018-02-19 10:55 ` bugzilla at busybox.net
  2018-03-20 19:47 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-02-19 10:55 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10766

--- Comment #1 from Bin Zhang <yangtze31@gmail.com> ---
Sorry, I forgot to specify the version 2018.02-rc2

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 10766] upmpdcli: Segmentation fault
  2018-02-19 10:50 [Buildroot] [Bug 10766] New: upmpdcli: Segmentation fault bugzilla at busybox.net
  2018-02-19 10:52 ` [Buildroot] [Bug 10766] " bugzilla at busybox.net
  2018-02-19 10:55 ` bugzilla at busybox.net
@ 2018-03-20 19:47 ` bugzilla at busybox.net
  2018-03-21  9:04 ` bugzilla at busybox.net
  2018-03-24 20:49 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-03-20 19:47 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10766

--- Comment #2 from Bin Zhang <yangtze31@gmail.com> ---
Hello,

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:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
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 192.168.0.16 port 49152
:4:src/httpfs.cxx:231::Failed reading /usr/share/upmpdcli/icon.png : open/stat:
errno: 2 :
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:upnp-org:serviceId:AVTransport]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:upnp-org:serviceId:RenderingControl]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:upnp-org:serviceId:ConnectionManager]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Info]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Time]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Volume]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Playlist]
[New Thread 0xb285c450 (LWP 217)]
:4:src/ohplaylist.cxx:108::ohPlaylist: cache restore done
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Radio]
:4:libupnpp/device/device.cxx:424::UpnpDevice::addService:
[urn:av-openhome-org:serviceId:Product]
:4:src/ohproduct.cxx:108::OHProduct::OHProduct: sources: <SourceList>
 <Source>
  <Name>Playlist</Name>
  <Type>Playlist</Type>
  <Visible>1</Visible>
  </Source>
 <Source>
  <Name>Radio</Name>
  <Type>Radio</Type>
  <Visible>1</Visible>
  </Source>
</SourceList>

:4:src/main.cxx:712::Entering event loop
:4:src/main.cxx:719::Renderer event loop
:4:src/mpdcli.cxx:830::MPDCli::getQueueData
: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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 10766] upmpdcli: Segmentation fault
  2018-02-19 10:50 [Buildroot] [Bug 10766] New: upmpdcli: Segmentation fault bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2018-03-20 19:47 ` bugzilla at busybox.net
@ 2018-03-21  9:04 ` bugzilla at busybox.net
  2018-03-24 20:49 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-03-21  9:04 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10766

Bin Zhang <yangtze31@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Bin Zhang <yangtze31@gmail.com> ---
Fixed in version 1.6.25.
https://sourceforge.net/p/pupnp/code/ci/release-1.6.25/tree/ChangeLog

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 10766] upmpdcli: Segmentation fault
  2018-02-19 10:50 [Buildroot] [Bug 10766] New: upmpdcli: Segmentation fault bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2018-03-21  9:04 ` bugzilla at busybox.net
@ 2018-03-24 20:49 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-03-24 20:49 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10766

--- Comment #4 from Peter Korsgaard <jacmet@uclibc.org> ---
FYI, I've backported the libupnp bump to the 2018.02.x branch so it will be
included in the next bugfix release:

https://git.busybox.net/buildroot/commit/?h=2018.02.x&id=70c77467b9fe3033ee3670763594a4d50237d6d5

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-03-24 20:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-19 10:50 [Buildroot] [Bug 10766] New: upmpdcli: Segmentation fault bugzilla at busybox.net
2018-02-19 10:52 ` [Buildroot] [Bug 10766] " bugzilla at busybox.net
2018-02-19 10:55 ` bugzilla at busybox.net
2018-03-20 19:47 ` bugzilla at busybox.net
2018-03-21  9:04 ` bugzilla at busybox.net
2018-03-24 20:49 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.