Bugs item #3530789, was opened at 2012-05-30 05:25 Message generated for change (Settings changed) made by ghutchis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=835077&aid=3530789&group_id=165310
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Rendering Group: v 1.1.0 >Status: Pending >Resolution: Fixed Priority: 5 Private: No Submitted By: Michael Banck (mbanck) Assigned to: Marcus D. Hanwell (cryosuk) Summary: Segfault when opening CH4 if "cartoon" engine is active Initial Comment: I get a segfault when opening testfiles/methane.FChk, using RC1 of avogadro-1.1 OpenBabel converts this fine, and avogadro-1.0.3 as well. ---------------------------------------------------------------------- Comment By: Geoff Hutchison (ghutchis) Date: 2012-06-13 18:34 Message: Bump. Michael, can you test the development master now? ---------------------------------------------------------------------- Comment By: Marcus D. Hanwell (cryosuk) Date: 2012-06-06 13:23 Message: Commit http://review.source.kitware.com/6120 here fixes the issue for me - it is the perception/setOBMol call that then invalidates the meshes for the orbital extension. I don't think we should do this from within the engine either. ---------------------------------------------------------------------- Comment By: Marcus D. Hanwell (cryosuk) Date: 2012-06-06 13:14 Message: By cannot, I meant can... ---------------------------------------------------------------------- Comment By: Marcus D. Hanwell (cryosuk) Date: 2012-06-06 13:10 Message: This crash only happens when the orbitals extension is loaded, it is a race condition from the looks of it that I cannot reproduce (no crash here). The cartoon engine is casting away the constness of the molecule and doing things when we assume the molecule is read only which won't help. Seeing if I can improve the situation. ---------------------------------------------------------------------- Comment By: David Lonie (mr_grieves) Date: 2012-05-30 10:34 Message: As a guess, this sounds like a collision between the cartoon and orbital extensions trying to pass around cubes/meshes, which are stored in the Molecule... ---------------------------------------------------------------------- Comment By: Michael Banck (mbanck) Date: 2012-05-30 10:31 Message: Further information: The orbital extension needs to be activated as well, otherwise, the segfault does not seem to trigger. ---------------------------------------------------------------------- Comment By: Michael Banck (mbanck) Date: 2012-05-30 10:22 Message: Seems to only happen when I open methane, even the .xyz file of it. Maybe a symmetry thing? This is the backtrace I get: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffc9531700 (LWP 986)] 0x00007ffff5f55f5a in Avogadro::Cube::value(Eigen::Matrix<int, 3, 1, 2, 3, 1> const&) const () from /usr/lib/libavogadro.so.1 (gdb) bt #0 0x00007ffff5f55f5a in Avogadro::Cube::value(Eigen::Matrix<int, 3, 1, 2, 3, 1> const&) const () from /usr/lib/libavogadro.so.1 #1 0x00007ffff5f77b4d in Avogadro::MeshGenerator::marchingCube(Eigen::Matrix<int, 3, 1, 2, 3, 1> const&) () from /usr/lib/libavogadro.so.1 #2 0x00007ffff5f781f9 in Avogadro::MeshGenerator::run() () from /usr/lib/libavogadro.so.1 #3 0x00007ffff66c3e15 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007ffff520a8ca in start_thread () from /lib/libpthread.so.0 #5 0x00007ffff7b4c92d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () ---------------------------------------------------------------------- Comment By: Michael Banck (mbanck) Date: 2012-05-30 05:57 Message: OK, I found it: it only happens when the "cartoon" engine is activated. ---------------------------------------------------------------------- Comment By: Michael Banck (mbanck) Date: 2012-05-30 05:33 Message: Same for methane.out and methane-gaussian.fchk ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=835077&aid=3530789&group_id=165310 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Avogadro-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/avogadro-devel
