[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:       "Roman Jarosz" <roman.jarosz () gmail ! com>
Date:       2009-02-07 12:22:41
Message-ID: op.uozdz31irj95b0 () kedge
[Download RAW message or body]

On Sat, 07 Feb 2009 09:56:44 +0100, Thiago Macieira <thiago@kde.org> wrote:

> 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.

Here are the log two runs the second is with check-leak full.

Roman
["log1.txt" (log1.txt)]


["log2.txt" (log2.txt)]



>> 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