{"action":"created","issue":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/369","repository_url":"https://api.github.com/repos/keepassxreboot/keepassxc","labels_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/369/comments","events_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/369/events","html_url":"https://github.com/keepassxreboot/keepassxc/issues/369","id":211699756,"number":369,"title":"Crash when permanently deleting trashed entry inside search view","user":{"login":"weslly","id":107672,"avatar_url":"https://avatars1.githubusercontent.com/u/107672?v=3","gravatar_id":"","url":"https://api.github.com/users/weslly","html_url":"https://github.com/weslly","followers_url":"https://api.github.com/users/weslly/followers","following_url":"https://api.github.com/users/weslly/following{/other_user}","gists_url":"https://api.github.com/users/weslly/gists{/gist_id}","starred_url":"https://api.github.com/users/weslly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weslly/subscriptions","organizations_url":"https://api.github.com/users/weslly/orgs","repos_url":"https://api.github.com/users/weslly/repos","events_url":"https://api.github.com/users/weslly/events{/privacy}","received_events_url":"https://api.github.com/users/weslly/received_events","type":"User","site_admin":false},"labels":[{"id":333293071,"url":"https://api.github.com/repos/keepassxreboot/keepassxc/labels/bug","name":"bug","color":"e0453a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/milestones/2","html_url":"https://github.com/keepassxreboot/keepassxc/milestone/2","labels_url":"https://api.github.com/repos/keepassxreboot/keepassxc/milestones/2/labels","id":2157835,"number":2,"title":"v2.2.0","description":"Release that will incorporate major GUI improvements and additional OS integrations","creator":{"login":"droidmonkey","id":2809491,"avatar_url":"https://avatars1.githubusercontent.com/u/2809491?v=3","gravatar_id":"","url":"https://api.github.com/users/droidmonkey","html_url":"https://github.com/droidmonkey","followers_url":"https://api.github.com/users/droidmonkey/followers","following_url":"https://api.github.com/users/droidmonkey/following{/other_user}","gists_url":"https://api.github.com/users/droidmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/droidmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droidmonkey/subscriptions","organizations_url":"https://api.github.com/users/droidmonkey/orgs","repos_url":"https://api.github.com/users/droidmonkey/repos","events_url":"https://api.github.com/users/droidmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/droidmonkey/received_events","type":"User","site_admin":false},"open_issues":49,"closed_issues":37,"state":"open","created_at":"2016-11-25T15:22:58Z","updated_at":"2017-03-03T20:39:43Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2017-03-03T14:18:29Z","updated_at":"2017-03-04T01:54:20Z","closed_at":null,"body":"## Expected Behavior\r\nThe program should not crash when deleting an entry from the recycle bin inside the search view.\r\n\r\n## Current Behavior\r\nWhen deleting an entry from the recycle bin, the program crashes immediately.\r\n\r\n    Process:               KeePassXC [5687]\r\n    Path:                  /Applications/KeePassXC.app/Contents/MacOS/KeePassXC\r\n    Identifier:            org.keepassx.keepassxc\r\n    Version:               2.1.3 (2.1.3)\r\n    Code Type:             X86-64 (Native)\r\n    Parent Process:        ??? [1]\r\n    Responsible:           KeePassXC [5687]\r\n    User ID:               501\r\n\r\n    Date/Time:             2017-03-03 11:09:12.752 -0300\r\n    OS Version:            Mac OS X 10.12.3 (16D32)\r\n    Report Version:        12\r\n    Anonymous UUID:        3E5BCE5E-EB2C-D644-6D5F-9D2678AFA53A\r\n\r\n\r\n    Time Awake Since Boot: 16000 seconds\r\n\r\n    System Integrity Protection: enabled\r\n\r\n    Crashed Thread:        0  Dispatch queue: com.apple.main-thread\r\n\r\n    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)\r\n    Exception Codes:       EXC_I386_GPFLT\r\n    Exception Note:        EXC_CORPSE_NOTIFY\r\n\r\n    Termination Signal:    Segmentation fault: 11\r\n    Termination Reason:    Namespace SIGNAL, Code 0xb\r\n    Terminating Process:   exc handler [0]\r\n\r\n    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n    0   org.keepassx.keepassxc          0x000000010f734cef 0x10f726000 + 60655\r\n    1   org.keepassx.keepassxc          0x000000010f7303ec 0x10f726000 + 41964\r\n    2   org.keepassx.keepassxc          0x000000010f7a3de5 0x10f726000 + 515557\r\n    3   org.qt-project.QtCore           0x00000001107b1cf1 QSortFilterProxyModel::data(QModelIndex const&, int) const + 113\r\n    4   org.qt-project.QtWidgets        0x000000010fd11c15 QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const + 1781\r\n    5   org.qt-project.QtWidgets        0x000000010fd11de4 QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const + 68\r\n    6   org.qt-project.QtWidgets        0x000000010fcc9c40 QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const + 3872\r\n    7   org.qt-project.QtWidgets        0x000000010fcc7a81 QTreeView::drawTree(QPainter*, QRegion const&) const + 1233\r\n    8   org.qt-project.QtWidgets        0x000000010fcc7585 QTreeView::paintEvent(QPaintEvent*) + 309\r\n    9   org.qt-project.QtWidgets        0x000000010fa55888 QWidget::event(QEvent*) + 1144\r\n    10  org.qt-project.QtWidgets        0x000000010fb4e47d QFrame::event(QEvent*) + 45\r\n    11  org.qt-project.QtWidgets        0x000000010fbdef07 QAbstractScrollArea::viewportEvent(QEvent*) + 135\r\n    12  org.qt-project.QtWidgets        0x000000010fc85199 QAbstractItemView::viewportEvent(QEvent*) + 1369\r\n    13  org.qt-project.QtWidgets        0x000000010fcc7325 QTreeView::viewportEvent(QEvent*) + 517\r\n    14  org.qt-project.QtWidgets        0x000000010fbdfaa4 0x10fa03000 + 1952420\r\n    15  org.qt-project.QtCore           0x00000001107dfccb QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 203\r\n    16  org.qt-project.QtWidgets        0x000000010fa14d28 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 280\r\n    17  org.qt-project.QtWidgets        0x000000010fa160e1 QApplication::notify(QObject*, QEvent*) + 369\r\n    18  org.qt-project.QtCore           0x00000001107dfa34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164\r\n    19  org.qt-project.QtWidgets        0x000000010fa4f5e3 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3507\r\n    20  org.qt-project.QtWidgets        0x000000010fa22425 0x10fa03000 + 128037\r\n    21  org.qt-project.QtWidgets        0x000000010fa55ae7 QWidget::event(QEvent*) + 1751\r\n    22  org.qt-project.QtWidgets        0x000000010fb65de5 QMainWindow::event(QEvent*) + 1733\r\n    23  org.qt-project.QtWidgets        0x000000010fa14d3d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 301\r\n    24  org.qt-project.QtWidgets        0x000000010fa160e1 QApplication::notify(QObject*, QEvent*) + 369\r\n    25  org.qt-project.QtCore           0x00000001107dfa34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164\r\n    26  org.qt-project.QtCore           0x00000001107e0aab QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 891\r\n    27  libqcocoa.dylib                 0x0000000112611b3e 0x1125ec000 + 154430\r\n    28  libqcocoa.dylib                 0x0000000112612401 0x1125ec000 + 156673\r\n    29  com.apple.CoreFoundation        0x00007fff7bb9d8d1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\r\n    30  com.apple.CoreFoundation        0x00007fff7bb7ec6c __CFRunLoopDoSources0 + 556\r\n    31  com.apple.CoreFoundation        0x00007fff7bb7e156 __CFRunLoopRun + 934\r\n    32  com.apple.CoreFoundation        0x00007fff7bb7db54 CFRunLoopRunSpecific + 420\r\n    33  com.apple.HIToolbox             0x00007fff7b108a5c RunCurrentEventLoopInMode + 240\r\n    34  com.apple.HIToolbox             0x00007fff7b108799 ReceiveNextEventCommon + 184\r\n    35  com.apple.HIToolbox             0x00007fff7b1086c6 _BlockUntilNextEventMatchingListInModeWithFilter + 71\r\n    36  com.apple.AppKit                0x00007fff796ae5b4 _DPSNextEvent + 1120\r\n    37  com.apple.AppKit                0x00007fff79e28d6b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2789\r\n    38  com.apple.AppKit                0x00007fff796a2f35 -[NSApplication run] + 926\r\n    39  libqcocoa.dylib                 0x0000000112611143 0x1125ec000 + 151875\r\n    40  org.qt-project.QtCore           0x00000001107db811 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417\r\n    41  org.qt-project.QtCore           0x00000001107e00a7 QCoreApplication::exec() + 343\r\n    42  org.keepassx.keepassxc          0x000000010f72a915 0x10f726000 + 18709\r\n    43  org.keepassx.keepassxc          0x000000010f729af4 start + 52\r\n\r\n    Thread 1:\r\n    0   libsystem_kernel.dylib          0x00007fff912a94e2 __workq_kernreturn + 10\r\n    1   libsystem_pthread.dylib         0x00007fff91391791 _pthread_wqthread + 1426\r\n    2   libsystem_pthread.dylib         0x00007fff913911ed start_wqthread + 13\r\n\r\n    Thread 2:\r\n    0   libsystem_kernel.dylib          0x00007fff912a94e2 __workq_kernreturn + 10\r\n    1   libsystem_pthread.dylib         0x00007fff91391791 _pthread_wqthread + 1426\r\n    2   libsystem_pthread.dylib         0x00007fff913911ed start_wqthread + 13\r\n\r\n    Thread 3:\r\n    0   libsystem_kernel.dylib          0x00007fff912a94e2 __workq_kernreturn + 10\r\n    1   libsystem_pthread.dylib         0x00007fff913915fe _pthread_wqthread + 1023\r\n    2   libsystem_pthread.dylib         0x00007fff913911ed start_wqthread + 13\r\n\r\n    Thread 4:\r\n    0   libsystem_kernel.dylib          0x00007fff912a94e2 __workq_kernreturn + 10\r\n    1   libsystem_pthread.dylib         0x00007fff91391791 _pthread_wqthread + 1426\r\n    2   libsystem_pthread.dylib         0x00007fff913911ed start_wqthread + 13\r\n\r\n    Thread 5:: com.apple.CFSocket.private\r\n    0   libsystem_kernel.dylib          0x00007fff912a8f4a __select + 10\r\n    1   com.apple.CoreFoundation        0x00007fff7bbba239 __CFSocketManager + 729\r\n    2   libsystem_pthread.dylib         0x00007fff91391aab _pthread_body + 180\r\n    3   libsystem_pthread.dylib         0x00007fff913919f7 _pthread_start + 286\r\n    4   libsystem_pthread.dylib         0x00007fff913911fd thread_start + 13\r\n\r\n    Thread 6:: com.apple.NSEventThread\r\n    0   libsystem_kernel.dylib          0x00007fff912a138a mach_msg_trap + 10\r\n    1   libsystem_kernel.dylib          0x00007fff912a07d7 mach_msg + 55\r\n    2   com.apple.CoreFoundation        0x00007fff7bb7ee84 __CFRunLoopServiceMachPort + 212\r\n    3   com.apple.CoreFoundation        0x00007fff7bb7e301 __CFRunLoopRun + 1361\r\n    4   com.apple.CoreFoundation        0x00007fff7bb7db54 CFRunLoopRunSpecific + 420\r\n    5   com.apple.AppKit                0x00007fff797fba62 _NSEventThread + 205\r\n    6   libsystem_pthread.dylib         0x00007fff91391aab _pthread_body + 180\r\n    7   libsystem_pthread.dylib         0x00007fff913919f7 _pthread_start + 286\r\n    8   libsystem_pthread.dylib         0x00007fff913911fd thread_start + 13\r\n\r\n    Thread 7:: Thread (pooled)\r\n    0   libsystem_kernel.dylib          0x00007fff912a8c86 __psynch_cvwait + 10\r\n    1   libsystem_pthread.dylib         0x00007fff9139296a _pthread_cond_wait + 712\r\n    2   org.qt-project.QtCore           0x000000011061e1d0 0x1105f2000 + 180688\r\n    3   org.qt-project.QtCore           0x000000011061df1b 0x1105f2000 + 179995\r\n    4   org.qt-project.QtCore           0x000000011061ded2 QWaitCondition::wait(QMutex*, unsigned long) + 162\r\n    5   org.qt-project.QtCore           0x000000011061994a 0x1105f2000 + 162122\r\n    6   org.qt-project.QtCore           0x000000011061c9ba 0x1105f2000 + 174522\r\n    7   libsystem_pthread.dylib         0x00007fff91391aab _pthread_body + 180\r\n    8   libsystem_pthread.dylib         0x00007fff913919f7 _pthread_start + 286\r\n    9   libsystem_pthread.dylib         0x00007fff913911fd thread_start + 13\r\n\r\n    Thread 0 crashed with X86 Thread State (64-bit):\r\n      rax: 0x000000010f7a3dd6  rbx: 0x00007fff504d6618  rcx: 0x000000010f7a3ef0  rdx: 0x000000010f9c9048\r\n      rdi: 0x00007fff504d6618  rsi: 0x3ff0000000000000  rbp: 0x00007fff504d6570  rsp: 0x00007fff504d6540\r\n       r8: 0x000060000064a7e0   r9: 0x0000000000000001  r10: 0x00007fb5092dd600  r11: 0x0000000000000010\r\n      r12: 0x46d0d68b3a39001e  r13: 0x000000010f9c9048  r14: 0x00007fff504d6618  r15: 0x0000000110abed30\r\n      rip: 0x000000010f734cef  rfl: 0x0000000000010203  cr2: 0x00006000003a9000\r\n      \r\n    Logical CPU:     0\r\n    Error Code:      0x00000000\r\n    Trap Number:     13\r\n\r\n\r\n\r\n\r\n## Steps to Reproduce (for bugs)\r\n1. Delete any entry from the database (moving to the recycle bin)\r\n2. Find that entry using the search field\r\n3. Inside the search results, delete the entry again to remove it permanently from the recycle bin\r\n\r\n## Your Environment\r\n<!--- Include relevant details about the environment you experienced the bug in -->\r\n* KeePassXC version/commit used: 2.1.3\r\n* Qt version (e.g. Qt 5.3): 5.8.0\r\n* Compiler (e.g. Clang++3.6.0):  -\r\n* Operating System and version: macOS Sierra 1.12.3\r\n"},"comment":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/comments/284117368","html_url":"https://github.com/keepassxreboot/keepassxc/issues/369#issuecomment-284117368","issue_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/369","id":284117368,"user":{"login":"droidmonkey","id":2809491,"avatar_url":"https://avatars1.githubusercontent.com/u/2809491?v=3","gravatar_id":"","url":"https://api.github.com/users/droidmonkey","html_url":"https://github.com/droidmonkey","followers_url":"https://api.github.com/users/droidmonkey/followers","following_url":"https://api.github.com/users/droidmonkey/following{/other_user}","gists_url":"https://api.github.com/users/droidmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/droidmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droidmonkey/subscriptions","organizations_url":"https://api.github.com/users/droidmonkey/orgs","repos_url":"https://api.github.com/users/droidmonkey/repos","events_url":"https://api.github.com/users/droidmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/droidmonkey/received_events","type":"User","site_admin":false},"created_at":"2017-03-04T01:54:20Z","updated_at":"2017-03-04T01:54:20Z","body":"Nice bug hunting!"}}
{"actor":{"display_login":"droidmonkey"}}