[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    knotify crash
From:       Jeff Tranter <tranter () pobox ! com>
Date:       2001-04-26 2:56:30
[Download RAW message or body]

I recently noticed I can consistently crash knotify by following
this scenario:

- make sure artsd and knotify are running
- hit <tab><tab> in the shell and hear a beep from artsd
- kill artsd
- hit <tab><tab> in the shell and knotify crashes

Here is a traceback. I think it is a write to a closed pipe to the
sound server that causes a SIGPIPE but I had trouble debugging knotify
under gdb. This is with current kdelibs in CVS.

0x41088d29 in wait4 () from /lib/libc.so.6
#0  0x41088d29 in wait4 () from /lib/libc.so.6
#1  0x410e3cd8 in __check_rhosts_file () from /lib/libc.so.6
#2  0x4032f65b in waitpid () from /lib/libpthread.so.0
#3  0x40617820 in KCrash::defaultCrashHandler (signal=11) at kcrash.cpp:194
#4  0x4102a868 in sigaction () from /lib/libc.so.6
#5  0x400227f6 in KNotify::notifyBySound (this=0xbffff8dc, sound=@0xbffff2e8)
    at knotify.cpp:297
#6  0x40021fc7 in KNotify::notify (this=0xbffff8dc, event=@0xbffff320, 
    fromApp=@0xbffff31c, text=@0xbffff318, sound={static null = {
        static null = <same as static member of an already seen type>, 
        d = 0x80498f0, static shared_null = 0x80498f0}, d = 0xbffff2e8, 
      static shared_null = 0x80498f0}, file={static null = {
        static null = <same as static member of an already seen type>, 
        d = 0x80498f0, static shared_null = 0x80498f0}, d = 0xbffff2ec, 
      static shared_null = 0x80498f0}, present=1, level=-1) at knotify.cpp:236
#7  0x40023353 in KNotify::process (this=0xbffff8dc, fun=@0xbffff440, 
    data=@0xbffff438, replyType=@0xbffff42c, replyData=@0xbffff424)
    at knotify_skel.cpp:40
#8  0x406aa94e in DCOPClient::receive (this=0x804c1f8, objId=@0xbffff448, 
    fun=@0xbffff440, data=@0xbffff438, replyType=@0xbffff42c, 
    replyData=@0xbffff424) at dcopclient.cpp:1288
#9  0x406a5644 in DCOPProcessInternal (d=0x804c7f8, opcode=1, key=1, 
    dataReceived=@0xbffff500, canPost=true) at dcopclient.cpp:352
#10 0x406a5225 in DCOPProcessMessage (iceConn=0x804d360, 
    clientObject=0x804c7f8, opcode=1, length=173, replyWait=0x0, 
    replyWaitRet=0xbffff56c) at dcopclient.cpp:293
#11 0x406b47a7 in KDE_IceProcessMessages (iceConn=0x804d360, replyWait=0x0, 
    replyReadyRet=0x0) at process.c:325
#12 0x406ab5f8 in DCOPClient::processSocketData (this=0x804c1f8)
    at dcopclient.cpp:1490
#13 0x409aaf97 in QObject::activate_signal (this=0x8085a00, 
    signal=0x40d19f44 "activated(int)", param=3) at kernel/qobject.cpp:2089
#14 0x40a12c55 in QSocketNotifier::activated (this=0x8085a00, t0=3)
    at kernel/moc_qsocketnotifier.cpp:85
#15 0x409e8942 in QSocketNotifier::event (this=0x8085a00, e=0xbffff770)
    at kernel/qsocketnotifier.cpp:253
#16 0x4095d278 in QApplication::notify (this=0xbffff9b0, receiver=0x8085a00, 
    event=0xbffff770) at kernel/qapplication.cpp:1682
#17 0x405ceb87 in KApplication::notify (this=0xbffff9b0, receiver=0x8085a00, 
    event=0xbffff770) at kapp.cpp:517
#18 0x40c4c0f5 in QApplication::sendEvent (receiver=0x8085a00, 
    event=0xbffff770) at kernel/qapplication.h:397
#19 0x4091af5c in sn_activate () at kernel/qapplication_x11.cpp:2453
#20 0x4091b546 in QApplication::processNextEvent (this=0xbffff9b0, 
    canWait=true) at kernel/qapplication_x11.cpp:2652
#21 0x4095f95f in QApplication::enter_loop (this=0xbffff9b0)
    at kernel/qapplication.cpp:2569
#22 0x4091b03b in QApplication::exec (this=0xbffff9b0)
    at kernel/qapplication_x11.cpp:2497
#23 0x4002140c in main (argc=1, argv=0xbffffb3c) at knotify.cpp:105


_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@master.kde.org
http://master.kde.org/mailman/listinfo/kde-multimedia

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic