iut-ibk / DynaMind-ToolBox

DynaMind-ToolBox
www.dance4water.org
GNU General Public License v2.0
9 stars 6 forks source link

segfault #235

Closed ghost closed 10 years ago

ghost commented 10 years ago

* Error in `/home/gaelic/Work/Programs/DynaMind-ToolBox/build/output/dynamind-gui': corrupted double-linked list: 0x0000000003c3fa00 *

beim Setzen einer Verbindung zwischen 2 Modulen. Tritt regelmäßig auf.

ghost commented 10 years ago

Happens also when deleting a link between modules.

christianurich commented 10 years ago

I get similar crashes, which make the GUI tricky to use. But I couldn't work out where it is coming from. It's particularly bad when working in groups, than it crashes when adding a module, linking or moving modules.

But I was suspecting a faulty qt installation, though all the other programs compiled gainst the same qt like qgis seem to work fine.

zacharias2k commented 10 years ago

@chmuibk and I spent some time trying to break it down on something. Seems to be a corrupted pointer, it is always crashing when calling qt related functions, thus I think it is really something @christianurich mentioned, a wrong Qt version or similar. It does not occur on my current system, neither is it possible for me to reproduce it on my local system.

christianurich commented 10 years ago

With OSX 10.9 some libs have changed and I'm not sure if the crashes where related to that. But as said other qt based stuff like QGIS seems to work fine. here a crash report https://gist.github.com/christianurich/7639940

I get the same behaviour as you described, corrupt pointer and qt related function... But debugging was not giving me much more information. It's especially bad when using groups (nearly unusable).

ghost commented 10 years ago

I did some testing with no positive result.

First of all the history: until (?) August I had no problems at all, maybe also not in Sepember. Recently I started working on modules again and ran into the segfaults.

1st guess: faulty, buggy qt version: I tried now qt-4.8.5-6, qt-4.8.5-3 and qt-4.8.4-18 dynamind-gui crashes with all of them


Error messages seem to be a bit random:


* Error in `/home/gaelic/Work/Programs/DynaMind-ToolBox/build/output/dynamind-gui': invalid fastbin entry (free): 0x000000000316b410 *

* Error in `/home/gaelic/Work/Programs/DynaMind-ToolBox/build/output/dynamind-gui': free(): invalid pointer: 0x0000000003469c40 *

* Error in `/home/gaelic/Work/Programs/DynaMind-ToolBox/build/output/dynamind-gui': corrupted double-linked list: 0x0000000002a9d290 *

* Error in `/home/gaelic/Work/Programs/DynaMind-ToolBox/build/output/dynamind-gui': realloc(): invalid pointer: 0x0000000002ac0260 *

all of the happen when draging a link between modules.


One more comment on that:

qt-4.8.4 seems to be more robust. While qt-4.8.5 crashes within the first 3 or 4 "Link-drags" with qt-4.8.4 on average it takes longer.