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

List:       kde-core-devel
Subject:    Re: Deadlock on QClipboard
From:       George Staikos <staikos () kde ! org>
Date:       2000-12-22 0:18:12
[Download RAW message or body]


I think this is the cause of the various kmail lockups as well.  The last few 
times that kmail locked up all crashed klipper too.


On Thursday 21 December 2000 15:04, Waldo Bastian wrote:
> Several people have reported hangups of their desktop and I just
> experienced a hangup with kmail. The following backtrace points at
> QClipboard.
>
> I'm using Qt 2.2.2.
>
> Cheers,
> Waldo
>
> #0  0x410f171e in __select () from /lib/libc.so.6
> (gdb) up
> #1  0x40e82df0 in __DTOR_END__ () at fam.c++:357
> 357     }
> (gdb) up
> #2  0x40adb6fa in QClipboardWatcher::getDataInFormat (this=0x84e06f8,
>     fmtatom=436) at kernel/qclipboard_x11.cpp:781
> 781         if (
> !qt_xclb_wait_for_event(dpy,win,SelectionNotify,&xevent,1000) )(gdb) up
> #3  0x40adb166 in QClipboardWatcher::format (this=0x84e06f8, n=1)
>     at kernel/qclipboard_x11.cpp:708
> 708         QByteArray targets = getDataInFormat(xa_targets);
> (gdb) up
> #4  0x40b435a1 in QMimeSource::provides (this=0x84e06f8,
>     mimeType=0x40e3083c "image/ppm") at kernel/qmime.cpp:104
> 104         for (int i=0; (fmt = format(i)); i++) {
> (gdb) up
> #5  0x40ada6c5 in QClipboard::event (this=0x87517e8, e=0xbffff39c)
>     at kernel/qclipboard_x11.cpp:555
> 555                         if (d->source()->provides("image/ppm"))
> atoms++; (gdb) up
> #6  0x40b0b0d8 in QApplication::notify (this=0xbffff688,
> receiver=0x87517e8, event=0xbffff39c) at kernel/qapplication.cpp:1669
> 1669        return receiver->event( event );
> (gdb) up
> #7  0x4085dd56 in KApplication::notify (this=0xbffff688,
> receiver=0x87517e8, event=0xbffff39c) at kapp.cpp:511
> 511         return QApplication::notify(receiver, event);
> (gdb) up
> #8  0x40d795f1 in QApplication::sendEvent (receiver=0x87517e8,
>     event=0xbffff39c) at kernel/qapplication.h:395
> 395     { return qApp->notify( receiver, event ); }
> (gdb) up
> #9  0x40ad330b in QApplication::x11ProcessEvent (this=0xbffff688,
>     event=0xbffff50c) at kernel/qapplication_x11.cpp:2997
> 2997                QApplication::sendEvent( qt_clipboard, &e );
> (gdb) up
> #10 0x40ad1aab in QApplication::processNextEvent (this=0xbffff688,
>     canWait=true) at kernel/qapplication_x11.cpp:2446
> 2446                    if ( x11ProcessEvent( &event ) == 1 ) {
> (gdb) up
> #11 0x40b0d12f in QApplication::enter_loop (this=0xbffff688)
>     at kernel/qapplication.cpp:2556
> 2556            processNextEvent( TRUE );
> (gdb) up
> #12 0x40ad19db in QApplication::exec (this=0xbffff688)
>     at kernel/qapplication_x11.cpp:2402
> 2402        enter_loop();
>
> Cheers,
> Waldo

-- 

George Staikos

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

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