Pre V1 on Intel Mac

Hi all.

I have not rebuilt Avo in the past months and gave it a go
today.

Using :
MacOSX 10.5.5,
Qt 4.4.3
cmake 2.6.2
latest openbabel trunk
latest Eigen2 trunk

Builds fine, but crashes on startup with this :

"ricard$ /Applications/Avogadro.app/Contents/MacOS/avogadro
2008-11-23 20:21:09.292 avogadro[29070:10b] ***
_NSAutoreleaseNoPool(): Object 0x1628870 of class NSCFString
autoreleased with no pool in place - just leaking
Stack: (0x90da3adf 0x90cb01f2 0x91f661f1 0x91f6625d 0x91f662b1
0x91f6494c 0x91f64a12 0x91efcb57 0x149d77b 0xa2a217 0x9d3173 0x9d34e3
0x9643 0x10175 0x7066)
2008-11-23 20:21:09.294 avogadro[29070:10b] ***
_NSAutoreleaseNoPool(): Object 0x1629e90 of class NSCFString
autoreleased with no pool in place - just leaking
Stack: (0x90da3adf 0x90cb01f2 0x90cbb64a 0x91f6627d 0x91f662b1
0x91f6494c 0x91f64a12 0x91efcb57 0x149d77b 0xa2a217 0x9d3173 0x9d34e3
0x9643 0x10175 0x7066)
2008-11-23 20:21:09.294 avogadro[29070:10b] *** -[NSCFBoolean length]:
unrecognized selector sent to instance 0xa02813f8
2008-11-23 20:21:09.295 avogadro[29070:10b] ***
_NSAutoreleaseNoPool(): Object 0x162a2c0 of class NSCFString
autoreleased with no pool in place - just leaking
Stack: (0x90da3adf 0x90cb01f2 0x91f661f1 0x91f6625d 0x91f662f1
0x91f6494c 0x91f64a12 0x91efcb57 0x149d77b 0xa2a217 0x9d3173 0x9d34e3
0x9643 0x10175 0x7066)
2008-11-23 20:21:09.295 avogadro[29070:10b] ***
_NSAutoreleaseNoPool(): Object 0x162a100 of class NSCFString
autoreleased with no pool in place - just leaking
Stack: (0x90da3adf 0x90cb01f2 0x90cbb64a 0x91f6627d 0x91f662f1
0x91f6494c 0x91f64a12 0x91efcb57 0x149d77b 0xa2a217 0x9d3173 0x9d34e3
0x9643 0x10175 0x7066)
2008-11-23 20:21:09.296 avogadro[29070:10b] ***
_NSAutoreleaseNoPool(): Object 0x1628430 of class NSCFString
autoreleased with no pool in place - just leaking
Stack: (0x90da3adf 0x90cb01f2 0x90cbb64a 0x91f66312 0x91f6494c
0x91f64a12 0x91efcb57 0x149d77b 0xa2a217 0x9d3173 0x9d34e3 0x9643
0x10175 0x7066)
2008-11-23 20:21:09.297 avogadro[29070:10b] ***
_NSAutoreleaseNoPool(): Object 0x162a180 of class NSException
autoreleased with no pool in place - just leaking
Stack: (0x90da3adf 0x90cb01f2 0x91f66342 0x91f6494c 0x91f64a12
0x91efcb57 0x149d77b 0xa2a217 0x9d3173 0x9d34e3 0x9643 0x10175 0x7066)
2008-11-23 20:21:09.297 avogadro[29070:10b] ***
_NSAutoreleaseNoPool(): Object 0x1628420 of class _NSCallStackArray
autoreleased with no pool in place - just leaking
Stack: (0x90da3adf 0x90cb01f2 0x90d0a078 0x91f5f14b 0x951a5e3b
0x91f6634a 0x91f6494c 0x91f64a12 0x91efcb57 0x149d77b 0xa2a217
0x9d3173 0x9d34e3 0x9643 0x10175 0x7066)
2008-11-23 20:21:09.298 avogadro[29070:10b] ***
_NSAutoreleaseNoPool(): Object 0x162a710 of class NSCFString
autoreleased with no pool in place - just leaking
Stack: (0x90da3adf 0x90cb01f2 0x90cbb64a 0x91f5f0ce 0x951a5e3b
0x91f6634a 0x91f6494c 0x91f64a12 0x91efcb57 0x149d77b 0xa2a217
0x9d3173 0x9d34e3 0x9643 0x10175 0x7066)
2008-11-23 20:21:09.298 avogadro[29070:10b] ***
_NSAutoreleaseNoPool(): Object 0x162a4e0 of class NSCFData
autoreleased with no pool in place - just leaking
Stack: (0x90da3adf 0x90cb01f2 0x90cc48c5 0x90cc44a1 0x91f5f0e2
0x951a5e3b 0x91f6634a 0x91f6494c 0x91f64a12 0x91efcb57 0x149d77b
0xa2a217 0x9d3173 0x9d34e3 0x9643 0x10175 0x7066)
2008-11-23 20:21:09.298 avogadro[29070:10b] *** Terminating app due to
uncaught exception ‘NSInvalidArgumentException’, reason: '*** -
[NSCFBoolean length]: unrecognized selector sent to instance 0xa02813f8’
2008-11-23 20:21:09.299 avogadro[29070:10b] Stack: (
2448814411,
2501533243,
2448843594,
2448836940,
2448837138,
2448411479,
21616507,
10658327,
10301811,
10302691,
38467,
65909,
28774
)

