Bug 286286 - digikam crashes if I request fullscreen mode
Summary: digikam crashes if I request fullscreen mode
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-FullScreen (show other bugs)
Version: 2.1.1
Platform: MacPorts macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 18:00 UTC by Grégoire Verlut
Modified: 2018-08-30 17:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grégoire Verlut 2011-11-10 18:00:09 UTC
Version:           2.1.1
OS:                OS X

When requesting fullscreen mode, via the icon, or via the menu or via the shortcut, digikam crashes.

Reproducible: Always

Steps to Reproduce:
1- start digikam
2- (optional) select a folder and a picture in it
3- click on the fullscreen button

Actual Results:  
digikam crashes

Expected Results:  
digikam should toggle to fullscreen mode

Running from the console:

@@@@@@@@@@@@@@@@
alfons:~ gregoire$ /usr/bin/sw_vers
ProductName:	Mac OS X
ProductVersion:	10.7.2
BuildVersion:	11C74
alfons:~ gregoire$ /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam --version
Qt: 4.7.4
KDE Development Platform: 4.7.3 (4.7.3)
digiKam: 2.1.1

alfons:~ gregoire$ /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam 
digikam(78299)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
digikam(78299)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :( 
digikam(78299)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. 
digikam(78299)/KSharedDataCache: Unable to unmap shared memory segment 0x114b39000 
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(78299)/digikam (core) Digikam::CollectionScanner::scanAlbum: Folder does not exist or is not readable:  "/Volumes/photos" 
digikam(78299)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
digikam(78299)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :( 
digikam(78299)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. 
digikam(78299)/KSharedDataCache: Unable to unmap shared memory segment 0x115445000 
digikam(78299)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "The name org.kde.kded was not provided by any .service files" 

digikam(78299)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
QKqueueFileSystemWatcherEngine: error during kevent wait: Bad file descriptor
Unable to start Dr. Konqi
Unable to start Dr. Konqi
@@@@@@@@@@@@@@@@


running with gdb (only the final part when crashing)

@@@@@@@@@@@@@@@@
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00007fff8f918e90 in objc_msgSend ()
(gdb) thread apply all backtrace

Thread 12 (process 6248):
#0  0x00007fff8b889192 in __workq_kernreturn ()
#1  0x00007fff8e592594 in _pthread_wqthread ()
#2  0x00007fff8e593b85 in start_wqthread ()

Thread 11 (process 6248):
#0  0x00007fff8b888bca in __psynch_cvwait ()
#1  0x00007fff8e594274 in _pthread_cond_wait ()
#2  0x0000000104048eff in QWaitConditionPrivate::wait ()
#3  0x0000000104048c14 in QWaitCondition::wait ()
#4  0x000000010403c7dd in QThreadPoolThread::run ()
#5  0x00000001040483be in QThreadPrivate::start ()
#6  0x00007fff8e5908bf in _pthread_start ()
#7  0x00007fff8e593b75 in thread_start ()

Thread 10 (process 6248):
#0  0x00007fff8b8897e6 in kevent ()
#1  0x000000010411300c in QKqueueFileSystemWatcherEngine::run ()
#2  0x00000001040483be in QThreadPrivate::start ()
#3  0x00007fff8e5908bf in _pthread_start ()
#4  0x00007fff8e593b75 in thread_start ()

Thread 9 (process 6248):
#0  0x00007fff8b888bca in __psynch_cvwait ()
#1  0x00007fff8e594274 in _pthread_cond_wait ()
#2  0x0000000104048f0c in QWaitConditionPrivate::wait ()
#3  0x0000000104048c14 in QWaitCondition::wait ()
#4  0x000000010184a2c2 in Digikam::ParkingThread::run ()
#5  0x00000001040483be in QThreadPrivate::start ()
#6  0x00007fff8e5908bf in _pthread_start ()
#7  0x00007fff8e593b75 in thread_start ()

Thread 8 (process 6248):
#0  0x00007fff8b889192 in __workq_kernreturn ()
#1  0x00007fff8e592594 in _pthread_wqthread ()
#2  0x00007fff8e593b85 in start_wqthread ()

Thread 6 (process 6248):
#0  0x00007fff8b888bca in __psynch_cvwait ()
#1  0x00007fff8e594274 in _pthread_cond_wait ()
#2  0x0000000104048f0c in QWaitConditionPrivate::wait ()
#3  0x0000000104048c14 in QWaitCondition::wait ()
#4  0x0000000100149d6f in Digikam::ScanController::run ()
#5  0x00000001040483be in QThreadPrivate::start ()
#6  0x00007fff8e5908bf in _pthread_start ()
#7  0x00007fff8e593b75 in thread_start ()

Thread 5 (process 6248):
#0  0x00007fff8b888df2 in select$DARWIN_EXTSN ()
#1  0x00007fff8be63f9b in __CFSocketManager ()
#2  0x00007fff8e5908bf in _pthread_start ()
#3  0x00007fff8e593b75 in thread_start ()

Thread 3 (process 6248):
#0  0x00007fff8b889192 in __workq_kernreturn ()
#1  0x00007fff8e592594 in _pthread_wqthread ()
#2  0x00007fff8e593b85 in start_wqthread ()

Thread 2 (process 6248):
#0  0x00007fff8b8897e6 in kevent ()
#1  0x00007fff897055be in _dispatch_mgr_invoke ()
#2  0x00007fff8970414e in _dispatch_mgr_thread ()

Thread 1 (process 6248):
#0  0x00007fff8f918e90 in objc_msgSend ()
#1  0x00007fff78908c78 in NSAccessibilityRowCountChangedNotification ()
#2  0x00007fff90db4f17 in -[NSWindow setFrame:display:] ()
#3  0x000000010303bd9f in QWidgetPrivate::setGeometry_sys ()
#4  0x00000001030e7e06 in QWidget::setGeometry ()
#5  0x000000010303c206 in QWidget::setWindowState ()
#6  0x00000001000f1a2d in Digikam::DigikamApp::slotToggleFullScreen ()
#7  0x0000000100109534 in Digikam::DigikamApp::qt_metacall ()
#8  0x00000001041421d2 in QMetaObject::activate ()
#9  0x0000000103091ff2 in QAction::activate ()
#10 0x00000001033c695b in QAbstractButtonPrivate::click ()
#11 0x00000001033c6b76 in QAbstractButton::mouseReleaseEvent ()
#12 0x000000010348469e in QToolButton::mouseReleaseEvent ()
#13 0x00000001030e56eb in QWidget::event ()
#14 0x00000001033c5c06 in QAbstractButton::event ()
#15 0x00000001034842be in QToolButton::event ()
#16 0x0000000103095d18 in QApplicationPrivate::notify_helper ()
#17 0x00000001030967a8 in QApplication::notify ()
#18 0x0000000102baa3e2 in KApplication::notify ()
#19 0x000000010412e182 in QCoreApplication::notifyInternal ()
#20 0x00000001030954aa in qt_sendSpontaneousEvent ()
#21 0x000000010304ffde in qt_mac_handleMouseEvent ()
#22 0x00000001030439c6 in -[QCocoaView mouseUp:] ()
#23 0x00007fff90d851a6 in -[NSWindow sendEvent:] ()
#24 0x000000010304853a in -[QCocoaWindow sendEvent:] ()
#25 0x00007fff90d1d68f in -[NSApplication sendEvent:] ()
#26 0x000000010304b9c9 in -[QNSApplication sendEvent:] ()
#27 0x00007fff90cb3682 in -[NSApplication run] ()
#28 0x0000000103053aa8 in QEventDispatcherMac::processEvents ()
#29 0x000000010412b795 in QEventLoop::exec ()
#30 0x000000010412e7d7 in QCoreApplication::exec ()
#31 0x00000001002176e6 in main ()
#32 0x000000010000d2d4 in start ()
@@@@@@@@@@@@@@@@
Comment 1 caulier.gilles 2011-11-11 17:42:36 UTC

*** This bug has been marked as a duplicate of bug 257773 ***
Comment 2 caulier.gilles 2018-08-30 17:25:20 UTC
Not reproducible with 6.0.0