Crash under win32

Hamish Rodda rodda at kde.org
Wed Oct 22 11:44:44 UTC 2008


Hi,

On Wednesday 22 October 2008 07:13:28 Andreas Pakulat wrote:
> Hi,
>
> I had hoped I could blog about kdev4 on win32 again today, but
> unfortunately opening a project fails currently. Its a crash deep in
> duchain, from the cmake manager. The backrace is below, its not very
> extensive, but at least has line information (though they seem to be off by
> one). Basically it crashes inside syncFromSmart when creating the mutex
> locker. At the end after the backtrace you can see the this pointer inside
>
> ::range and ::syncFromSmart. As you can see the m_smartRange and
>
> m_smartMutex are both 0, so somethings wrong
>
> I need some help here as I basically have no idea where to start looking.

BTW, when I get some time and motivation one of the things I want to do is 
remove the sync*Smart methods and make code that wants the smart position hold 
the lock itself (more explicit locking, which makes it more obvious when the 
result is potentially no longer valid).

Cheers,
Hamish.




More information about the KDevelop-devel mailing list