Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
crashes, when loading a workspace and then closing CB
Jenna:
--- Quote from: dmoore on September 18, 2012, 05:54:43 pm ---
--- Quote from: jens on September 16, 2012, 07:37:02 pm ---If I open the C::B workspace and start compiling before CC has finished parsing it hangs in almost every case and has to be killed with kill -9
On fedora 64bit.
--- End quote ---
Assume this is separate issue, but got bit by this recently. Any word on a fix?
--- End quote ---
If I am not too impatient, I wait until CC has finished.
Or I disable it, but it is a helpful plugin when navigating through source-code.
No time to dig into it deeper.
It looks like a deadlock, because (normally or better in most or all cases) all threads are in a wait-state if that happens (wxSemaphore::Wait()).
MortenMacFly:
Unfortunately, with the current trunk I can reproduce this crash on Windows. But for me it also crashes with CC disabled.
Basically I cannot shut-down C::B without crash after having loaded any project. Funnily, in the debugger it works. ::) :(
MortenMacFly:
--- Quote from: MortenMacFly on September 18, 2012, 09:47:37 pm ---Funnily, in the debugger it works. ::) :(
--- End quote ---
Now it did, here the (not very helpfule) trace back:
--- Quote ---[debug]#0 0x6274037a in ?? () from C:\Devel\CodeBlocks\src\devel\wxmsw28u_gcc_custom.dll
[debug]#1 0x0043b864 in InfoPane::~InfoPane (this=0x1ef1ff8, __in_chrg=<optimized out>) at C:/Devel/CodeBlocks/src/src/infopane.cpp:61
[debug]#2 0x0043b901 in InfoPane::~InfoPane (this=0x1ef1ff8, __in_chrg=<optimized out>) at C:/Devel/CodeBlocks/src/src/infopane.cpp:63
[debug]#3 0x62878cec in ?? () from C:\Devel\CodeBlocks\src\devel\wxmsw28u_gcc_custom.dll
[debug]#4 0x62701242 in ?? () from C:\Devel\CodeBlocks\src\devel\wxmsw28u_gcc_custom.dll
--- End quote ---
(Jens: I didn't apply our patch yet.)
Jenna:
Did you double-check, that commit 8395 is applied correctly (so that it reverted 8391) ?
Full rebuild, pch's ... ?
gcc 4.6 or 4.7, which wxWidgets ?
MortenMacFly:
--- Quote from: jens on September 18, 2012, 10:20:36 pm ---Did you double-check, that commit 8395 is applied correctly (so that it reverted 8391) ?
--- End quote ---
I think that was it: in main.cpp I forgot to sync the Manager shutdown changes (main.cpp is heavily modified in my local copy). I'll report back...
--- Quote from: jens on September 18, 2012, 10:20:36 pm ---Full rebuild, pch's ... ?
gcc 4.6 or 4.7, which wxWidgets ?
--- End quote ---
Yes, yes, gcc 4.7, wxWidgets 2.8.12.
Navigation
[0] Message Index
[*] Previous page
Go to full version