https://bugs.kde.org/show_bug.cgi?id=374600

            Bug ID: 374600
           Summary: KStandardDirs::locateLocal aborts with type="tmp"
           Product: ark
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
  Target Milestone: ---

+++ This bug was initially created as a clone of Bug #328180 +++

Relevant backtrace:
#6  0x00007f5ff90991e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f5ff909c398 in __GI_abort () at abort.c:90
#8  0x00007f5ff9cc3402 in qt_message_fatal (context=..., message=...) at
global/qlogging.cpp:979
#9  0x00007f5ff9cc0fce in QMessageLogger::fatal (this=0x7fff306f5de0,
msg=0x7f6000893a90 "KStandardDirs: The resource type %s is not registered") at
global/qlogging.cpp:384
#10 0x00007f6000767ca6 in KStandardDirs::saveLocation (this=0x1a8f0b0,
type=0x4245dd "tmp", suffix=..., create=true) at
/home/martin/src/kf5/kdelibs-frameworks/tier4/kde4support/src/kdecore/kstandarddirs.cpp:1565
#11 0x00007f600076ad1c in KStandardDirs::locateLocal (type=0x4245dd "tmp",
filename=..., createDir=true) at
/home/martin/src/kf5/kdelibs-frameworks/tier4/kde4support/src/kdecore/kstandarddirs.cpp:2132
#12 0x00007f600076ac48 in KStandardDirs::locateLocal (type=0x4245dd "tmp",
filename=...) at
/home/martin/src/kf5/kdelibs-frameworks/tier4/kde4support/src/kdecore/kstandarddirs.cpp:2122

Reproducible: Always

Steps to Reproduce:
Use code like:
KStandardDirs::locateLocal("tmp", filename.fileName())
Actual Results:  
crash

Expected Results:  
get a filename

This happened with KSnapshot ported to frameworks.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to