JuPedSim / jpseditor

Editor for the goemetry
Other
4 stars 6 forks source link

crash by uning the assemble zone #223

Open Tito-Li opened 4 years ago

Tito-Li commented 4 years ago

log_2020-10-25-21-16-07.txt

The JPSeditor crashes when using the assemble zone – room, stairs, platform. I get a "segmentation fault" as an error message. I can press one of the three buttons and the window will close immediately. The log file is attached.

The primary system is ARCH Linux with Xfce. CPU: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz VIDEO: NVIDIA Quadro M1000M [GM107GLM]

boost 1.72.0-2 clang 10.0.1-1 cmake 3.18.4-1 compiler-rt 10.0.1-1 fmt 7.0.3-1 gcc 10.2.0-3 gdal 3.0.4-13 glew 2.2.0-2 openmp 10.0.1-1 pdal 2.2.0-1 proj 6.3.2-1 pugixml 1.10-2 qt5-base 5.15.1-3 rhash 1.4.0-1 spdlog 1.8.1-1 vtk 8.2.0-15

You write about using Ubuntu. I can reproduce the crash on the same machine when using Ubuntu, XUbuntu and KUbuntu, each desktop-20.10 as a live system.

The compiled version on Linux has different buttons than the Windows version and both look different than the version on Mac in the tutorial videos. The attached picture shows the Windows editor in the background and in the foreground, the Linux version with "About".

JPS_Editor_Button

sainho93 commented 4 years ago

The version in the tutorial videos is the old version, the complied version is the new version.

What is the commit for you? Thanks for your log file, I can locate the function where the bug is. But I can't reproduce on my Mac.

Tito-Li commented 4 years ago

I am not able to fully understand what is happening and what I am doing.

JPSeditor crash mkdir build && cd build && cmake .. && make

JPSeditor run mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make

I haven't tried the usability yet. The "segmentation fault" with a free click does not occur.