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

List:       kde-devel
Subject:    Re: Solid bug to report ?
From:       Thiago Macieira <thiago () kde ! org>
Date:       2007-06-26 7:50:26
Message-ID: 200706260950.34026.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Thiago Macieira wrote:
>David Boosalis wrote:
>>Don't suppose a ten line example would help:
>
>That means duplicating your circumstances, whereas a backtrace and a
>valgrind trace would indicate the problem immediately.

I don't know if you got my meaning, but I said that because I couldn't 
reproduce the crash. The application here wouldn't crash: it would just 
sit there at 100% CPU use and not do a thing.

Then I realised it was doing something: it was consuming memory. There's 
an infinite loop in Solid in these functions:

#10 0xb7f2de95 in operator-> (this=0xb7f65a50) 
at /home/thiago/src/kde4/KDE/kdelibs/solid/solid/networking.cpp:27
#11 0xb7f2df82 in operator Solid::NetworkingPrivate* (this=0xb7f65a50) 
at /home/thiago/src/kde4/KDE/kdelibs/solid/solid/networking.cpp:27
#12 0xb7f2dddb in NetworkingPrivate (this=0x9e445d0) 
at /home/thiago/src/kde4/KDE/kdelibs/solid/solid/networking.cpp:35

Infinite recursion due to K_GLOBAL_STATIC: that macro is not reentrant. 
You must not access it from the constructor of the object it's going to 
hold.

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