Menu

#28 segfaults on internet radio playback

v4.0.8
closed-fixed
None
3
2014-03-03
2013-03-27
No

Hi,

One of our user has reported this bug for 64-bit Arch Linux:

Description:
KRADIO 4.0.7 executed play Internet radio, automatically shut down the program.

Additional info:
* package version(s)
Kradio4.0.7

* config and/or log files etc.
--------------------------
this gdb info.
--------------------------
Application: KRadio4 (kradio4), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f924a0d3780 (LWP 2041))]

Thread 4 (Thread 0x7f922a2b8700 (LWP 2047)):
#0 0x00007f9246a91bcd in nanosleep () from /usr/lib/libc.so.6
#1 0x00007f9246aba474 in usleep () from /usr/lib/libc.so.6
#2 0x00007f923678fe42 in ?? () from /usr/lib/kradio4/plugins/kradio4_plugin_internetradio.so
#3 0x00007f9236790169 in ?? () from /usr/lib/kradio4/plugins/kradio4_plugin_internetradio.so
#4 0x00007f924740187c in ?? () from /usr/lib/libQtCore.so.4
#5 0x00007f9244b32e0f in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007f9246ac0efd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f922d767700 (LWP 2048)):
#0 0x00007f9246ab7fad in poll () from /usr/lib/libc.so.6
#1 0x00007f922ed9337f in ?? () from /usr/lib/libpulse.so.0
#2 0x00007f922ed848ac in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3 0x00007f922ed84f09 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4 0x00007f922ed84fc0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5 0x00007f922ed9332f in ?? () from /usr/lib/libpulse.so.0
#6 0x00007f922e937113 in ?? () from /usr/lib/pulseaudio/libpulsecommon-3.0.so
#7 0x00007f9244b32e0f in start_thread () from /usr/lib/libpthread.so.0
#8 0x00007f9246ac0efd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f921fffe700 (LWP 2049)):
[KCrash Handler]
#5 0x00007f923678cd8d in ?? () from /usr/lib/kradio4/plugins/kradio4_plugin_internetradio.so
#6 0x00007f923678e1bc in ?? () from /usr/lib/kradio4/plugins/kradio4_plugin_internetradio.so
#7 0x00007f923678eeed in ?? () from /usr/lib/kradio4/plugins/kradio4_plugin_internetradio.so
#8 0x00007f924751306e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#9 0x00007f9247ef518c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007f9247ef960a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007f9249ad18c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#12 0x00007f92474fe6ae in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#13 0x00007f9247502011 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#14 0x00007f924752c9d3 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007f9243368845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x00007f9243368b78 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007f9243368c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007f924752cb66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007f92474fd3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007f92474fd688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007f92473fe8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#22 0x00007f923678e389 in ?? () from /usr/lib/kradio4/plugins/kradio4_plugin_internetradio.so
#23 0x00007f924740187c in ?? () from /usr/lib/libQtCore.so.4
#24 0x00007f9244b32e0f in start_thread () from /usr/lib/libpthread.so.0
#25 0x00007f9246ac0efd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f924a0d3780 (LWP 2041)):
#0 0x00007f9246ab40bd in read () from /usr/lib/libc.so.6
#1 0x00007f92433a4e7f in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007f92433686a4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3 0x00007f9243368ab2 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0x00007f9243368c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5 0x00007f924752cb66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6 0x00007f9247f9569e in ?? () from /usr/lib/libQtGui.so.4
#7 0x00007f92474fd3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8 0x00007f92474fd688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9 0x00007f9247502328 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#10 0x00000000004345de in ?? ()
#11 0x00007f92469f9a15 in __libc_start_main () from /usr/lib/libc.so.6
#12 0x0000000000434751 in _start ()

------------------------
this is console info
----------------------------
$ kradio4
initializing kradio lirc plugin
warnings/errors about missing sockets don't harm - usually the LIRC daemon is not running in these cases.
kradio: could not connect to socket
kradio: No such file or directory
Initializing kradio lirc plugin failed
kradio4(2178): ""geometry" - conversion of "0,0,0,0" to QRect failed"
kradio4(2178): ""geometry" - conversion of "0,0,0,0" to QRect failed"
[asf @ 0x7f1794002e40] Estimating duration from bitrate, this may be inaccurate
KCrash: Application 'kradio4' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/oislone/.kde4/socket-ois/kdeinit4__0
kradio4: Fatal IO error: client killed

Linux version:

$ uname -a
Linux ois 3.8.3-2-ARCH #1 SMP PREEMPT Sun Mar 17 13:04:22 CET 2013 x86_64 GNU/Linux

Commandline output:

$ kradio4
initializing kradio lirc plugin
warnings/errors about missing sockets don't harm - usually the LIRC daemon is not running in these cases.
kradio: could not connect to socket
kradio: No such file or directory
Initializing kradio lirc plugin failed
kradio4(25096): ""geometry" - conversion of "0,0,0,0" to QRect failed"
kradio4(25096): ""geometry" - conversion of "0,0,0,0" to QRect failed"
QFSFileEngine::open: No file name specified

-- Kradio GUI has show and now select internet radio station, push play button
-- kradio auto close and console show message
[asf @ 0x7f3378002e40] Estimating duration from bitrate, this may be inaccurate
KCrash: Application 'kradio4' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/oislone/.kde4/socket-ois/kdeinit4__0
QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
kradio4: Fatal IO error: client killed

Versions before 4.0.6 work.

Here is our bug report: https://bugs.archlinux.org/task/34357

Thanks

Related

Bugs: #27
Bugs: #29

Discussion

  • Luca

    Luca - 2014-02-18

    Same problem here with Chakra Linux 64bit
    http://paste.chakra-project.org/6476/

     
  • Ernst Martin Witte

    Could reproduce the issue with the stream mms://bcr.media.hinet.net/RA000072 and libav* 2.1.4.

    Reason was an erroneous error handling and missing support for floating-point sample formats in kradio.

    The segfault is fixed now in 6aae9c33ed53bc2470cdc4b5c145eb1bb72f452a. However, more patches are required to support floating point sample formats.

    Martin

     
  • Ernst Martin Witte

    • status: open --> accepted
    • assigned_to: Ernst Martin Witte
    • Group: --> v0.2.x
    • Priority: 5 --> 3
     
  • Ernst Martin Witte

    • Group: v0.2.x --> v4.0.8
     
  • Ernst Martin Witte

    Finally fixed in 7da1a55476181dd4f25bd7d46fe142a505c1aa1e. Will be part of KRadio4 4.0.8

     
  • Ernst Martin Witte

    • status: accepted --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB