Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always crashes while using the quick-search input #79

Closed
rafi opened this issue Aug 3, 2015 · 4 comments
Closed

Always crashes while using the quick-search input #79

rafi opened this issue Aug 3, 2015 · 4 comments
Assignees

Comments

@rafi
Copy link

rafi commented Aug 3, 2015

Whenever I start typing in the quick-search input, QtPass quits unexpectedly.
I have 270 entries in password-store.

Process:               QtPass [39157]
Path:                  /Applications/QtPass.app/Contents/MacOS/QtPass
Identifier:            $(PRODUCT_BUNDLE_IDENTIFIER)
Version:               1.0 (???)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           QtPass [39157]
User ID:               501

Date/Time:             2015-08-03 13:31:38.608 +0300
OS Version:            Mac OS X 10.10.4 (14E46)
Report Version:        11
Anonymous UUID:        B16F30CD-28CE-DBB3-FA5F-E0A4123C5620

Sleep/Wake UUID:       41E1A7D4-138F-48F5-AEF7-4AF252853210

Time Awake Since Boot: 9900 seconds
Time Since Wake:       4800 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtCore           0x0000000104ad82e7 QIdentityProxyModel::qt_metacall(QMetaObject::Call, int, void**) + 9015
1   org.qt-project.QtCore           0x0000000104ae2122 QSortFilterProxyModel::mapToSource(QModelIndex const&) const + 18
2   org.qt-project.QtCore           0x0000000104ae0dfa QSortFilterProxyModel::flags(QModelIndex const&) const + 90
3   org.qt-project.QtCore           0x0000000104ac5b90 QItemSelection::contains(QModelIndex const&) const + 48
4   org.qt-project.QtCore           0x0000000104acc5c0 QItemSelectionModel::isSelected(QModelIndex const&) const + 656
5   org.qt-project.QtWidgets        0x0000000103fde66e 0x103d68000 + 2582126
6   libqcocoa.dylib                 0x0000000106a8ba3a 0x106a54000 + 227898
7   libqcocoa.dylib                 0x0000000106a8846e 0x106a54000 + 214126
8   com.apple.AppKit                0x00007fff8c97e16e NSAccessibilityEntryPointAttributeNames + 115
9   com.apple.AppKit                0x00007fff8c9bb4bf -[NSObject(NSAccessibilityInternal) _accessibilityAttributeNamesClientError:] + 56
10  com.apple.AppKit                0x00007fff8c9be53a CopyAttributeNames + 216
11  com.apple.HIServices            0x00007fff8b56ebde _AXXMIGCopyAttributeNames + 252
12  com.apple.HIServices            0x00007fff8b5770d6 _XCopyAttributeNames + 385
13  com.apple.HIServices            0x00007fff8b553119 mshMIGPerform + 199
14  com.apple.CoreFoundation        0x00007fff889eac79 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
15  com.apple.CoreFoundation        0x00007fff889eabeb __CFRunLoopDoSource1 + 475
16  com.apple.CoreFoundation        0x00007fff889dc767 __CFRunLoopRun + 2375
17  com.apple.CoreFoundation        0x00007fff889dbbd8 CFRunLoopRunSpecific + 296
18  com.apple.HIToolbox             0x00007fff90b7d56f RunCurrentEventLoopInMode + 235
19  com.apple.HIToolbox             0x00007fff90b7d2ea ReceiveNextEventCommon + 431
20  com.apple.HIToolbox             0x00007fff90b7d12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
21  com.apple.AppKit                0x00007fff8c5dc8ab _DPSNextEvent + 978
22  com.apple.AppKit                0x00007fff8c5dbe58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
23  com.apple.AppKit                0x00007fff8c5d1af3 -[NSApplication run] + 594
24  libqcocoa.dylib                 0x0000000106a757fd 0x106a54000 + 137213
25  org.qt-project.QtCore           0x0000000104b068cd QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
26  org.qt-project.QtCore           0x0000000104b0978a QCoreApplication::exec() + 346
27  $(PRODUCT_BUNDLE_IDENTIFIER)    0x0000000103c71aa7 main + 2135
28  $(PRODUCT_BUNDLE_IDENTIFIER)    0x0000000103c71244 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff88062232 kevent64 + 10
1   libdispatch.dylib               0x00007fff89d6da6a _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib          0x00007fff8806194a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8bf5140d start_wqthread + 13

