-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Clicking two times at scan button (before the first one finish) causes a crash #459
Comments
Hello! |
Nop, I compile in release mode and O2. Is there some non-standard debugging variable that defaults to true? It is with v3.53.0 |
Ok, this is strange to have an assertion in cmake "Release" build mode (NDEBUG should be defined to remove them. it is explicitely added in Line 51 in a7f4672
|
Indeed, NDEBUG is defined: [1/196] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNDEBUG -Dlmscore_EXPORTS -I/var/tmp/portage/media-sound/lms-3.53.0/work/lms-3.53.0/src/libs/core/include -march=native -O2 -pipe -I/usr/include/stb/deprecated -std=gnu++20 -fPIC -Wall -Wextra -pedantic -MD -MT src/libs/core/CMakeFiles/lmscore.dir/impl/ArchiveZipper.cpp.o -MF src/libs/core/CMakeFiles/lmscore.dir/impl/ArchiveZipper.cpp.o.d -o src/libs/core/CMakeFiles/lmscore.dir/impl/ArchiveZipper.cpp.o -c /var/tmp/portage/media-sound/lms-3.53.0/work/lms-3.53.0/src/libs/core/impl/ArchiveZipper.cpp |
Probably the cause is that I'm running the "hardened" profile of my distro in the server, which probably enables assertions and other checks. |
Btw, I see you add this |
Oh, thanks. I will remove it |
By mistake I clicked two times very fast the scan button, so the first scan was not finished the time I clicked again, which produced a crash with the next message:
The text was updated successfully, but these errors were encountered: