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

            Bug ID: 386063
           Summary: Crash on opening file dialog
           Product: digikam
           Version: 4.12.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Setup-FirstRun
          Assignee: digikam-bugs-n...@kde.org
          Reporter: matkoni...@gmail.com
  Target Milestone: ---

digikam --version
Qt: 4.8.7
KDE Development Platform: 4.14.16
digiKam: 4.12.0

uname -a
Linux grisznak 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC
2017 x86_64 x86_64 x86_64 GNU/Linux

I use digikam from packages (digikam, digikam-dbg packages) on Lubuntu 16

I followed https://www.digikam.org/contribute/

Digikam crashes in "Configure where you keep your images and you will store
database" on using "Open File Dialog"

with

mateusz@grisznak:~$ gdb digikam
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from digikam...Reading symbols from
/usr/lib/debug/.build-id/87/16a000655fbf79eeb0b6cd5f3c5b6c90ffb64a.debug...done.
done.
(gdb) catch throw
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
(gdb) [New Thread 0x7fffd1fe6700 (LWP 25905)]
[New Thread 0x7fffccb23700 (LWP 25906)]
[New Thread 0x7fffcc322700 (LWP 25907)]
[New Thread 0x7fffcbb21700 (LWP 25908)]
[New Thread 0x7fffcb320700 (LWP 25909)]
Error: Can not create link from "/home/mateusz/.kde/cache-grisznak" to
"/var/tmp/kdecache-mateusz"
Error: Can not create link from "/home/mateusz/.kde/cache-grisznak" to
"/var/tmp/kdecache-mateuszTPG3Ee"
trying to create local folder /home/mateusz/.kde/cache-grisznak: Permission
denied
[Thread 0x7fffd1fe6700 (LWP 25905) exited]
digikam(25879)/KSharedDataCache KSharedDataCache::Private::mapSharedMemory:
Failed to establish shared memory mapping, will fallback to private memory --
memory usage will increase 
[Thread 0x7fffcb320700 (LWP 25909) exited]
Error: Can not create link from "/home/mateusz/.kde/tmp-grisznak" to
"/tmp/kde-mateusz"
Error: Can not create link from "/home/mateusz/.kde/tmp-grisznak" to
"/tmp/kde-mateuszaZwd8U"
trying to create local folder /home/mateusz/.kde/tmp-grisznak: Permission
denied
[New Thread 0x7fffcb320700 (LWP 25916)]
Error: Can not create link from "/home/mateusz/.kde/socket-grisznak" to
"/run/user/1000/ksocket-mateusz"
Error: Can not create link from "/home/mateusz/.kde/socket-grisznak" to
"/run/user/1000/ksocket-mateuszXTnbol"
trying to create local folder /home/mateusz/.kde/socket-grisznak: Permission
denied
Error: Can not create link from "/home/mateusz/.kde/tmp-grisznak" to
"/tmp/kde-mateusz"
Error: Can not create link from "/home/mateusz/.kde/tmp-grisznak" to
"/tmp/kde-mateusznLaCak"
trying to create local folder /home/mateusz/.kde/tmp-grisznak: Permission
denied
kdeinit4: Aborting. bind() failed: No such file or directory
Could not bind to socket '/home/mateusz/.kde/socket-grisznak/kdeinit4__0'
trying to create local folder /home/mateusz/.kde/cache-grisznak: Permission
denied
trying to create local folder /home/mateusz/.kde/share/kde4: Permission denied

Thread 1 "digikam" received signal SIGSEGV, Segmentation fault.
0x00007ffff408225d in KFileDialog::getExistingDirectory (startDir=...,
parent=0x10d6fa0, caption=...) at
/build/kde4libs-_S4zyz/kde4libs-4.14.16/kio/kfile/kfiledialog.cpp:639
639     /build/kde4libs-_S4zyz/kde4libs-4.14.16/kio/kfile/kfiledialog.cpp: No
such file or directory.
(gdb) bt
#0  0x00007ffff408225d in KFileDialog::getExistingDirectory (startDir=...,
parent=0x10d6fa0, caption=...) at
/build/kde4libs-_S4zyz/kde4libs-4.14.16/kio/kfile/kfiledialog.cpp:639
#1  0x00007ffff40b9d25 in
KUrlRequester::KUrlRequesterPrivate::_k_slotOpenDialog (this=0x111aca0) at
/build/kde4libs-_S4zyz/kde4libs-4.14.16/kio/kfile/kurlrequester.cpp:359
#2  0x00007ffff1d9f010 in QMetaObject::activate (sender=sender@entry=0x111cd70,
m=m@entry=0x7ffff34faf60 <QAbstractButton::staticMetaObject>,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffffffcaa0)
    at kernel/qobject.cpp:3567
