| Summary: | KNotify crash at startup session (Xine accessing SMB, libsmbclient forcing exit()) [@Phonon::Factory::platformPlugin] | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Phonon | Reporter: | Riccardo Moroni <riccardo.moroni.rm> |
| Component: | Xine backend | Assignee: | Matthias Kretz <kretz> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | alexander.bsn, andresbajotierra, gabilari, gnomee, hans.michel, joachim.eibl, martin.sandsmark, nagybal, riccardo.moroni.rm, scunizi, superkabuto87 |
| Priority: | NOR | ||
| Version First Reported In: | 4.3.0 (KDE 4.2.0) | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 4.4.3 | |
| Sentry Crash Report: | |||
According to the backtrace, the multimedia library is trying to access some media in a SMB mount, it fails and it forces the exit, crashing the application.... #10 0xb627c16d in exit () from /lib/libc.so.6 #11 0xad11d848 in ?? () from /usr/lib/libsmbclient.so.0 #12 0xad0cb1a5 in smbc_init_context () from /usr/lib/libsmbclient.so.0 #13 0xad0cacea in smbc_init () from /usr/lib/libsmbclient.so.0 #14 0xad91dc9f in smbc_opendir () from /usr/lib/xine/plugins/1.26/xineplug_inp_smb.so - Do you know why it could want to access a SMB share? Do you have some music file on a windows share ? Do you use one of that files as sound for "Starting KDE" ? In any case this is probably a Xine and SMB issue, it should not call "exit" directly... Regards (In reply to comment #1) > According to the backtrace, the multimedia library is trying to access some > media in a SMB mount, it fails and it forces the exit, crashing the > application.... > > #10 0xb627c16d in exit () from /lib/libc.so.6 > #11 0xad11d848 in ?? () from /usr/lib/libsmbclient.so.0 > #12 0xad0cb1a5 in smbc_init_context () from /usr/lib/libsmbclient.so.0 > #13 0xad0cacea in smbc_init () from /usr/lib/libsmbclient.so.0 > #14 0xad91dc9f in smbc_opendir () from > /usr/lib/xine/plugins/1.26/xineplug_inp_smb.so > > - Do you know why it could want to access a SMB share? Do you have some music > file on a windows share ? Do you use one of that files as sound for "Starting > KDE" ? > > In any case this is probably a Xine and SMB issue, it should not call "exit" > directly... > > Regards OK! I have all the music in a folder inside my external hard drive. The strange thing is that the only software using xine (Amarok) I use as music player doesn't start at boot so I can't understand why it calls SMB for music. - Are your SMB shares mounted at boot ? *** Bug 215895 has been marked as a duplicate of this bug. *** From bug 216162: --- What I was doing when the application crashed: My KDE crash just before I start session and I'm ussing my laptop with the battery instead of being pluged to the wall, also it crashes when I unplug my laptop and the battery gets to a critical level -- - Are the other reporters also using notebooks without AC power ? *** Bug 216162 has been marked as a duplicate of this bug. *** No, I choose to mount it manually. Update: this crash report is no more present on my screen at startup. I think was a bad setting for something like SMB or it's module in KDE. Bug 218480 is related. From bug 215895: --- I have a NAS with smb shares. -- There is also posted a slightly different backtrace, but also related to libsmbclient calls in xine. *** Bug 217412 has been marked as a duplicate of this bug. *** Could be the HD Monitor module in the System Monitor? I removed it and I have no more problems, I replaced and started again, then I removed it and the error desappeared again. Hi,
I think I have an explanation and solution.
I compiled xine-lib-1.1.16.2 myself with debug info.
Then I saw that the problem occurred when trying to open the file
"file:///usr/share/sounds/KDE-Sys-Log-In-Short.ogg".
My assumption was, that the "file://"-part of the path caused the problem.
I modified xine-lib-1.1.16.2/src/xine-engine/xine.c (line 1282 ff)
int xine_open (xine_stream_t *stream, const char *mrl) {
+ if ( strncmp( mrl, "file://",7 )==0 )
+ mrl += 7;
...
Then the problem was gone.
Note that installing libxine was a small problem itself on my 64-bit machine.
I configured xinelib with --prefix=/usr and xine installed to /usr/lib but another xinelib was in /usr/lib64.
I let the symbolic link point to the /usr/lib/libxine via
sudo rm /usr/lib64/libxine.so.1
sudo ln -s /usr/lib/libxine.so.1 /usr/lib64/libxine.so.1
I suppose KDE could be modified to omit the "file://"-part from the path.
Cheers,
Joachim
*** Bug 220459 has been marked as a duplicate of this bug. *** *** Bug 220662 has been marked as a duplicate of this bug. *** This is likely to be an OpenSuse issue... Setting version and confirmed by duplicates. *** Bug 218480 has been marked as a duplicate of this bug. *** *** Bug 219851 has been marked as a duplicate of this bug. *** Bug 226892 appeared on Ubuntu (?) *** Bug 226892 has been marked as a duplicate of this bug. *** No It happened on opensuse 11.2
> From: andresbajotierra@gmail.com
> To: superkabuto87@hotmail.com
> Subject: [Bug 215532] KNotify crash at startup session (Xine accessing SMB, libsmbclient forcing exit())
> Date: Mon, 15 Feb 2010 03:58:08 +0100
>
> https://bugs.kde.org/show_bug.cgi?id=215532
>
>
>
>
>
> --- Comment #19 from Dario Andres <andresbajotierra gmail com> 2010-02-15 03:57:53 ---
> Bug 226892 appeared on Ubuntu (?)
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
_________________________________________________________________
Een netbook met Windows 7? Hier vind je alles dat je moet weten.
www.windows.nl/netbook
As I mentioned, bug 226892 is one case on Ubuntu... THe other cases are on OpenSuse.. as already said before (comment 15). Regards Is this still valid with KDE 4.5? I don't know if it happens in 4.5.
But I have KDE 4.4.4 release 2 on Opensuse 11.3 and I never had crashes again with external harddrives.
> From: myriam@kde.org
> To: superkabuto87@hotmail.com
> Subject: [Bug 215532] KNotify crash at startup session (Xine accessing SMB, libsmbclient forcing exit()) [@Phonon::Factory::platformPlugin]
> Date: Sat, 14 Aug 2010 11:27:04 +0200
>
> https://bugs.kde.org/show_bug.cgi?id=215532
>
>
> Myriam Schweingruber <myriam@kde.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEW |NEEDSINFO
> Resolution| |WAITINGFORINFO
> Summary|KNotify crash at startup |KNotify crash at startup
> |session (Xine accessing |session (Xine accessing
> |SMB, libsmbclient forcing |SMB, libsmbclient forcing
> |exit()) |exit())
> | |[@Phonon::Factory::platform
> | |Plugin]
>
>
>
>
> --- Comment #23 from Myriam Schweingruber <myriam kde org> 2010-08-14 11:27:00 ---
> Is this still valid with KDE 4.5?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
Next time I will erase the previous parts. :-) No, with newer versions this bug is erased. Thanks *** Bug 250417 has been marked as a duplicate of this bug. *** Thank you for the feedback, marking as solved. Bug 281038 happens on KDE 4.6.5. |
Application that crashed: knotify4 Version of the application: 4.0 KDE Version: 4.3.1 (KDE 4.3.1) "release 6" Qt Version: 4.6.0 Operating System: Linux 2.6.31.5-0.1-default i686 Distribution: "openSUSE 11.2 (i586)" What I was doing when the application crashed: When session is starting from boot appears a crash message from knotify. It doesn't need to restart because the restart because knotify restarts itself. -- Backtrace: Application: KNotify (knotify4), signal: Aborted [Current thread is 1 (Thread 0xb5bbb700 (LWP 1591))] Thread 9 (Thread 0xb247eb70 (LWP 1679)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb61e50c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb632e2d4 in pthread_cond_timedwait () from /lib/libc.so.6 #3 0xb357408b in ?? () from /usr/lib/libxine.so.1 #4 0xb61e06e5 in start_thread () from /lib/libpthread.so.0 #5 0xb61e0600 in ?? () from /lib/libpthread.so.0 Thread 8 (Thread 0xb1af0b70 (LWP 1680)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb61e50c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb632e2d4 in pthread_cond_timedwait () from /lib/libc.so.6 #3 0xb6f757ac in thread_sleep (ti=0xb1aef650) at thread/qthread_unix.cpp:394 #4 0xb6f758f0 in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:420 #5 0xb35e4cac in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so #6 0xb74b37ff in ?? () from /usr/lib/libphonon.so.4 #7 0xb74b2962 in ?? () from /usr/lib/libphonon.so.4 #8 0xb74b0239 in ?? () from /usr/lib/libphonon.so.4 #9 0xb627c111 in ?? () from /lib/libc.so.6 #10 0xb627c16d in exit () from /lib/libc.so.6 #11 0xad11d848 in ?? () from /usr/lib/libsmbclient.so.0 #12 0xad0cb1a5 in smbc_init_context () from /usr/lib/libsmbclient.so.0 #13 0xad0cacea in smbc_init () from /usr/lib/libsmbclient.so.0 #14 0xad91dc9f in smbc_opendir () from /usr/lib/xine/plugins/1.26/xineplug_inp_smb.so #15 0xb35782bb in ?? () from /usr/lib/libxine.so.1 #16 0xb357b70d in _x_find_input_plugin () from /usr/lib/libxine.so.1 #17 0xb3570741 in xine_open () from /usr/lib/libxine.so.1 #18 0xb35d0092 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so #19 0xb35d2361 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so #20 0xb65d567c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #21 0xb65dc490 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #22 0xb769ace1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #23 0xb707e7ee in QCoreApplication::notifyInternal (this=0xbfd9ca78, receiver=0x828d620, event=0x82bfae8) at kernel/qcoreapplication.cpp:704 #24 0xb70811f3 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215 #25 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345 #26 0xb708134c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238 #27 0xb70ab96d in sendPostedEvents () at kernel/qcoreapplication.h:220 #28 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276 #29 0xb5d774c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #30 0xb5d7ad98 in ?? () from /usr/lib/libglib-2.0.so.0 #31 0xb5d7aebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #32 0xb70ab451 in QEventDispatcherGlib::processEvents (this=0x818a9d0, flags=...) at kernel/qeventdispatcher_glib.cpp:407 #33 0xb707ce5d in QEventLoop::processEvents (this=0xb1af02d0, flags=) at kernel/qeventloop.cpp:149 #34 0xb707d2a9 in QEventLoop::exec (this=0xb1af02d0, flags=...) at kernel/qeventloop.cpp:201 #35 0xb6f72fd0 in QThread::exec (this=0x81bd258) at thread/qthread.cpp:487 #36 0xb35ca5b8 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so #37 0xb6f75eaf in QThreadPrivate::start (arg=0x81bd258) at thread/qthread_unix.cpp:244 #38 0xb61e06e5 in start_thread () from /lib/libpthread.so.0 #39 0xb61e0600 in ?? () from /lib/libpthread.so.0 Thread 7 (Thread 0xb12efb70 (LWP 1683)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb6315d5e in poll () from /lib/libc.so.6 #2 0xb1c73349 in snd_pcm_sw_params_set_start_threshold () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so #3 0xb61e06e5 in start_thread () from /lib/libpthread.so.0 #4 0xb61e0600 in ?? () from /lib/libpthread.so.0 Thread 6 (Thread 0xb0aeeb70 (LWP 1684)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb61e4d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb632e27c in pthread_cond_wait () from /lib/libc.so.6 #3 0xb3586080 in ?? () from /usr/lib/libxine.so.1 #4 0xb61e06e5 in start_thread () from /lib/libpthread.so.0 #5 0xb61e0600 in ?? () from /lib/libpthread.so.0 Thread 5 (Thread 0xafee2b70 (LWP 1685)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb61e50c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb632e2d4 in pthread_cond_timedwait () from /lib/libc.so.6 #3 0xb357fffb in ?? () from /usr/lib/libxine.so.1 #4 0xb358296e in ?? () from /usr/lib/libxine.so.1 #5 0xb61e06e5 in start_thread () from /lib/libpthread.so.0 #6 0xb61e0600 in ?? () from /lib/libpthread.so.0 Thread 4 (Thread 0xaf2f8b70 (LWP 1686)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb61e4d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb632e27c in pthread_cond_wait () from /lib/libc.so.6 #3 0xb3577c28 in ?? () from /usr/lib/libxine.so.1 #4 0xb357e0c9 in ?? () from /usr/lib/libxine.so.1 #5 0xb61e06e5 in start_thread () from /lib/libpthread.so.0 #6 0xb61e0600 in ?? () from /lib/libpthread.so.0 Thread 3 (Thread 0xae92ab70 (LWP 1687)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb61e4d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb632e27c in pthread_cond_wait () from /lib/libc.so.6 #3 0xb3577c28 in ?? () from /usr/lib/libxine.so.1 #4 0xb357f1e1 in ?? () from /usr/lib/libxine.so.1 #5 0xb61e06e5 in start_thread () from /lib/libpthread.so.0 #6 0xb61e0600 in ?? () from /lib/libpthread.so.0 Thread 2 (Thread 0xae129b70 (LWP 1688)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb61e4d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb632e27c in pthread_cond_wait () from /lib/libc.so.6 #3 0xb3589314 in xine_event_wait () from /usr/lib/libxine.so.1 #4 0xb3589395 in ?? () from /usr/lib/libxine.so.1 #5 0xb61e06e5 in start_thread () from /lib/libpthread.so.0 #6 0xb61e0600 in ?? () from /lib/libpthread.so.0 Thread 1 (Thread 0xb5bbb700 (LWP 1591)): [KCrash Handler] #6 0xffffe430 in __kernel_vsyscall () #7 0xb62790cf in raise () from /lib/libc.so.6 #8 0xb627a9e7 in abort () from /lib/libc.so.6 #9 0xb6f6d674 in qt_message_output (msgType=QtFatalMsg, buf=0x6 <Address 0x6 out of bounds>) at global/qglobal.cpp:2226 #10 0xb6f6d893 in qt_message (msgType=QtFatalMsg, msg=0xb74c4030 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0xbfd9bda4 "iCL\267[CL\267\214DL\267T") at global/qglobal.cpp:2272 #11 0xb6f6d9b8 in qFatal (msg=0xb74c4030 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2455 #12 0xb74b53db in Phonon::Factory::platformPlugin() () from /usr/lib/libphonon.so.4 #13 0xb74b1a53 in Phonon::GlobalConfig::audioOutputDeviceListFor(Phonon::Category, int) const () from /usr/lib/libphonon.so.4 #14 0xb74ad6b8 in ?? () from /usr/lib/libphonon.so.4 #15 0xb74aebd3 in Phonon::AudioOutput::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libphonon.so.4 #16 0xb7083b5d in QMetaObject::metacall (object=0x81edfc8, cl=1591, idx=15, argv=0xbfd9bfdc) at kernel/qmetaobject.cpp:237 #17 0xb7092956 in QMetaObject::activate (sender=0x81f9d00, m=0xb74cf5f0, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3274 #18 0xb74b2a25 in ?? () from /usr/lib/libphonon.so.4 #19 0xb74b51d5 in ?? () from /usr/lib/libphonon.so.4 #20 0xb7083b5d in QMetaObject::metacall (object=0x81f9d00, cl=1591, idx=9, argv=0xbfd9c118) at kernel/qmetaobject.cpp:237 #21 0xb7092956 in QMetaObject::activate (sender=0x81f0a28, m=0xb3ef7cc4, local_signal_index=0, argv=0xbfd9c118) at kernel/qobject.cpp:3274 #22 0xb3eeb895 in Phonon::KdePlatformPlugin::objectDescriptionChanged (this=0x81f0a28, _t1=AudioOutputDeviceType) at /usr/src/debug/kdebase-runtime-4.3.1/build/phonon/platform_kde/kdeplatformplugin.moc:83 #23 0xb3eeb907 in Phonon::KdePlatformPlugin::qt_metacall (this=0x81f0a28, _c=InvokeMetaMethod, _id=4, _a=0xbfd9c238) at /usr/src/debug/kdebase-runtime-4.3.1/build/phonon/platform_kde/kdeplatformplugin.moc:71 #24 0xb7083b5d in QMetaObject::metacall (object=0x81f0a28, cl=1591, idx=4, argv=0xbfd9c238) at kernel/qmetaobject.cpp:237 #25 0xb7092956 in QMetaObject::activate (sender=0x81edcd0, m=0xb3ef7c64, local_signal_index=0, argv=0xbfd9c238) at kernel/qobject.cpp:3274 #26 0xb3eeb655 in Phonon::DeviceListing::objectDescriptionChanged (this=0x81edcd0, _t1=AudioOutputDeviceType) at /usr/src/debug/kdebase-runtime-4.3.1/build/phonon/platform_kde/moc_devicelisting.cpp:84 #27 0xb3ef2b32 in Phonon::DeviceListing::timerEvent (this=0x81edcd0, e=0xbfd9c714) at /usr/src/debug/kdebase-runtime-4.3.1/phonon/platform_kde/devicelisting.cpp:143 #28 0xb708f434 in QObject::event (this=0x81edcd0, e=0x6) at kernel/qobject.cpp:1204 #29 0xb65d567c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #30 0xb65dc490 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #31 0xb769ace1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #32 0xb707e7ee in QCoreApplication::notifyInternal (this=0xbfd9ca78, receiver=0x81edcd0, event=0xbfd9c714) at kernel/qcoreapplication.cpp:704 #33 0xb70aeb1e in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215 #34 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:617 #35 0xb70ab782 in timerSourceDispatch (source=0x808fa70) at kernel/qeventdispatcher_glib.cpp:184 #36 0xb5d774c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #37 0xb5d7ad98 in ?? () from /usr/lib/libglib-2.0.so.0 #38 0xb5d7aebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #39 0xb70ab451 in QEventDispatcherGlib::processEvents (this=0x806cc48, flags=...) at kernel/qeventdispatcher_glib.cpp:407 #40 0xb6693b5a in ?? () from /usr/lib/libQtGui.so.4 #41 0xb707ce5d in QEventLoop::processEvents (this=0xbfd9c9c4, flags=) at kernel/qeventloop.cpp:149 #42 0xb707d2a9 in QEventLoop::exec (this=0xbfd9c9c4, flags=...) at kernel/qeventloop.cpp:201 #43 0xb7081420 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #44 0xb65d5724 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #45 0x0804def7 in main (argc=1, argv=0xbfd9cbe4) at /usr/src/debug/kdebase-runtime-4.3.1/knotify/main.cpp:73 Reported using DrKonqi