tonkv / qdevelop

Automatically exported from code.google.com/p/qdevelop
0 stars 0 forks source link

Crash when building... #111

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start the build process, click quickly a few times on stop, rebuild, 
build 
2. Eventually some build processes will start in parallel
3. As soon as the second build process finishes, QDevelop crashes...

What is the expected output? What do you see instead?
-> checks are missing weather processes are still running or not. QDevelop 
should wait for a build task to finish before starting a new one...

What version of the product are you using? On what operating system?
0.22-svn

Please provide any additional information below.

Original issue reported on code.google.com by anico...@syr.edu on 6 Mar 2007 at 8:19

GoogleCodeExporter commented 8 years ago
The problem is the use of deleteLater() on QProcess objects that might later 
(in some
slot) still be accessed. The attached patch (against revision 107) fixes that 
issue
by setting the process pointer to zero right after calling deleteLater(). In all
functions that access the process, checks for NULL pointer have been added. 
This was
done for m_build and m_builder. Since that fix, QDevelop doesn't crash 
anylonger when
builder/starting the debugger.

The patch also fixes a minor issue, that arises on SuSE linux, where gcc 
sometimes
writes "Warning:" instead of "warning:" and thus clicking in the build log 
didn't
work. The patch fixes that, too.

Original comment by anico...@syr.edu on 10 Mar 2007 at 2:58

Attachments:

GoogleCodeExporter commented 8 years ago
Can you port this patch to current SVN?

If I am not too lazy, I will patch the toLower() statements in the next week or 
so,
but since I don't see them on my system... :)

Original comment by cucoma...@gmail.com on 20 Jul 2007 at 6:44

GoogleCodeExporter commented 8 years ago
I cannot reproduce it, user did not supply new patch, we close as "work for me"

Original comment by cucoma...@gmail.com on 10 Sep 2007 at 7:26