Bug 297950 - knotify crashes after phonon-vlc error message
Summary: knotify crashes after phonon-vlc error message
Status: RESOLVED DUPLICATE of bug 297862
Alias: None
Product: phonon-backend-vlc
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-12 08:25 UTC by Marc Haber
Modified: 2012-04-13 10:54 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Haber 2012-04-12 08:25:36 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20100101 Firefox/10.0.3 Iceweasel/10.0.3
Build Identifier: 

Subject: knotify crashes after phonon-vlc glitch
Package: kde-runtime
Version: 4:4.7.4-2
Severity: normal

Whenever knotify tries to display a notification which is connected
with an audio notification, it complains that there is something wrong
with the phonon-vlc backend, and crashes afterwards. Backtrac:

Application: KNotify (knotify4), signal: Segmentation fault
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f13958d1760 (LWP 27267))]

Thread 2 (Thread 0x7f1383e6c700 (LWP 27268)):
#0  0x00007f1392a86cc3 in *__GI___poll (fds=<optimized out>,
nfds=<optimized out>, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f13901c7af6 in g_main_context_poll (n_fds=1, fds=0xa22320,
timeout=-1, context=0xa231f0, priority=<optimized out>) at
/tmp/buildd/glib2.0-2.32.0/./glib/gmain.c:3417
#2  g_main_context_iterate (dispatch=1, block=<optimized out>,
context=0xa231f0, self=<optimized out>) at
/tmp/buildd/glib2.0-2.32.0/./glib/gmain.c:3118
#3  g_main_context_iterate (context=0xa231f0, block=<optimized out>,
dispatch=1, self=<optimized out>) at
/tmp/buildd/glib2.0-2.32.0/./glib/gmain.c:3060
#4  0x00007f13901c7c24 in g_main_context_iteration (context=0xa231f0,
may_block=1) at /tmp/buildd/glib2.0-2.32.0/./glib/gmain.c:3184
#5  0x00007f13931d34a6 in QEventDispatcherGlib::processEvents
(this=0xa22e00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f13931a7972 in QEventLoop::processEvents (this=<optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f13931a7b6f in QEventLoop::exec (this=0x7f1383e6bdf0,
flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f13930bf4af in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#9  0x00007f139318a9cf in QInotifyFileSystemWatcherEngine::run
(this=0xa1cfe0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f13930c1ec5 in QThreadPrivate::start (arg=0xa1cfe0) at
thread/qthread_unix.cpp:331
#11 0x00007f1390694b50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#12 0x00007f1392a9190d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f13958d1760 (LWP 27267)):
[KCrash Handler]
#6  QLibrary::unload (this=0x0) at plugin/qlibrary.cpp:830
#7  0x00007f1382f4268c in LibVLC::vlcUnload (this=0x8858e0) at
../../src/utils/libvlc.cpp:270
#8  0x00007f1382f426ca in LibVLC::~LibVLC (this=0x8858e0,
__in_chrg=<optimized out>) at ../../src/utils/libvlc.cpp:45
#9  0x00007f1382f36a48 in Phonon::VLC::Backend::~Backend
(this=0x8ff780, __in_chrg=<optimized out>) at ../../src/backend.cpp:122
#10 0x00007f1382f36ac9 in Phonon::VLC::Backend::~Backend
(this=0x8ff780, __in_chrg=<optimized out>) at ../../src/backend.cpp:130
#11 0x00007f1394e0565f in Phonon::FactoryPrivate::~FactoryPrivate
(this=0xa48b00, __in_chrg=<optimized out>) at
../../phonon/factory.cpp:242
#12 0x00007f1394e057f9 in Phonon::FactoryPrivate::~FactoryPrivate
(this=0xa48b00, __in_chrg=<optimized out>) at
../../phonon/factory.cpp:246
#13 0x00007f13931ab158 in qt_call_post_routines () at
kernel/qcoreapplication.cpp:255
#14 0x00007f1393e194f8 in QApplication::~QApplication
(this=0x7fff12c9c680, __in_chrg=<optimized out>) at
kernel/qapplication.cpp:1106
#15 0x000000000040a16d in ?? ()
#16 0x00007f13929d7ead in __libc_start_main (main=<optimized out>,
argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fff12c9c9f8) at libc-start.c:228
#17 0x000000000040a235 in _start ()

Even if there is something wrong with the phonon-vlc backend, knotify
should not crash.

The VLC error message is "LibVLC failed to initialize. Phonon's VLC
backend failed to start. This usually means a problem with your VLC
installation, please report a bug with your distributor". When I click
on "Details" in this error message box, I see a single random byte.

I see this on current Debian unstable, on two different systems.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kde-runtime depends on:
ii  kde-runtime-data                4:4.7.4-2
ii  kdelibs5-plugins                4:4.7.4-4
ii  libasound2                      1.0.25-2
ii  libattica0                      0.2.0-1
ii  libc6                           2.13-27
ii  libcanberra0                    0.28-4
ii  libexiv2-9                      0.20-2.1
ii  libgcc1                         1:4.7.0-2
ii  libjpeg8                        8d-1
ii  libkcmutils4                    4:4.7.4-4
ii  libkdecore5                     4:4.7.4-4
ii  libkdesu5                       4:4.7.4-4
ii  libkdeui5                       4:4.7.4-4
ii  libkdewebkit5                   4:4.7.4-4
ii  libkdnssd4                      4:4.7.4-4
ii  libkemoticons4                  4:4.7.4-4
ii  libkfile4                       4:4.7.4-4
ii  libkhtml5                       4:4.7.4-4
ii  libkidletime4                   4:4.7.4-4
ii  libkio5                         4:4.7.4-4
ii  libkmediaplayer4                4:4.7.4-4
ii  libknewstuff3-4                 4:4.7.4-4
ii  libknotifyconfig4               4:4.7.4-4
ii  libkparts4                      4:4.7.4-4
ii  libkpty4                        4:4.7.4-4
ii  libnepomuk4                     4:4.7.4-4
ii  libnepomukquery4a               4:4.7.4-4
ii  libntrack-qt4-1                 016-1.1
ii  libopenexr6                     1.6.1-5
ii  libphonon4                      4:4.6.0.0-1
ii  libplasma3                      4:4.7.4-4
ii  libpulse-mainloop-glib0         1.1-3+b1
ii  libpulse0                       1.1-3+b1
ii  libqt4-dbus                     4:4.7.4-3
ii  libqt4-declarative              4:4.7.4-3
ii  libqt4-network                  4:4.7.4-3
ii  libqt4-script                   4:4.7.4-3
ii  libqt4-svg                      4:4.7.4-3
ii  libqt4-xml                      4:4.7.4-3
ii  libqtcore4                      4:4.7.4-3
ii  libqtgui4                       4:4.7.4-3
ii  libqtwebkit4                    2.2.0-3
ii  libqzeitgeist0                  0.7.0-1
ii  libsmbclient                    2:3.6.3-2
ii  libsolid4                       4:4.7.4-4
ii  libsoprano4                     2.7.5+dfsg.1-1
ii  libssh-4                        0.5.2-1
ii  libstdc++6                      4.7.0-2
ii  libstreamanalyzer0              0.7.7-1.1+b1
ii  libstreams0                     0.7.7-1.1+b1
ii  libx11-6                        2:1.4.4-4
ii  libxcursor1                     1:1.1.12-1
ii  oxygen-icon-theme               4:4.7.4-2
ii  perl                            5.14.2-9
ii  phonon                          4:4.6.0.0-1
ii  plasma-scriptengine-javascript  4:4.7.4-2
ii  shared-desktop-ontologies       0.9.0-2

Versions of packages kde-runtime recommends:
ii  virtuoso-minimal  6.1.3+dfsg1-2.1

Versions of packages kde-runtime suggests:
pn  djvulibre-bin  <none>
pn  finger         <none>
pn  icoutils       <none>


Reproducible: Always

Steps to Reproduce:
For example: Send Computer to Suspend while it is configured to play a sound on suspend and resume.

Actual Results:  
See Details description

Expected Results:  
Sound playing without error message or knotify crash
Comment 1 Myriam Schweingruber 2012-04-13 09:47:57 UTC
Which version of libvlc and phonpn-backend-vlc do you use? I can't reproduce this here, using KDE 4.8.2, phonon-backend-vlc 0.5.0 and libvlc 2.0.1-4
Comment 2 Myriam Schweingruber 2012-04-13 10:54:02 UTC

*** This bug has been marked as a duplicate of bug 297862 ***