Thread 3:: com.apple.CFSocket.private
0   libsystem_kernel.dylib          0x00007fff880613fa __select + 10
1   libsystem_pthread.dylib         0x00007fff8bf53268 _pthread_body + 131
2   libsystem_pthread.dylib         0x00007fff8bf531e5 _pthread_start + 176
3   libsystem_pthread.dylib         0x00007fff8bf5141d thread_start + 13

Thread 4:: QFileInfoGatherer
0   libsystem_kernel.dylib          0x00007fff88061136 __psynch_cvwait + 10
1   org.qt-project.QtCore           0x00000001049601db QWaitCondition::wait(QReadWriteLock*, unsigned long) + 299
2   org.qt-project.QtCore           0x0000000104960092 QWaitCondition::wait(QMutex*, unsigned long) + 162
3   org.qt-project.QtWidgets        0x0000000103fc4e43 0x103d68000 + 2477635
4   org.qt-project.QtCore           0x000000010495eb53 QThreadStorageData::finish(void**) + 2691
5   libsystem_pthread.dylib         0x00007fff8bf53268 _pthread_body + 131
6   libsystem_pthread.dylib         0x00007fff8bf531e5 _pthread_start + 176
7   libsystem_pthread.dylib         0x00007fff8bf5141d thread_start + 13

Thread 5:
0   libsystem_kernel.dylib          0x00007fff8806194a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8bf5140d start_wqthread + 13

Thread 6:

Thread 7:
0   libsystem_kernel.dylib          0x00007fff8805c4de mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8805b64f mach_msg + 55
2   com.apple.CoreFoundation        0x00007fff889dceb4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation        0x00007fff889dc37b __CFRunLoopRun + 1371
4   com.apple.CoreFoundation        0x00007fff889dbbd8 CFRunLoopRunSpecific + 296
5   com.apple.AppKit                0x00007fff8c6a456b _NSEventThread + 137
6   libsystem_pthread.dylib         0x00007fff8bf53268 _pthread_body + 131
7   libsystem_pthread.dylib         0x00007fff8bf531e5 _pthread_start + 176
8   libsystem_pthread.dylib         0x00007fff8bf5141d thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff5bf8e808  rcx: 0x0000000000000000  rdx: 0xbaddc7e9e6b7bead
  rdi: 0x000060000004b2e0  rsi: 0x00007fc1fa416710  rbp: 0x00007fff5bf8e7d0  rsp: 0x00007fff5bf8e780
   r8: 0x000060000004b2b0   r9: 0x00000000000001c4  r10: 0x00000000000002c6  r11: 0x00000000fffffff7
  r12: 0x000061000008db38  r13: 0x000061000008db38  r14: 0x00006080001a6608  r15: 0x00006080001a6580
  rip: 0x0000000104ad82e7  rfl: 0x0000000000010246  cr2: 0xffffff81d0991004

Logical CPU:     4
Error Code:      0x00000000
Trap Number:     13


