Your message dated Mon, 11 Jan 2016 11:52:23 +0000
with message-id <[email protected]>
and subject line Bug#707634: fixed in keepassx 2.0-1
has caused the Debian Bug report #707634,
regarding keepassx: Segmentation fault on databases managed by other keepassx 
(Android)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
707634: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707634
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: keepassx
Version: 0.4.3+dfsg
Severity: important
Tags: patch upstream

Dear Maintainer,

My Keepassx database has been updated on Android.
In particular an icon has been changed. This make keepassx crash on
Debian

(gdb) r
Starting program: /home/rousseau/Debian/keepassx-0.4.3+dfsg/bin/keepassx
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[New Thread 0xaf686b70 (LWP 2945)]
[New Thread 0xaee85b70 (LWP 2946)]
[Thread 0xaf686b70 (LWP 2945) exited]
[New Thread 0xaf686b70 (LWP 2947)]
[Thread 0xaf686b70 (LWP 2947) exited]
[New Thread 0xaf686b70 (LWP 2948)]
[New Thread 0xae35fb70 (LWP 2949)]
[Thread 0xaf686b70 (LWP 2948) exited]
[Thread 0xae35fb70 (LWP 2949) exited]
Found Metastream: KPX_CUSTOM_ICONS_4
Found Metastream: KPX_GROUP_TREE_STATE

Program received signal SIGSEGV, Segmentation fault.
0xb757e6eb in QPixmap::isNull() const ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
(gdb) bt
#0  0xb757e6eb in QPixmap::isNull() const ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#1  0xb754e6ba in QIcon::addPixmap(QPixmap const&, QIcon::Mode,
QIcon::State) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#2  0xb754e7a9 in QIcon::QIcon(QPixmap const&) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#3  0x08098001 in KeepassEntryView::updateEntry (this=0x828a418,
    item=0x85878a8) at lib/EntryView.cpp:334
#4  0x0809debb in KeepassEntryView::createItems (
    this=this@entry=0x828a418, entries=...) at lib/EntryView.cpp:559
#5  0x0809df4a in KeepassEntryView::showGroup (this=0x828a418, group=
    0x859f120) at lib/EntryView.cpp:547
#6  0x08103511 in KeepassEntryView::qt_static_metacall (_o=0x828a418,
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfffd638)
    at ../build/moc/moc_EntryView.cpp:93
#7  0xb71fccd2 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0x08103a87 in KeepassGroupView::groupChanged (this=0x8284810,
    _t1=0x859f120) at ../build/moc/moc_GroupView.cpp:142
#9  0xb71fccd2 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb7ab63fd in QTreeWidget::currentItemChanged(QTreeWidgetItem*,
QTreeWidgetItem*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#11 0xb7ab64b7 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#12 0xb71fccd2 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#13 0xb7a91cfd in QItemSelectionModel::currentChanged(QModelIndex
const&, QModelIndex const&) () from
/usr/lib/i386-linux-gnu/libQtGui.so.4
#14 0xb7a91e7c in QItemSelectionModel::setCurrentIndex(QModelIndex
const&, QFlags<QItemSelectionModel::SelectionFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#15 0xb7a32597 in QAbstractItemView::setCurrentIndex(QModelIndex
const&) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#16 0xb7ab4868 in QTreeWidget::setCurrentItem(QTreeWidgetItem*, int) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#17 0xb7ab48ab in QTreeWidget::setCurrentItem(QTreeWidgetItem*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#18 0x080a379b in KeepassGroupView::selectFirstGroup (this=0x8284810)
    at lib/GroupView.cpp:202
#19 0x08073592 in KeepassMainWindow::openDatabase (this=0x8271a30,
    filename=..., IsAuto=false) at mainwindow.cpp:513
#20 0x08074b34 in KeepassMainWindow::openFile (this=0x8271a30,
    filename=...) at mainwindow.cpp:612
#21 0x08074d04 in KeepassMainWindow::OnFileOpen (this=0x8271a30)
    at mainwindow.cpp:625
#22 0xb71fccd2 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#23 0xb749141d in QAction::triggered(bool) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#24 0xb74916bc in QAction::activate(QAction::ActionEvent) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0xb7491864 in QAction::event(QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0xb749847c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#27 0xb749ce7f in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#28 0xb71e454e in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#29 0xb74cfb6f in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0xb74d117d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#31 0xb749f19d in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32 0xb71e454e in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#33 0xb749657d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#34 0xb7547038 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#35 0xb7547473 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#36 0xb7520935 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#37 0xb754b614 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#38 0xb6c856d3 in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb6c85a70 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#40 0xb6c85b51 in g_main_context_iteration ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb7216831 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/i386-linux-gnu/libQtCore.so.4
#42 0xb754b1fa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#43 0xb71e301c in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#44 0xb71e3311 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
#45 0xb71e8a8a in QCoreApplication::exec() ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#46 0xb74962f4 in QApplication::exec() ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#47 0x0805f7aa in main (argc=1, argv=0xbfffefd4) at main.cpp:205
(gdb)

In my case the problem is that the db->icon() returns -1

The patch is simple:
--- Kdb3Database.cpp.old 2013-05-09 21:48:53.000000000 +0200
+++ Kdb3Database.cpp 2013-05-09 21:49:06.000000000 +0200
@@ -66,7 +66,7 @@
 }

 QPixmap& Kdb3Database::icon(int i){
- if(i>=builtinIcons()+CustomIcons.size())
+ if(i<0 || i>=builtinIcons()+CustomIcons.size())
  return EntryIcons[0];
  if(i<builtinIcons())
  return EntryIcons[i];


The patch is for upstream but I don't know if upstream is still active
with this version of Keepassx.

Thanks

-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


--
 Dr. Ludovic Rousseau

--- End Message ---
--- Begin Message ---
Source: keepassx
Source-Version: 2.0-1

We believe that the bug you reported is fixed in the latest version of
keepassx, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reinhard Tartler <[email protected]> (supplier of updated keepassx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 09 Jan 2016 19:24:30 -0500
Source: keepassx
Binary: keepassx
Architecture: source
Version: 2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Reinhard Tartler <[email protected]>
Changed-By: Reinhard Tartler <[email protected]>
Description:
 keepassx   - Cross Platform Password Manager
Closes: 645499 685533 707634 714357 763083 791858
Changes:
 keepassx (2.0-1) unstable; urgency=medium
 .
   * New upstream release. (Closes: #707634)
     - Completely rewritten compared to 0.x series
       (closes: #707634, #685533, #714357, #763083, #791858)
     - pronouncable password generator has been dropped (closes: #645499)
Checksums-Sha1:
 953e73dfcfc250492c562a0dde3b25557011b17c 1720 keepassx_2.0-1.dsc
 e5dc2e55c9ec22a769abac177f2c3b6dfb0a315c 1524638 keepassx_2.0.orig.tar.gz
 166c4f8a63562681d83aa3c55eaf2fc5627a8ba8 9628 keepassx_2.0-1.debian.tar.xz
Checksums-Sha256:
 195ff6867a3726e07dc0aba24c018dd9e3e366419e8bca7c1ff6d47ba27d7fc9 1720 
keepassx_2.0-1.dsc
 0eb40fac3a44d8283dfc1ee28cc6de5c660b22ab975472de82c2b04675c822e6 1524638 
keepassx_2.0.orig.tar.gz
 a6661cccfd97f7cf5754d3c2f1316aa63195d8aae4b3201ef362df6c11030252 9628 
keepassx_2.0-1.debian.tar.xz
Files:
 44048d763ec6bb6a88939b824be7982a 1720 utils optional keepassx_2.0-1.dsc
 ded7db880d07cd1e5f7bd5bf3cc8c0f4 1524638 utils optional 
keepassx_2.0.orig.tar.gz
 868904eb1622c1c4c25e9f9ce4921cfc 9628 utils optional 
keepassx_2.0-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQGcBAEBCAAGBQJWk5PlAAoJEIuAbIZKeKRFNFsMALOJb47mpbA+0WFtsiVlx2D/
Co8587I8k4d+kIfQjil7mPQTG33NCRQMv75LHaNDkv1sVCLxXOJyRRImHl68kDpU
BtC02LT6L9GOSIQf6DCpXQiSAss80GxJGFPh3Fumd6OWmYq/HEhkWM/E8yWXxBEp
tE8EqpaBIdan6/6kDCaBI0tu64rqwkhU7V9fYfEEPKkC0RtcMrnvrVOtXTFtK5tT
aeyKtyn15RB2r5QV9ibH+lgkt4Gw5WmHz8+a6KmnEc8CiljWZvg+vYryDiAenG3C
QfneD1AC3PULF9FUI/nP+T9G4LoFQ34+Ji3trANUUwVhYbUr6zqajUlNswX9pBu+
2RQQ72xfBSZ9NY6/zE6GYMU+XOBSK7IEhfQcXu4c8w2EX4K+bEQKYd4W2dhN188h
ODwKLXZTtILxaGJsHSV1dqfR4zyTo9IpgMJwQNrPwYqUOjiIEUIW61+F8JuqJ/0e
mDNew7+99/TX4+l/hCHWjs5fUwTxHiclds36CtxRNQ==
=zHcd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to