#3  0x00007ffff3085d12 in QAbstractButton::clicked (this=this@entry=0x111cd70,
_t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#4  0x00007ffff2dbb2b3 in QAbstractButtonPrivate::emitClicked
(this=this@entry=0x10dbae0) at widgets/qabstractbutton.cpp:548
#5  0x00007ffff2dbc664 in QAbstractButtonPrivate::click
(this=this@entry=0x10dbae0) at widgets/qabstractbutton.cpp:541
#6  0x00007ffff2dbc774 in QAbstractButton::mouseReleaseEvent (this=0x111cd70,
e=0x7fffffffd010) at widgets/qabstractbutton.cpp:1123
#7  0x00007ffff2a378d0 in QWidget::event (this=0x111cd70, event=0x7fffffffd010)
at kernel/qwidget.cpp:8775
#8  0x00007ffff29e0fdc in QApplicationPrivate::notify_helper
(this=this@entry=0xd0adc0, receiver=receiver@entry=0x111cd70,
e=e@entry=0x7fffffffd010) at kernel/qapplication.cpp:4570
#9  0x00007ffff29e80d6 in QApplication::notify (this=this@entry=0x7fffffffdc10,
receiver=receiver@entry=0x111cd70, e=e@entry=0x7fffffffd010) at
kernel/qapplication.cpp:4113
#10 0x00007ffff374664a in KApplication::notify (this=0x7fffffffdc10,
receiver=0x111cd70, event=0x7fffffffd010) at
/build/kde4libs-_S4zyz/kde4libs-4.14.16/kdeui/kernel/kapplication.cpp:311
#11 0x00007ffff1d8a90d in QCoreApplication::notifyInternal
(this=0x7fffffffdc10, receiver=receiver@entry=0x111cd70,
event=event@entry=0x7fffffffd010) at kernel/qcoreapplication.cpp:955
#12 0x00007ffff29e76dd in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#13 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x111cd70,
event=event@entry=0x7fffffffd010, alienWidget=alienWidget@entry=0x111cd70,
nativeWidget=nativeWidget@entry=0x7fffffffdcb0, 
    buttonDown=buttonDown@entry=0x7ffff350c368 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#14 0x00007ffff2a653f2 in QETWidget::translateMouseEvent
(this=this@entry=0x7fffffffdcb0, event=event@entry=0x7fffffffd370) at
kernel/qapplication_x11.cpp:4638
#15 0x00007ffff2a64c83 in QApplication::x11ProcessEvent (this=0x7fffffffdc10,
event=event@entry=0x7fffffffd370) at kernel/qapplication_x11.cpp:3626
#16 0x00007ffff2a8e542 in x11EventSourceDispatch (s=0xd0cda0, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#17 0x00007fffeabc6197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fffeabc63f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fffeabc649c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff1dbb2ae in QEventDispatcherGlib::processEvents (this=0xd0c230,
flags=...) at kernel/qeventdispatcher_glib.cpp:450
#21 0x00007ffff2a8e616 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007ffff1d8918f in QEventLoop::processEvents
(this=this@entry=0x7fffffffd760, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007ffff1d894f5 in QEventLoop::exec (this=this@entry=0x7fffffffd760,
flags=...) at kernel/qeventloop.cpp:204
#24 0x00007ffff2ec3a3c in QDialog::exec (this=this@entry=0x7fffffffdcb0) at
dialogs/qdialog.cpp:562
#25 0x000000000049269b in main (argc=<optimized out>, argv=<optimized out>) at
/build/digikam-J9prv3/digikam-4.12.0/core/app/main/main.cpp:153

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

Reply via email to