Binary Images:
       0x103c6d000 -        0x103d49fff +$(PRODUCT_BUNDLE_IDENTIFIER) (1.0 - ???) <95C3F667-5975-37C3-9A3B-B7271AB460D4> /Applications/QtPass.app/Contents/MacOS/QtPass
       0x103d68000 -        0x10427cff7 +org.qt-project.QtWidgets (5.5 - 5.5.0) <DF74BFA6-B274-3FC1-889B-AE8CCAF166E0> /Applications/QtPass.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
       0x1043b4000 -        0x104847ff7 +org.qt-project.QtGui (5.5 - 5.5.0) <B7C3E3B9-4466-38CD-8939-D4728537A4C0> /Applications/QtPass.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui
       0x104927000 -        0x104e35fff +org.qt-project.QtCore (5.5 - 5.5.0) <E1A2B357-93A4-395A-AB30-D5D8E85031E1> /Applications/QtPass.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
       0x104ec4000 -        0x104fe0fff +org.qt-project.QtNetwork (5.5 - 5.5.0) <F675D0EA-1DBF-3C19-9399-EEA0FBB8592C> /Applications/QtPass.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork
       0x10501a000 -        0x10501efff  com.apple.agl (3.3.0 - AGL-3.3.0) <4E8F579B-A2E2-3A27-96D7-02A9465A78D8> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
       0x106a54000 -        0x106afbfff +libqcocoa.dylib (0) <FB09B9DA-5F7C-377B-972A-8C591D1DD085> /Applications/QtPass.app/Contents/PlugIns/platforms/libqcocoa.dylib
       0x106b34000 -        0x106b9bfff +org.qt-project.QtDBus (5.5 - 5.5.0) <4B97B481-FD03-3312-B33F-54A9E902DC85> /Applications/QtPass.app/Contents/Frameworks/QtDBus.framework/Versions/5/QtDBus
       0x106bb0000 -        0x106be5fff +org.qt-project.QtPrintSupport (5.5 - 5.5.0) <5116A322-CA11-3C44-9029-81FB53B51F3F> /Applications/QtPass.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport
       0x107004000 -        0x10700eff7 +libqdds.dylib (0) <CDF80BEA-3CFA-3F81-8B9C-931CB12FEC75> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqdds.dylib
       0x107013000 -        0x107017ff7 +libqtga.dylib (0) <3D814602-B539-38C7-BD2F-AF056BF92907> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqtga.dylib
       0x10a9ad000 -        0x10a9b4ff7 +libqgif.dylib (0) <51F4DF97-9999-3FA3-9C6D-E0CDDCC0D47F> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqgif.dylib
       0x10a9b8000 -        0x10a9c0fff +libqicns.dylib (0) <5CBF3967-9FAA-3F70-9691-1E82F5E38315> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqicns.dylib
       0x10a9c5000 -        0x10a9cbff7 +libqico.dylib (0) <FDD111B5-638F-3B84-A39C-CD2A3A41D837> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqico.dylib
       0x10a9d0000 -        0x10aa57fff +libqjp2.dylib (0) <A8404AA8-77B5-3DEF-920A-52D34989402B> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqjp2.dylib
       0x10aa65000 -        0x10aaa3fff +libqjpeg.dylib (0) <F4EB5413-63BB-3529-AC0D-E98C3328303C> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqjpeg.dylib
       0x10aaa9000 -        0x10aaf9ff7 +libqmng.dylib (0) <D2A1A517-7C7D-3BAC-A600-709E023B7D5B> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqmng.dylib
       0x10ab01000 -        0x10ab63ff7 +libqtiff.dylib (0) <23A39D56-6B66-3624-ADE2-93685C91FDE5> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqtiff.dylib
       0x10ab6b000 -        0x10ab6fff7 +libqwbmp.dylib (0) <ADCD45B7-E6E9-34CC-94BA-E5974E938703> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqwbmp.dylib
       0x10ab73000 -        0x10abd2fff +libqwebp.dylib (0) <5ABD01B1-35ED-3B4B-92DF-624BC710475A> /Applications/QtPass.app/Contents/PlugIns/imageformats/libqwebp.dylib
       0x10b986000 -        0x10b986fe7 +cl_kernels (???) <C7636964-5AFB-4879-91A4-F4EE04D7F7FE> cl_kernels
       0x10b988000 -        0x10ba6efef  unorm8_bgra.dylib (2.4.5) <5F488C7E-2FB2-3C66-9764-28CF16B03E7A> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/unorm8_bgra.dylib
       0x10bbb8000 -        0x10bbb8fef +cl_kernels (???) <E16F044D-1A01-480C-92B2-65122303808E> cl_kernels

@annejan
Copy link
Member

annejan commented Aug 3, 2015

Thanks for the stack-trace . .
I'll have a look at this tonight, just a quick side question: Do you use multiple profiles or just one password-store?

The filtering (searching) has always been a bit flakey so now is probably the time for me to invest some time to fix it . .
The main problem is that a Qt FileSystemModel (what this proxymodel is based on) always does lazy loading . . So it might not have some things populated in time which on first glance might be what happened here.

I'll go and generate some 270 test files and folders on my test system . .
Will keep you updated on the progress.

@annejan annejan self-assigned this Aug 3, 2015
@rafi
Copy link
Author

rafi commented Aug 3, 2015

Thanks for the quick response. I use a non-git, single store directory.

@annejan
Copy link
Member

annejan commented Aug 6, 2015

Have not been able to make it crash, even with immense amount of files in there.

Will give this a closer look over the weekend when I have some time.

@rafi
Copy link
Author

rafi commented Aug 7, 2015

Seems I can't reproduce it.. I'll close it and re-open if happens again, thanks.

@rafi rafi closed this as completed Aug 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants