mfitzp / pathomx

Workflow based scientific analysis built on Python
https://www.mfitzp.com/tools/pathomx/
GNU General Public License v3.0
91 stars 30 forks source link

Mac OSX Crash - Bruker NMR & processing #26

Closed popher closed 10 years ago

popher commented 10 years ago

Running 3.0.0.rc4 on OSX 10.10 Yosemite on a late 2013 macbook pro;

I can import a couple/few Bruker NMR successfully, and load up some processing tools (Peak picking, baseline correction, etc), and then randomly the software crashes.

I've pastebin'd the crash report.

mfitzp commented 10 years ago

Thanks for the bug report @popher. Looking at the report it's an error in the Qt GraphicsScene, I've seen similar issues when items are deleted. Can you confirm whether you had deleted a tool before the crash?

popher commented 10 years ago

I had done yes. I've managed to crash it again by doing much the same - it seems to be that using the Peak Shift & Scale tool triggers the crash (if you've already deleted a tool). Or at least, it has done for me.

mfitzp commented 10 years ago

I'm not sure it's tool-dependent specifically, as the faults are all coming out of the GraphicsScene. The difference between the tools behaviour may be down to the different number of ports (=likelihood of an overlap causing a crash). I can reproduce the crash almost every time by laying two tools on top of each other then deleting the top one.

For the right-click do you have annotations (text, regions) in the workspace?

popher commented 10 years ago

I haven't been using annotations when these issues arrise. I note the right-click issue seems to resolve itself when I switch view to another program (eg. Chrome) briefly then back again.

I must admit I'm struggling to reproduce the crash when I try.

mfitzp commented 10 years ago

Can you try the latest release candidate from http://download.pathomx.org/Pathomx-3.0.0rc5.dmg

Please feel free to re-open this bug if that doesn't fix it for you but I can't reproduce the crashes following this fix. I'll be happy to finally have this one nipped in the bud.