Summary: | kbuildsycoca5 crash in VFolderMenu::excludeItems() with custom applications.menu file | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kservice | Reporter: | thepouar |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | andrew.crouthamel, kdelibs-bugs, thepouar |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | ~/.config/menus/applications.menu |
Description
thepouar
2015-01-26 18:49:51 UTC
found this in stdout right before the segfault ASSERT: "ctime != 0" in file /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/kctimefactory.cpp, line 39 (In reply to thepouar from comment #1) > found this in stdout right before the segfault > > > ASSERT: "ctime != 0" in file > /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/ > kctimefactory.cpp, line 39 this was with CMAKE_BUILD_TYPE set to Debug instead of Release here's the back trace with CMAKE_BUILD_TYPE set to Debug over Release, laos #0 0x00007ffff63b2c14 in raise () from /lib/libc.so.6 #1 0x00007ffff63b3e53 in abort () from /lib/libc.so.6 #2 0x00007ffff6cc797f in QMessageLogger::fatal(char const*, ...) const () from /lib/libQt5Core.so.5 #3 0x00007ffff6cc2c8e in qt_assert(char const*, char const*, int) () from /lib/libQt5Core.so.5 #4 0x000000000045e557 in KCTimeDict::addCTime (this=0x6f5758, path=..., resource=..., ctime=0) at /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/kctimefactory.cpp:39 #5 0x000000000042f37a in KBuildSycoca::createEntry (this=0x6f72e0, file=..., addToFactory=false) at /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/kbuildsycoca.cpp:150 #6 0x000000000042f618 in KBuildSycoca::createService (this=0x6f72e0, path=...) at /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/kbuildsycoca.cpp:168 #7 0x000000000046d828 in VFolderMenu::loadApplications (this=0x858940, dir=..., prefix=...) at /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/vfolder_menu.cpp:942 #8 0x000000000046f8b2 in VFolderMenu::processMenu (this=0x858940, docElem=..., pass=0) at /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/vfolder_menu.cpp:1102 #9 0x0000000000473ce8 in VFolderMenu::parseMenu (this=0x858940, file=...) at /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/vfolder_menu.cpp:1397 #10 0x0000000000430fa4 in KBuildSycoca::build (this=0x6f72e0) at /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/kbuildsycoca.cpp:310 #11 0x0000000000432ae2 in KBuildSycoca::recreate (this=0x6f72e0) at /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/kbuildsycoca.cpp:418 #12 0x000000000043869b in main (argc=1, argv=0x7fffffffdc68) at /home/pouar/Downloads/ABS/kservice/src/kservice-5.6.0/src/kbuildsycoca/kbuildsycoca.cpp:788 Created attachment 92676 [details]
~/.config/menus/applications.menu
ok, after some digging in the source I figured out that it crashed when it was trying to read the 2 LegacyDir tags in this file. when I got rid of one, it froze, when I got rid of both it worked. I deleted the 2 as neither of the 2 directories exists on my system
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! Seems to be no longer crashing, thanks Thanks for the update! |