Closed zlite closed 9 years ago
crashing (on first) quit
DEBUG 2014-10-31T15:30:15.094 save tlog dir to: "/home/zhaixiang/apmplanner2/tlogs"
[Thread 0x7fffe1858700 (LWP 8502) exited]
[Thread 0x7fff08ff9700 (LWP 8580) exited]
[Thread 0x7fff9affd700 (LWP 8517) exited]
[Thread 0x7fff8bfff700 (LWP 8533) exited]
INFO 2014-10-31T15:30:15.240 ~GAudioOutput()
[Thread 0x7fffe3feb700 (LWP 8501) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff087f8700 (LWP 8581)]
0x00007ffff38ece1b in QReadWriteLock::lockForWrite() () from /usr/lib/libQt5Core.so.5
(gdb) bt
#0 0x00007ffff38ece1b in QReadWriteLock::lockForWrite() () from /usr/lib/libQt5Core.so.5
#1 0x00007ffff4852588 in ?? () from /usr/lib/libQt5Sql.so.5
#2 0x000000000057c461 in core::PureImageCache::PutImageToCache(QByteArray const&, core::MapType::Types const&, core::Point const&, int const&) ()
#3 0x000000000057fa66 in core::TileCacheQueue::run() ()
#4 0x00007ffff38f2ee3 in ?? () from /usr/lib/libQt5Core.so.5
#5 0x00007ffff704d0a2 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff2b1732d in clone () from /usr/lib/libc.so.6
It is difficult to reproduce the bug, if clicked the _Options_ on the right bottom corner several times to change the _Map type_
Thanks for report. I have been following up with this here https://github.com/diydrones/apm_planner/issues/496
There looks like some issue with the new implementation of QSerailPortInfo. There is a change here https://qt.gitorious.org/qt/qtserialport/commit/48607a2d0774ffe8ce87d5d611d025eb985d1f6f that may be part of the problem or part solution to an old problem.
I am creating a debug build of the Qt libs to investigate why the issue is happening.
Just discovered that if I run from the .dmg it runs overtime, until I say 'trust apps run from this dmg'. Which is strange to say the least.
Any ETA on a fix here? Our should those of us on Macs revert to an older version of APM Planner for now?
AFAIU You'll need to go back to Mavericks. This is a problem with Yosmeite.
From further investigation it looks like a Gatekeeper issue. On first run it allows everything to work. But in second non all privileges remain and the call to list serial devices is failed by the system.
The solution maybe to have the app signed with a developer ID.
I'll look into that tomorrow
I don't think that's a viable option for most Mac users. My sense is that most of us have upgraded to Yosemite and I doubt many of us can or want to downgrade for this. If we need to have it signed with a Developer ID, we can look into that, but if there's no way to revert the APM Planner code to a version that will avoid this, I think we need to pull the app until we have a solution.
Beta release notifications to users where rolled back last week to rc3. Which works on Yosemite without a crash, but has the dialog issue as reported before. https://github.com/diydrones/apm_planner/issues/496
Fixes for Yosemite in Qt contain changes in QSerialPort which now trigger some unexpected behaviour in 10.10 as described above (a call fails due to the security layer). It shouldn't, but does. I'm looking into that fix. Hence the comment that APM Planner currently only works correctly on Mavericks until we have the fixes figured out and working.
As for upgrading of OSX. It's less prevalent than iOS. It's very much the norm for OSX users to wait for .1 of a release before upgrading main workhorses. Due to these 'glitches' that get into the release. These issue can be made worse when you are running on top a framework like Qt, or Java, as if that also needs a release, it can take an extra amount of time.
That said, I hope to figure out a workaround for Yosemite. I believe we've identified the issue now, it's just testing that out.
Sounds good. I'll roll back to RC3, since I know how to work around the dialog issue. Thanks for the quick response!
Do you know which build of RC3 works? The latest one (http://firmware.diydrones.com/Tools/APMPlanner/daily/2014-10-24/apm_planner_2.0.15-rc3-35-g1c698bc_osx.dmg) crashes on Yosemite.
you need the one from http://firmware.diydrones.com/Tools/APMPlanner/beta/apm_planner_2.0.15-rc3_osx.dmg
Phew! That works! Many thanks...
I've pushed an rc5 that reverts to Qt5.2.1 until I have a fix for the crash. This means we can keep adding improvements that we are also working on. expect rc5 today
Closed. New builds are based on Qt5.4.2 which removes this problem
After new install, the first launch works fine. But on second launch and forever more the app crashes at launch. Crash report:
see here https://gist.github.com/billbonney/f8585980aff19d6f0cbf