Crash during import gcode file per drag and drop


#1

After the File selector dialog from File --> Import gcode … didnt show me the folder under /media. I tried to import my gcode file per drag and drop like a stl file.

But the stl parser looks not very robust against different file types because the sw crashes during parsing.

> >> [IncomingFilesManager] Load file : /media/jens/DISK_IMG/gcodeError.gcode
terminate called after throwing an instance of 'std::runtime_error'
  what():  File no longer existing or corrupted
*** Aborted at 1585729352 (unix time) try "date -d @1585729352" if you are using GNU date ***
PC: @                0x0 (unknown)
*** SIGABRT (@0x3e80000753f) received by PID 30015 (TID 0x7f7d7f2804c0) from PID 30015; stack trace: ***
    @          0x40a90ee google::(anonymous namespace)::FailureSignalHandler()
    @     0x7f7d7e34b390 (unknown)
    @     0x7f7d79ed6428 gsignal
    @     0x7f7d79ed802a abort
    @          0x1595ee8 __gnu_cxx::__verbose_terminate_handler()
    @          0x4604686 __cxxabiv1::__terminate()
    @          0x46046c1 std::terminate()
    @          0x45f8e44 __cxa_throw
    @          0x13f8051 IncomingFilesManager::acceptFile()
    @          0x201a0a1 IncomingFilesManager::acceptFiles()
    @          0x29fc22a VoxelizerApp::dragEvent()
    @          0x2abbdd3 vgl::Window::drop_callback_s()
    @          0x40991b0 _glfwPlatformPollEvents
    @          0x15e00dc main
    @     0x7f7d79ec1830 __libc_start_main
    @          0x160d3a9 _start
    @                0x0 (unknown)
Aborted (core dumped)

Best regards Jens