https://bugs.kde.org/show_bug.cgi?id=383835
Leslie Zhai <lesliez...@llvm.org.cn> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lesliez...@llvm.org.cn --- Comment #5 from Leslie Zhai <lesliez...@llvm.org.cn> --- Hi Mark, > I'm using latest GIT. Crash is not fixed. Let's find out the root cause! please enable -g: $ mkdir build $ cd build $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Debug \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=ON \ -DK3B_ENABLE_PERMISSION_HELPER=ON $ make -j4 gdb ./build/src/k3b then set breakpoint b libk3b/plugin/k3baudiodecoder.cpp:549 r Creating an audio project, adding tracks, then closing it, goto breakpoint, then p d->metaDataCollection and backtrace show there might be issue during the destructor of KFileMetaData::Extractor, so please download kfilemetadata-5.36.0's tarball https://download.kde.org/stable/frameworks/5.36/kfilemetadata-5.36.0.tar.xz $ tar xvf kfilemetadata-5.36.0.tar.xz $ cd kfilemetadata-5.36.0 add -g for CMakesList.txt: diff --git a/CMakeLists.txt b/CMakeLists.txt index acedc03..4db0051 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,6 +88,7 @@ endif() # TYPE OPTIONAL PURPOSE "Support for mobi metadata") add_definitions(-DTRANSLATION_DOMAIN=\"kfilemetadata5\") +add_definitions(-g) add_subdirectory(src) if (BUILD_TESTING) $ mkdir build $ cd build $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib $ make -j4 # make install then it is able to set breakpoint for the destructor of KFileMetaData::Extractor b /yourpath/kfilemetadata/src/extractor.cpp:32 p d->m_plugin Regards, Leslie Zhai -- You are receiving this mail because: You are watching all bug changes.