Trace/BPT trap"

I missed something in dependencies ?

Thanks for any sugestions,

Louis

On Sunday 23 November 2008 14:31:55 Louis Ricard wrote:

Hi all.

I have not rebuilt Avo in the past months and gave it a go
today.

Using :
MacOSX 10.5.5,
Qt 4.4.3
cmake 2.6.2
latest openbabel trunk
latest Eigen2 trunk

This looks like a weird Mac/CMake/Qt bug Geoff and I have observed on and off.
It first appeared when Qt 4.4 was released and Avogadro was compiled with
CMake 2.4.*. Then it got quickly fixed when CMake 2.6.0 was released. Then I
observed it again recently with Qt 4.4.3. I think backing out to Qt 4.4.0
resolved the issue.

The application crashes before any of our code is ever executed as far as I
can tell. I have not had the time to sit down and try to come up with a
minimal test case to demonstrate this issue. It does seem to be an interaction
of some kind between CMake, Qt and Mac OS X.

Let me know if going back to an earlier Qt resolves the issue for you too.

Thanks,

Marcus

Marcus,

Reverted to Qt 4.4.0.
Still get the same error.
May be too quick and dirty rebuild.
Will follow up the cmake version.

I will try rebuilding from the grounds up (openbabel …)
This will take some time. I will keep you informed.

By the way, I could not rebuild openbabel with
cmake 2.6.0 before getting trunk from svn.
Present version built with cmake 2.6.0
Probably not an issue.

Cheers

Louis

Le 23 nov. 08 à 21:17, Marcus D. Hanwell a écrit :

On Sunday 23 November 2008 14:31:55 Louis Ricard wrote:

Hi all.

I have not rebuilt Avo in the past months and gave it a go
today.

Using :
MacOSX 10.5.5,
Qt 4.4.3
cmake 2.6.2
latest openbabel trunk
latest Eigen2 trunk

This looks like a weird Mac/CMake/Qt bug Geoff and I have observed
on and off.
It first appeared when Qt 4.4 was released and Avogadro was compiled
with
CMake 2.4.*. Then it got quickly fixed when CMake 2.6.0 was
released. Then I
observed it again recently with Qt 4.4.3. I think backing out to Qt
4.4.0
resolved the issue.

The application crashes before any of our code is ever executed as
far as I
can tell. I have not had the time to sit down and try to come up
with a
minimal test case to demonstrate this issue. It does seem to be an
interaction
of some kind between CMake, Qt and Mac OS X.

Let me know if going back to an earlier Qt resolves the issue for
you too.

Thanks,

Marcus


This SF.Net email is sponsored by the Moblin Your Move Developer’s
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
avogadro-devel List Signup and Options

Reverted to Qt 4.4.0.
Still get the same error.

Your error is a little different than what I’ve seen, but we
definitely need to track that down. I’ll see if I can get one of the
Qt examples building with Cmake as a minimal test case.

Right now, I’m using Qt-4.4.0 and CMake 2.6.0 on Leopard and it
definitely works.

Hope that helps,
-Geoff

Hi all.

Reverted to cmake-2.6.0 ans Qt-4.4.0
then rebuilt Eigen2, openbabel and Avogadro.
It indeed now works, so I can start exploring …

Thanks for the help,

Louis

Le 24 nov. 08 à 01:24, Geoffrey Hutchison a écrit :

Reverted to Qt 4.4.0.
Still get the same error.

Your error is a little different than what I’ve seen, but we
definitely need to track that down. I’ll see if I can get one of the
Qt examples building with Cmake as a minimal test case.

Right now, I’m using Qt-4.4.0 and CMake 2.6.0 on Leopard and it
definitely works.

Hope that helps,
-Geoff