Hey all,

I have a simulator(OpenRAVE) that uses qt,coin and SoQt for the GUI .On ubuntu everything works fine, but on os x I keep getting the error

Qt Code:
  1. Qt has caught an exception thrown from an event handler. Throwing
  2. exceptions from an event handler is not supported in Qt. You must
  3. reimplement QApplication::notify() and catch all exceptions there.
  4.  
  5. terminate called without an active exceptionAbort trap: 6
To copy to clipboard, switch view to plain text mode 

Initially I thought its just on Qt 4.7, but I have also tried re-compiling the app with 4.8 and 4.6 and get the same error. If anybody has experience with this please share any means of resolving it.

Here is the full error log
Qt Code:
  1. 2011-08-03 19:03:30.224 openrave[61205:2e03] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /SourceCache/Foundation/Foundation-833.1/Misc.subproj/NSUndoManager.m:324
  2. 2011-08-03 19:03:30.291 openrave[61205:2e03] +[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.
  3. 2011-08-03 19:03:30.544 openrave[61205:2e03] (
  4. 0 CoreFoundation 0x00007fff89c20986 __exceptionPreprocess + 198
  5. 1 libobjc.A.dylib 0x00007fff8af6bd5e objc_exception_throw + 43
  6. 2 CoreFoundation 0x00007fff89c207ba +[NSException raise:format:arguments:] + 106
  7. 3 Foundation 0x00007fff9573d14f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169
  8. 4 Foundation 0x00007fff956ac35c +[NSUndoManager(NSPrivate) _endTopLevelGroupings] + 144
  9. 5 AppKit 0x00007fff8e22e454 -[NSApplication run] + 589
  10. 6 QtGui 0x000000011ba92750 _ZN19QEventDispatcherMac13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 1824
  11. 7 QtCore 0x000000011c857664 _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE + 68
  12. 8 QtCore 0x000000011c857a14 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 324
  13. 9 QtCore 0x000000011c85a90c _ZN16QCoreApplication4execEv + 188
  14. 10 libqtcoinrave.dylib 0x000000011ab58486 _ZN12QtCoinViewer4mainEb + 110
  15. 11 libqtcoinrave.dylib 0x000000011ab58403 _ZThn40_N12QtCoinViewer4mainEb + 51
  16. 12 openrave 0x000000010fcf07aa _Z18MainOpenRAVEThreadv + 5738
  17. 13 openrave 0x000000010fcfec3f _ZN5boost3_bi5list0clIPFvvES1_EEvNS0_4typeIvEERT_RT0_i + 45
  18. 14 openrave 0x000000010fcfeca2 _ZN5boost3_bi6bind_tIvPFvvENS0_5list0EEclEv + 92
  19. 15 openrave 0x000000010fcfeccd _ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvvENS2_5list0EEEE3runEv + 37
  20. 16 libboost_thread-mt.dylib 0x000000010fd91460 thread_proxy + 160
  21. 17 libsystem_c.dylib 0x00007fff89d9f8bf _pthread_start + 335
  22. 18 libsystem_c.dylib 0x00007fff89da2b75 thread_start + 13
  23. )
  24. 2011-08-03 19:03:30.555 openrave[61205:2e03] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /SourceCache/Foundation/Foundation-833.1/Misc.subproj/NSUndoManager.m:324
  25. Qt has caught an exception thrown from an event handler. Throwing
  26. exceptions from an event handler is not supported in Qt. You must
  27. reimplement QApplication::notify() and catch all exceptions there.
  28.  
  29. terminate called without an active exceptionAbort trap: 6
To copy to clipboard, switch view to plain text mode