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

List:       kde-devel
Subject:    Re: Qt 4.5 related Crash on KDM Startup? [Fwd]
From:       Thiago Macieira <thiago () kde ! org>
Date:       2009-02-07 8:56:44
Message-ID: 200902070956.44977.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Roman Jarosz wrote:
>I see the same bug with qt-copy and KDE 4.2 (didn't try trunk).
>I've tried to debug it and actually the crash isn't in strlen because
> I've put printf into the XSetCommand in libX11 and it did print
> everything.
>
>The funny thing is that if I put qWarning() in
> kdebase/workspace/kdm/kfrontend/kqapp.cpp it doesn't crash.
>
>debug( "entering event loop\n" );
>rslt = dialog->exec();
>debug( "left event loop\n" );
>qWarning() << "XXXX 1"; // MY WARNING
>delete dialog;
>delete proc2;
>
>The strange thing is that the code actually waits in exec till
>I login so it isn't even executed.
>
>Any ideas?

Sounds like a Heisenbug.

Can you try valgrinding this section of the code? There's some memory junk 
somewhere and valgrind may be of help.

The fact that strlen doesn't crash while debugging doesn't mean that the 
argument it got passed was right.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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