ghutchis / avogadro

Avogadro is an advanced molecular editor designed for cross-platform use in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas. It offers flexible rendering and a powerful plugin architecture.
http://avogadro.cc/
GNU General Public License v2.0
2 stars 0 forks source link

Crash on MacOS: Import multi-molecule PDB file #693

Closed ghutchis closed 8 years ago

ghutchis commented 10 years ago

I was having frequent crashes on Mac (change view type, especially) with 1.1.0 running on MacOS 10.9/Mavericks, most of which were resolved upon switching to nightly builds.

However on the current/last nightly - 11/15 git rev c1fcc5b - I am getting repeatable crashes when I try to open a multi-molecule PDB file. Avogadro starts opening the file, displays "opening multi-molecule file, this may take a while," and then crashes with:

... Crashed Thread: 11 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x000000010e5f5ff0

VM Regions Near 0x10e5f5ff0: IOKit 000000010e575000-000000010e5f5000 [ 512K] rw-/rw- SM=SHM
--> STACK GUARD 000000010e5f5000-000000010e5f6000 [ 4K] ---/rwx SM=NUL stack guard for thread 11 Stack 000000010e5f6000-000000010e678000 [ 520K] rw-/rwx SM=COW thread 11 ...

I am attaching the full (I think) crash dump to this ticket.

Thanks for the amazing work on this program!

Reported by: *anonymous

ghutchis commented 10 years ago

I'd really need an example file. Also, the current nightly builds don't give much debugging information (to help out a friend, these have full optimizations turned on). I'd be happy to send a fully-debug build if you're willing to test.

Thanks!

Original comment by: @ghutchis

ghutchis commented 10 years ago

Sounds great! I'm happy to test with a verbosely logging nightly build, though at this point I may want to test on a newer nightly once I'm home to make sure the problem persists. Likewise the example/input file I was working with isn't accessible to me right now but will be later this evening; I will update then.

Jon

Original comment by: *anonymous