Bugs item #3535488, was opened at 2012-06-15 07:43
Message generated for change (Comment added) made by ghutchis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=3535488&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: Interface
Group: v 1.1.0
Status: Open
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Geoff Hutchison (ghutchis)
Summary: Copying segfaults when no unit cell defined

Initial Comment:
Avogadro version: 1.1.0   Git:    c52ef94

Steps to reproduce:
1) draw some atoms
2) select them
3) select copy
avogadro crashes

Valgrind reveals that the culprit is MainWindow::prepareClipboardData(), line 
2397. There we have

moleculeCopy->setOBUnitCell
        (new OBUnitCell(*(d->molecule->OBUnitCell())));

The crash doesn't happen if a unit cell is defined. The reason to the crash is 
most likely d->molecule->OBUnitCell() being NULL.

- Tuukka

----------------------------------------------------------------------

>Comment By: Geoff Hutchison (ghutchis)
Date: 2012-06-15 07:45

Message:
There's a fix, if you'd like to confirm:
http://review.source.kitware.com/#/t/812/

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=3535488&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

Reply via email to