# QGC keeps crashing when sentinel drone is reconnected

Source: https://forum.modalai.com/topic/3322/qgc-keeps-crashing-when-sentinel-drone-is-reconnected
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2024-04-13 13:32:33 UTC by Dawid Mościcki
Replies: 2 · Views: 768

## Dawid Mościcki · 2024-04-13 13:32:33 UTC

Hi, Im using sentinel drone.
When drone is connected for the first time to QGC everything works. After lost of signal and reconnection or just powering off drone then powering up QGC is crashing.

Output : 
Settings location "/home/autonomylab/.config/QGroundControl.org/QGroundControl.ini" Is writable?: true
Filter rules "*Log.debug=false\nGStreamerAPILog.debug=true\nqt.qml.connections=false"
System reported locale: QLocale(English, Latin, United States) ; Name "en_US" ; Preffered (used in maps):  "en-US"
MAVLinkLogManagerLog: MAVLink logs directory: "/home/autonomylab/Documents/QGroundControl/Logs"
Map Cache in: "/home/autonomylab/.cache/QGCMapCache300" / "qgcMapCache.db"
qml: QGCCorePlugin(0x5559f952fc80) []
setCurrentPlanViewSeqNum
setCurrentPlanViewSeqNum
_recalcFlightPathSegments homePositionValid false
_recalcFlightPathSegments homePositionValid false
"v4.3.0"
Adding target QHostAddress("192.168.88.243") 14550
_recalcFlightPathSegments homePositionValid false
setCurrentPlanViewSeqNum
setCurrentPlanViewSeqNum
_recalcFlightPathSegments homePositionValid false
_recalcFlightPathSegments homePositionValid false
ParameterManagerLog: Attemping load from cache
ParameterManagerLog: Parameters cache match failed /home/autonomylab/.config/QGroundControl.org/ParamCache/1_1.v2
QCoreApplication::postEvent: Unexpected null receiver
setCurrentPlanViewSeqNum
setCurrentPlanViewSeqNum
_recalcFlightPathSegments homePositionValid false
_recalcFlightPathSegments homePositionValid false
_recalcFlightPathSegments homePositionValid false
VideoReceiverLog: Stop called on empty URI
corrupted size vs. prev_size while consolidating
Aborted (core dumped)

In my other project this type is behavior was caused by my custom px4 module with new set of parameters. Maybe it's possible in Your software as well?

## Reply by Dawid Mościcki · 2024-04-20 18:41:38 UTC

@Zachary-Lowell-0 This could be probably caused by missing sdlog_mode parameter. Maybe it was introduced in one of the commits that modified logger.cpp in src/modules/logger ?

## Reply by Eric Katzfey (ModalAI staff) · 2024-04-22 15:41:59 UTC (in reply to Dawid Mościcki)

@Dawid-Mościcki Perhaps you can ask the QGC development team for some help in narrowing down what is causing QGC to crash. If you think there is a missing parameter then in your `/usr/bin/voxl-px4-start` script add a new line to `touch` the parameter so that QGC will see it. (e.g. `param touch SDLOG_MODE`)
