Version: (using KDE KDE 3.2.0) Installed from: Compiled From Sources Compiler: gcc (GCC) 3.3.1 (SuSE Linux) OS: Linux Today I tried to upgrade from a KDE 3.1.4 (SuSE 9.0) setup to a fresh KDE_3_2_BRANCH build. KDE 3.2 didn't start. The startup hang in the third phase (i.e. the 3rd icon was blinking). Error messages from artsd popped up: artsmessage -w Sound server warning message:??unix_connect: can't connect to server (unix:/tmp/mcop-ingo/pallas_matha_rwth-aachen_de-439b-400d08a3) and artsmessage -e Sound server fatal error:??Error while initializing the sound driver:?device /dev/dsp can't be opened (Permission denied) Running 'ps ux' a few times shows that every few seconds another artsd is started. See http://www.matha.rwth-aachen.de/~ingo/kde/kde32-1st-start-after-upgrade/ for a few ps-ux_during_startup*.log and the xsession-errors file. After killing knotify (kdekillall knotify) the startup of KDE resumed. Killing the artsds and the artsmessages didn't help (it was like fighting the Hydra). After restoring ~/.kde from before the upgrade KDE 3.1 still starts up without any problems.
KDE doesn't start anymore after upgrading to KDE 3.2. If that's no showstopper then I don't know.
Subject: Re: New: after upgrade to 3.2 knotify keeps spawning artsds and prevents KDE from starting On Tuesday 20 January 2004 14:51, Ingo Klöcker wrote: > artsmessage -e Sound server fatal error:??Error while initializing the sound driver:?device /dev/dsp can't be opened (Permission denied) > Permission denied on /dev/dsp doesn't sound as a usual problem. Greetings, Stephan
Well, my machine at work is pretty much a stock SuSE 9.0 installation. Nothing unusual about it. The only unusual thing is the self compiled KDE 3.2 RC1. Before login: pallas:/ # l /dev/dsp /dev/dsp0 lrwxrwxrwx 1 root root 4 2003-12-15 09:57 /dev/dsp -> dsp0 crw-rw---- 1 root audio 14, 3 2003-09-23 19:59 /dev/dsp0 After login into KDE 3.1: pallas:/ # l /dev/dsp /dev/dsp0 lrwxrwxrwx 1 root root 4 2003-12-15 09:57 /dev/dsp -> dsp0 crw------- 1 ingo audio 14, 3 2003-09-23 19:59 /dev/dsp0 So obviously with KDE 3.1 there are no permission problems.
did you also replace kdm's setup when updating to 3.2?
I don't know exactly what you mean. I installed KDE 3.2 into /opt/kde-cvs moved /opt/kde3 to /opt/kde3.1-SuSE and linked /opt/kde3 to /opt/kde-cvs. So effectively everything was replaced. But I didn't change anything in /etc/opt/kde3... Me wonders why this should have influence on the permission of /dev/dsp.
A few things to check: 1. kdm startup: check that the correct one (in kde-cvs) is started On RedHat systems, kdm startup is controlled by /etc/X11/prefdm. Don't know about SuSE. Once KDE starts, open a konsole and check the PATH and LD_LIBRARY_PATH variables. 2. KDEHOME (~/.kde) Most user config files (in $KDEHOME) have the true path in them, which causes problem if you switch from relase to release like this (which is not what you describe, but I mention it since it confused me at times): old release /opt/kde3 -> /opt/kde3.1-SuSE new-release /opt/kde3 -> /opt/kde-cvs In such cases, files in your KDEHOME will keep links to /opt/kde3.1-SuSE in them (instead of /opt/kde3).
The missing permissions is a resmgr issue. resmgr is used via pam-xdm implementation. The --with-kdm-pam=xdm configure option might help you here. However, I do not think that this prevents you from login or all people without a configure sounddevice would be affected. can you connect to knotify with gdb and do a backtrace when it is hanging ? a strace -p to knotify might also help.
I just tried to startup KDE 3.2 RC1 with a fresh test user. Worked without problems. I got the message "Sound server informational message: Error while initializing the sound driver: device /dev/dsp can't be opened (Permission denied) The sound server will continue, using the null output device." But KDE didn't hang on startup. The gdb backtraces will follow in the next comment. @Philippe: Moving /opt/kde3 to /opt/kde3.1-SuSE completely hides the old kde3 directory from the system (because all references to this directory point to /opt/kde3). This means - Of course the correct kdm is started (because /opt/kde3/bin/kdm is started which is the new kdm). PATH and LD_LIBRARY_PATH (resp. /etc/ld.so.conf) contain references to /opt/kde3 with is a symbolic link to /opt/kde-cvs. So everything is fine. - If a file in $KDEHOME has a full path then this full path will start with /opt/kde3 but never with /opt/kde3.1-SuSE because /opt/kde3.1-SuSE didn't exist as long as I was running KDE 3.1.
There are two instances of knotify running: ingo 4104 12.0 2.8 29192 14516 ? S 10:44 0:00 kdeinit: knotify ingo 4105 9.2 3.8 32796 19888 ? S 10:44 0:00 kdeinit: knotify backtrace of the first instance: (gdb) bt #0 0x4132ab48 in read () from /lib/i686/libpthread.so.0 #1 0x408d5efc in __JCR_LIST__ () from /opt/kde-cvs/lib/libDCOP.so.4 #2 0x408cfd9e in _kde_IceTransSocketRead (ciptr=0x808ffc0, buf=0x80900f8 "\002\003", size=8) at Xtranssock.c:1694 #3 0x408d0c17 in _kde_IceTransRead (ciptr=0x808ffc0, buf=0x80900f8 "\002\003", size=8) at Xtrans.c:852 #4 0x408c52f1 in _kde_IceRead (iceConn=0x808ff48, nbytes=8, ptr=0x80900f8 "\002\003") at /localhome/ingo/cvs/kde/3.2/kdelibs/dcop/KDE-ICE/misc.c:248 #5 0x408c5a90 in KDE_IceProcessMessages (iceConn=0x808ff48, replyWait=0xbfffef30, replyReadyRet=0xbfffef28) at /localhome/ingo/cvs/kde/3.2/kdelibs/dcop/KDE-ICE/process.c:152 #6 0x408ba041 in DCOPClient::callInternal(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, DCOPClient::ReplyStruct*, bool, int, int) (this=0x8089b18, remApp=@0xbffff1e0, remObjId=@0xbffff120, remFun=@0xbffff130, data=@0xbffff1b0, replyStruct=0xbfffefd0, useEventLoop=false, timeout=-1, minor_opcode=2) at /localhome/ingo/cvs/kde/3.2/kdelibs/dcop/dcopclient.cpp:1880 #7 0x408b9a47 in DCOPClient::callInternal(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&, bool, int, int) (this=0x8089b18, remApp=@0xbffff1e0, remObjId=@0xbffff120, remFun=@0xbffff130, data=@0xbffff1b0, replyType=@0xbffff1d0, replyData=@0xbffff1c0, useEventLoop=false, timeout=-1, minor_opcode=2) at /localhome/ingo/cvs/kde/3.2/kdelibs/dcop/dcopclient.cpp:1782 #8 0x408b9758 in DCOPClient::call(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&, bool, int) (this=0x8089b18, remApp=@0xbffff1e0, remObjId=@0xbffff120, remFun=@0xbffff130, data=@0xbffff1b0, replyType=@0xbffff1d0, replyData=@0xbffff1c0, useEventLoop=false, timeout=-1) at /localhome/ingo/cvs/kde/3.2/kdelibs/dcop/dcopclient.cpp:1725 #9 0x408b95c3 in DCOPClient::call(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&, bool) (this=0x8089b18, remApp=@0xbffff1e0, remObjId=@0xbffff120, remFun=@0xbffff130, data=@0xbffff1b0, replyType=@0xbffff1d0, replyData=@0xbffff1c0, useEventLoop=false) at /localhome/ingo/cvs/kde/3.2/kdelibs/dcop/dcopclient.cpp:1691 #10 0x407ea359 in KUniqueApplication::start() () at /localhome/ingo/cvs/kde/3.2/kdelibs/kdecore/kuniqueapplication.cpp:277 #11 0x416a3784 in kdemain (argc=1, argv=0x80875b8) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:108 #12 0x0804e316 in launch (argc=1, _name=0x807e091 "knotify", args=0x0, cwd=0x0, envc=0, envs=0x0, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8052e47 "0") at /localhome/ingo/cvs/kde/3.2/kdelibs/kinit/kinit.cpp:604 #13 0x08050fd2 in main (argc=3, argv=0xbffff684, envp=0xbffff694) at /localhome/ingo/cvs/kde/3.2/kdelibs/kinit/kinit.cpp:1761 ====================================================================== backtrace of the second instance (this backtrace indicates that this instance is in an infinite loop): (gdb) bt #0 0x41529f85 in nanosleep () from /lib/i686/libc.so.6 #1 0x41529dd7 in sleep () from /lib/i686/libc.so.6 #2 0x416ff0dc in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:99 #3 0x41707052 in KAudioManagerPlay (this=0x81c4198, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #4 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #5 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff7a50) at knotify.moc:93 #6 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #7 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #8 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #9 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #10 0x41707052 in KAudioManagerPlay (this=0x81c3d10, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #11 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #12 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff7e10) at knotify.moc:93 #13 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #14 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #15 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #16 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #17 0x41707052 in KAudioManagerPlay (this=0x81c2ab0, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #18 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #19 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff81d0) at knotify.moc:93 #20 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #21 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #22 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #23 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #24 0x41707052 in KAudioManagerPlay (this=0x81c1818, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #25 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #26 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff8590) at knotify.moc:93 #27 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #28 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #29 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #30 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #31 0x41707052 in KAudioManagerPlay (this=0x81c0598, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #32 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #33 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff8950) at knotify.moc:93 #34 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #35 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #36 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #37 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #38 0x41707052 in KAudioManagerPlay (this=0x81bf300, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #39 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #40 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff8d10) at knotify.moc:93 #41 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #42 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #43 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #44 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #45 0x41707052 in KAudioManagerPlay (this=0x81be098, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #46 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #47 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff90d0) at knotify.moc:93 #48 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #49 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #50 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #51 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #52 0x41707052 in KAudioManagerPlay (this=0x81bcea0, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #53 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #54 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff9490) at knotify.moc:93 #55 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #56 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #57 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #58 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #59 0x41707052 in KAudioManagerPlay (this=0x81bbd70, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #60 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #61 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff9850) at knotify.moc:93 #62 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #63 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #64 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #65 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #66 0x41707052 in KAudioManagerPlay (this=0x81b9458, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #67 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #68 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff9c10) at knotify.moc:93 #69 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #70 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #71 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #72 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #73 0x41707052 in KAudioManagerPlay (this=0x81b81d0, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #74 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #75 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfff9fd0) at knotify.moc:93 #76 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #77 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #78 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #79 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #80 0x41707052 in KAudioManagerPlay (this=0x81b5ee0, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #81 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #82 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffa390) at knotify.moc:93 #83 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #84 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #85 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #86 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #87 0x41707052 in KAudioManagerPlay (this=0x81b5d18, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #88 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #89 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffa750) at knotify.moc:93 #90 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #91 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #92 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #93 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #94 0x41707052 in KAudioManagerPlay (this=0x81b4ab8, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #95 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #96 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffab10) at knotify.moc:93 #97 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #98 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #99 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #100 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #101 0x41707052 in KAudioManagerPlay (this=0x81b3820, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #102 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #103 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffaed0) at knotify.moc:93 #104 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #105 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #106 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #107 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #108 0x41707052 in KAudioManagerPlay (this=0x81b25a0, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #109 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #110 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffb290) at knotify.moc:93 #111 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #112 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #113 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #114 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #115 0x41707052 in KAudioManagerPlay (this=0x81b1308, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #116 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #117 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffb650) at knotify.moc:93 #118 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #119 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #120 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #121 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #122 0x41707052 in KAudioManagerPlay (this=0x81b00a0, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #123 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #124 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffba10) at knotify.moc:93 #125 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #126 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #127 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #128 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #129 0x41707052 in KAudioManagerPlay (this=0x81aeea8, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #130 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #131 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffbdd0) at knotify.moc:93 #132 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #133 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #134 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #135 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #136 0x41707052 in KAudioManagerPlay (this=0x81add78, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #137 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #138 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffc190) at knotify.moc:93 #139 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #140 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #141 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #142 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #143 0x41707052 in KAudioManagerPlay (this=0x81ac960, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #144 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #145 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffc550) at knotify.moc:93 #146 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #147 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #148 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #149 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #150 0x41707052 in KAudioManagerPlay (this=0x81ab6e0, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #151 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #152 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffc910) at knotify.moc:93 #153 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #154 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #155 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #156 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #157 0x41707052 in KAudioManagerPlay (this=0x81aa9a8, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #158 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #159 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffccd0) at knotify.moc:93 #160 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #161 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #162 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #163 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #164 0x41707052 in KAudioManagerPlay (this=0x81a9768, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #165 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #166 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffd090) at knotify.moc:93 #167 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #168 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #169 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #170 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #171 0x41707052 in KAudioManagerPlay (this=0x81a8528, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #172 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #173 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffd450) at knotify.moc:93 #174 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #175 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #176 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #177 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #178 0x41707052 in KAudioManagerPlay (this=0x81a77b8, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #179 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #180 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffd810) at knotify.moc:93 #181 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #182 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #183 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #184 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #185 0x41707052 in KAudioManagerPlay (this=0x81a6a90, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #186 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #187 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffdbd0) at knotify.moc:93 #188 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #189 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #190 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #191 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #192 0x41707052 in KAudioManagerPlay (this=0x81a4b20, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #193 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #194 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffdf90) at knotify.moc:93 #195 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #196 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #197 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #198 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #199 0x41707052 in KAudioManagerPlay (this=0x81a37a8, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #200 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #201 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffe350) at knotify.moc:93 #202 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #203 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #204 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #205 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #206 0x41707052 in KAudioManagerPlay (this=0x81a2738, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #207 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #208 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffe710) at knotify.moc:93 #209 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #210 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #211 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #212 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #213 0x41707052 in KAudioManagerPlay (this=0x81a1268, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #214 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #215 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffead0) at knotify.moc:93 #216 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #217 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #218 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #219 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #220 0x41707052 in KAudioManagerPlay (this=0x819e6d0, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #221 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #222 0x416a35db in KNotify::qt_invoke(int, QUObject*) (this=0xbffff220, _id=4, _o=0xbfffee90) at knotify.moc:93 #223 0x40c0769b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #224 0x40c07464 in QObject::activate_signal(int) () from /usr/lib/qt3/lib/libqt-mt.so.3 #225 0x416ff300 in KArtsServer::restartedServer() (this=0x8199238) at kartsserver.moc:82 #226 0x416ff173 in KArtsServer::server() (this=0x8199238) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kartsserver.cpp:103 #227 0x41707052 in KAudioManagerPlay (this=0x819b958, server=0x8199238, title=@0x4106f094) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/kde/kaudiomanagerplay.cpp:29 #228 0x416a7294 in KNotify::restartedArtsd() (this=0xbffff220) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:740 #229 0x416a429d in KNotify (this=0xbffff220, useArts=true) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:223 #230 0x416a3d95 in kdemain (argc=1, argv=0x80875b8) at /localhome/ingo/cvs/kde/3.2/kdelibs/arts/knotify/knotify.cpp:194 #231 0x0804e316 in launch (argc=1, _name=0x807e091 "knotify", args=0x0, cwd=0x0, envc=0, envs=0x0, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8052e47 "0") at /localhome/ingo/cvs/kde/3.2/kdelibs/kinit/kinit.cpp:604 #232 0x08050fd2 in main (argc=3, argv=0xbffff684, envp=0xbffff694) at /localhome/ingo/cvs/kde/3.2/kdelibs/kinit/kinit.cpp:1761
Deleting the following three files fixes the problem. I just deleted all rc files whose name contained 'arts' or 'knotify'. I didn't test deleting which of those files actually fixed the problem. .kde/share/config/artsmessagerc .kde/share/config/kcmartsrc .kde/share/config/knotifyrc Since the files are pretty small I include them here instead of attaching them: .kde/share/config/artsmessagerc ========== [Notification Messages] ShowInfoMessages=false ========== .kde/share/config/kcmartsrc ========== [Arts] AddOptions= Arguments=\s-F 10 -S 4096 -a oss -s 60 -m artsmessage -l 0 AudioIO=oss AutoSuspend=true Bits=0 DeviceName= FullDuplex=false Latency=250 LoggingLevel=0 MessageApplication=artsmessage NetworkTransparent=false ResponseTime=2 SamplingRate=0 StartRealtime=true StartServer=false SuspendTime=60 X11GlobalComm=false ========== .kde/share/config/knotifyrc ========== [Misc] External player= LastConfiguredApp=KDE-Systemnachrichten Use external player=false Volume=100 ========== After a successful start of KDE 3.2 RC1 .kde/share/config/knotifyrc looks like this: ========== [Misc] External player= LastConfiguredApp=KDE-Systemnachrichten Use external player=false Volume=100 [StartProgress] Arts Init=false KNotify Init=true Use Arts=false ==========
to me it seems to display the message that it can't play sounds with a sound :)
Subject: kdelibs/arts/message CVS commit by pfeiffer: don't let a failing artsd activate knotify CCMAIL: 73029@bugs.kde.org Please, can someone test this and backport -- I don't have a machine nor the time to test right now. M +4 -3 artsmessage.cc 1.8 --- kdelibs/arts/message/artsmessage.cc #1.7:1.8 @@ -79,12 +79,13 @@ int main(int argc, char **argv) { } + const int notifyOptions = 0; // never activate KNotify if (args->isSet("w")) { - KMessageBox::sorry(0, msg, i18n("Warning")); + KMessageBox::sorry(0, msg, i18n("Warning"), notifyOptions); } else if (args->isSet("i")) { QString id = msg; id.replace(QRegExp("[\\[\\]\\s=]"), "_"); - KMessageBox::information(0, msg, i18n("Informational"), id); + KMessageBox::information(0, msg, i18n("Informational"), id, notifyOptions); } else { - KMessageBox::error(0, msg, i18n("Error")); + KMessageBox::error(0, msg, i18n("Error"), notifyOptions); }
This doesn't help. And it's not really surprising that it doesn't help because the API doc says "Notify Emit a KNotifyClient event (Not yet implemented)" (http://developer.kde.org/documentation/library/cvs-api/kdeui/html/classKMessageBox.html#w18). A quick look at kmessagebox.cpp shows that this statement is correct. Of course, this patch seems to be a must for when this will be implemented. But that's orthogonal to this bug report.
Subject: Re: after upgrade to 3.2 knotify keeps spawning artsds and prevents KDE from starting On Thursday 22 January 2004 10:49, Ingo Klöcker wrote: > This doesn't help. And it's not really surprising that it doesn't help So you did test it? Too bad :-/ > because the API doc says "Notify Emit a KNotifyClient event (Not yet > implemented)" Sorry, I forgot to remove that comment. > (http://developer.kde.org/documentation/library/cvs-api/kdeui/html/classKMe >ssageBox.html#w18). A quick look at kmessagebox.cpp shows that this > statement is correct. No, please see the sendNotification() method, called from createKMessageBox(). Best wishes Carsten Pfeiffer
The following patch fixes the problem because it prevents the recursion of restartedArtsd() (which emits the restartedServer() signal). I won't be able to commit this before tonight. This code needs to be seriously audited for further stupid bugs. Index: knotify/knotify.cpp =================================================================== RCS file: /home/kde/kdelibs/arts/knotify/knotify.cpp,v retrieving revision 1.88 diff -u -3 -p -r1.88 knotify.cpp --- knotify/knotify.cpp 30 Oct 2003 14:12:25 -0000 1.88 +++ knotify/knotify.cpp 22 Jan 2004 10:30:24 -0000 @@ -219,8 +219,8 @@ KNotify::KNotify( bool useArts ) d->audioManager = 0; if( useArts ) { - connect( soundServer, SIGNAL( restartedServer() ), this, SLOT( restartedArtsd() ) ); restartedArtsd(); //started allready need to initialize d->audioManager + connect( soundServer, SIGNAL( restartedServer() ), this, SLOT( restartedArtsd() ) ); } d->volume = 100;
I leave the bug open as Ingo claims the code should be revised for such cases
Artsd has been replaced by phonon in KDE4