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

List:       kde-multimedia
Subject:    Re: knotify crash
From:       Jeff Tranter <tranter () pobox ! com>
Date:       2001-04-27 23:41:17
[Download RAW message or body]

I looked a little further into this. There is a SIGPIPE, but it is ignored. 
The crash is due to a SIGSEGV which seems to be happening here in
kmedia2.h. The value of _cache is 0. This is code generated by mcopidl.
Any ideas?

inline void Arts::PlayObject::play()
{
 _cache?static_cast<Arts::PlayObject_base*>(_cache)->play():static_cast<Arts: 
PlayObject_base*>(_method_call())->play();
}

Here is the complete backtrace.

(gdb) bt
#0  0x40027303 in Arts::PlayObject::play (this=0xbffff0fc)
    at ../../arts/soundserver/kmedia2.h:928
#1  0x400227f6 in KNotify::notifyBySound (this=0xbffff79c, sound=@0xbffff1a8)
    at knotify.cpp:297
#2  0x40021fc7 in KNotify::notify (this=0xbffff79c, event=@0xbffff1e0,
    fromApp=@0xbffff1dc, text=@0xbffff1d8, sound={static null = {
        static null = <same as static member of an already seen type>,
        d = 0x80498f0, static shared_null = 0x80498f0}, d = 0xbffff1a8,
      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 = 0xbffff1ac,
      static shared_null = 0x80498f0}, present=1, level=-1) at knotify.cpp:236
#3  0x40023353 in KNotify::process (this=0xbffff79c, fun=@0xbffff300,
    data=@0xbffff2f8, replyType=@0xbffff2ec, replyData=@0xbffff2e4)
    at knotify_skel.cpp:40
#4  0x406ae94e in DCOPClient::receive (this=0x804c1f8, objId=@0xbffff308,
    fun=@0xbffff300, data=@0xbffff2f8, replyType=@0xbffff2ec,
    replyData=@0xbffff2e4) at dcopclient.cpp:1288
#5  0x406a9644 in DCOPProcessInternal (d=0x804c7f8, opcode=1, key=1,
    dataReceived=@0xbffff3c0, canPost=true) at dcopclient.cpp:352
#6  0x406a9225 in DCOPProcessMessage (iceConn=0x804d360,
    clientObject=0x804c7f8, opcode=1, length=171, replyWait=0x0,
    replyWaitRet=0xbffff42c) at dcopclient.cpp:293
---Type <return> to continue, or q <return> to quit---
#7  0x406b87a7 in KDE_IceProcessMessages (iceConn=0x804d360, replyWait=0x0,
    replyReadyRet=0x0) at process.c:325
#8  0x406af5f8 in DCOPClient::processSocketData (this=0x804c1f8)
    at dcopclient.cpp:1490
#9  0x409aef97 in QObject::activate_signal (this=0x8087020,
    signal=0x40d1df44 "activated(int)", param=3) at kernel/qobject.cpp:2089
#10 0x40a16c55 in QSocketNotifier::activated (this=0x8087020, t0=3)
    at kernel/moc_qsocketnotifier.cpp:85
#11 0x409ec942 in QSocketNotifier::event (this=0x8087020, e=0xbffff630)
    at kernel/qsocketnotifier.cpp:253
#12 0x40961278 in QApplication::notify (this=0xbffff870, receiver=0x8087020,
    event=0xbffff630) at kernel/qapplication.cpp:1682
#13 0x405d2b87 in KApplication::notify (this=0xbffff870, receiver=0x8087020, 
    event=0xbffff630) at kapp.cpp:517
#14 0x40c500f5 in QApplication::sendEvent (receiver=0x8087020,
    event=0xbffff630) at kernel/qapplication.h:397
#15 0x4091ef5c in sn_activate () at kernel/qapplication_x11.cpp:2453
#16 0x4091f546 in QApplication::processNextEvent (this=0xbffff870,
    canWait=true) at kernel/qapplication_x11.cpp:2652
#17 0x4096395f in QApplication::enter_loop (this=0xbffff870)
    at kernel/qapplication.cpp:2569
#18 0x4091f03b in QApplication::exec (this=0xbffff870)
    at kernel/qapplication_x11.cpp:2497
---Type <return> to continue, or q <return> to quit---
#19 0x4002140c in main (argc=1, argv=0xbffff9fc) at knotify.cpp:105
(gdb)


On Wednesday 25 April 2001 22:56, Jeff Tranter wrote:
> 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
_______________________________________________
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