-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault in thread "LT_ADSBEx" #270
Comments
Fixed it. LT choked on the ADSBEx API key in LiveTraffic.prf. Removed the line and now it starts again. |
Need to reopen because LiveTraffic always segfaults when testing the ADSBEx API key. I've triple checked that it is correct while typing it in. Note that, as opposed to the plugin-laden main isntall that the backtrace above is from, this also happens in a vanilla XP12.1.0rc2 testing installation with zero other plugins. |
Whatever the key...LiveTraffic would certainly not be supposed to crash. But I won't investigate on private builds. If the official download crashes, then please provide |
Clean XP12.1.0rc2 installation, LiveTraffic 3.6.0 being the only plugin. Debug log level and raw network data output enabled. FWIW, adsb.fi works flawlessly. |
Unfortunately the logs don't say much except for the crash being in I've dusted off my Linux installation, but that's Ubuntu 22.04.4. Ran hours of updates to get to latest in both OS and X-Plane (12.1.0-rc-2) and ran LiveTraffic official v3.6.0 totally successful with ADSBEx. The next best I can offer you is this debug-build of LiveTraffic 3.6.0 in the hope that, as symbol tables are included, the crash dump provides more details. Or you play yourself with the code of |
With debug symbols: |
Thanks, the crash dump does have more details...but they don't make sense. The relevant parts are:
The crash location, LTADSBEx.cpp:635, is this line of code:
and from the crash dump we know that Sorry...I'm lost how that can seg fault...and all the rest of LiveTraffic not... |
I've googled "segfault std::tolower" and some results mention the locale, which influences the conversion rules. Maybe this has something to do with it, but setting |
...because all communication threads set the "C" locale already upon spawning, so they can parse network messages in a predictable way and don't confuse dots and commas and the like. It is set through the |
Building LiveTraffic on Arch Linux with commit 696b9e6 and a fresh LT installation produces a segmentation fault when starting a flight.
XP log and GDB backtrace:
X-Plane_gdb_log.txt
- Edit:
The official 3.6.0 release also does this. Sigh. Off to investigate system packages...
The text was updated successfully, but these errors were encountered: