Possible platform specific issue

Hi everyone.

Recently, I started testing Avogadro on a recent Macbook.
Maybe I do something incorrectly, but here it is.

Load Avogadro and draw some molecule. Optimize works.
Display the surface; change settings to lines; select the
manipulation tool, zoom, move, rotate. It all behaves O.K.

Now either quit or load and display some orbital using the
extension.

Attempt to modify the presentation to lines or manipulate
the view crashes the application with segmentation fault.
When orbital display is turned off, manipulation works;
so does surface display. The queer thing is that autorotation
with orbital displayed works!

I would like to know if anyone using a desktop or laptop Mac
noticed something similar and what is the cure.

I use Qt-4.3.4. Failed to run with version 4.4.0.

Meanwhile, I will have to set back presentation in my lab.

Regards,
Louis

Louis Ricard wrote:

Hi everyone.

Recently, I started testing Avogadro on a recent Macbook.
Maybe I do something incorrectly, but here it is.

Load Avogadro and draw some molecule. Optimize works.
Display the surface; change settings to lines; select the
manipulation tool, zoom, move, rotate. It all behaves O.K.

Now either quit or load and display some orbital using the
extension.

The orbital extension is still very new and I debated disabling it for
the release. I think some additional locking is needed somewhere to
ensure all variables are written before anything tries to read them. I
will try to reproduce this but it is possible I didn’t get the logic
completely correct when rereading molecule grids.

Attempt to modify the presentation to lines or manipulate
the view crashes the application with segmentation fault.
When orbital display is turned off, manipulation works;
so does surface display. The queer thing is that autorotation
with orbital displayed works!

It would be great to get a copy of the report the Mac suggests you send
to Apple. I am sure they wouldn’t be interested in it but I would.

I would like to know if anyone using a desktop or laptop Mac
noticed something similar and what is the cure.

I use Qt-4.3.4. Failed to run with version 4.4.0.

Meanwhile, I will have to set back presentation in my lab.

It works fine with Qt 4.4.0 but you need to compile it with CMake 2.6 on
the Mac for it to work. Unfortunately CMake 2.6 does not seem to work
perfectly on the Mac right now. I was able to use it but Geoff had
issues. I think he has worked through them with the CMake devs and
hopefully a fix will be forthcoming in CMake 2.6.1. CMake seems to hang
on some checks when configuring on some Macs.

I will see if I can spot where this crash is coming from before tagging.
I need to go out and grab some lunch now but will take a look when I get
back in.

Thanks,

Marcus