dji-sdk / FlightRecordParsingLib

DJI Flight Record Parsing Lib
Other
39 stars 12 forks source link

Terminate with error 134 #8

Closed DrakenXI closed 1 year ago

DrakenXI commented 1 year ago

Terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid Aborted (core dumped)

dji-flightrecord-kit/build/Ubuntu/FRSample/FRSample DJI.txt > output.json

Ubuntu 18.04.6 LTS

Jackfeng212 commented 1 year ago

You can try running this command on the terminal.

export SDK_KEY=your Open API Key

Afterwards, you can conduct the test again.

DrakenXI commented 1 year ago

It was not the right user with the environment variable set which launch the program. Problems solve. Thank you.

Please add an explicit error of this case to not have a core dump.

dji-lyt commented 1 year ago

OK, I will send the request for optimizing the error hint back to the engineer.