Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261480 - app-admin/keepassx-0.4.0_beta1 - crash on password copy-to-clipboard
Summary: app-admin/keepassx-0.4.0_beta1 - crash on password copy-to-clipboard
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Timo Gurr (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 18:27 UTC by Dan Reidy
Modified: 2009-03-30 16:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Relevant Paludis --info (paludis-info.txt,8.16 KB, text/plain)
2009-03-06 18:32 UTC, Dan Reidy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Reidy 2009-03-06 18:27:13 UTC
KeePassX crashes when attempting to copy a stored password into your clipboard for copy/paste - such as entering websites... which i am locked out of, until this is fixed. Attached is a partial backtrace.



Reproducible: Always

Steps to Reproduce:
1.launch keepassx
2.right-click an entry and chose "copy password to clipboard"
3.keepassx cores.




my entire system is (clearly) not compiled with debug enabled, only keepassx - so this gdb output may be helpful... or may be full of FAIL.

This GDB was configured as "x86_64-pc-linux-gnu"...
(gdb) run
Starting program: /usr/bin/keepassx 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fcb357bb750 (LWP 13502)]
[New Thread 0x7fcb2a959950 (LWP 13521)]
[Thread 0x7fcb2a959950 (LWP 13521) exited]
[New Thread 0x7fcb2a158950 (LWP 13522)]
[Thread 0x7fcb2a158950 (LWP 13522) exited]
Found Metastream: KPX_CUSTOM_ICONS_4
Found Metastream: KPX_GROUP_TREE_STATE

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fcb357bb750 (LWP 13502)]
0x00007fcb335befb5 in raise () from /lib/libc.so.6
(gdb) bt full
#0  0x00007fcb335befb5 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fcb335c0bc3 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00007fcb33604940 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
#3  0x00007fcb3413bc2c in QString::free () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#4  0x00007fcb3413bc72 in QString::operator= () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#5  0x0000000000475e5f in SecString::lock (this=0x7fff3d7f9430) at lib/SecString.cpp:43
No locals.
#6  0x000000000047602e in ~SecString (this=0x7fff3d7f9430) at lib/SecString.cpp:37
No locals.
#7  0x00000000004688fb in KeepassEntryView::OnPasswordToClipboard (this=0x15f0ee0) at lib/EntryView.cpp:345
        password = {static RC4 = {RawKey = 0x15c1ea0 "­B9\031PcÖÜM¶CøÝf\201\032\030*AÏÁx", RawKeyLength = 32}, 
  static sessionkey = 0x15c1ea0 "­B9\031PcÖÜM¶CøÝf\201\032\030*AÏÁx", locked = true, crypt = {static shared_null = {
      ref = {_q_value = 560}, alloc = 0, size = 0, data = 0x746858 "", array = ""}, static shared_empty = {ref = {
        _q_value = 3}, alloc = 0, size = 0, data = 0x7fcb344a56d8 "", array = ""}, d = 0x1606ce0}, plain = {
    static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1486}, alloc = 0, size = 0, 
      data = 0x7463da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
      array = {0}}, static shared_empty = {ref = {_q_value = 214}, alloc = 0, size = 0, data = 0x7fcb344a581a, 
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
    d = 0x16dabd0, static codecForCStrings = 0x0}}
#8  0x00000000004fb6d2 in KeepassEntryView::qt_metacall (this=0x15f0ee0, _c=QMetaObject::InvokeMetaMethod, _id=12, 
    _a=0x7fff3d7f9600) at ../build/moc/moc_EntryView.cpp:120
No locals.
#9  0x00007fcb341e3045 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0x00007fcb3462cd47 in QAction::triggered () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#11 0x00007fcb3462dfa0 in QAction::activate () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#12 0x00007fcb349f20c2 in ?? () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#13 0x00007fcb349f7d5b in ?? () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#14 0x00007fcb3467f030 in QWidget::event () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#15 0x00007fcb349f9313 in QMenu::event () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#16 0x00007fcb3463208d in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#17 0x00007fcb3463a0e5 in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#18 0x00007fcb341d0df3 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#19 0x00007fcb3463b598 in QApplicationPrivate::sendMouseEvent () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#20 0x00007fcb3469478b in ?? () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#21 0x00007fcb346930e5 in QApplication::x11ProcessEvent () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#22 0x00007fcb346b7a5c in ?? () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#23 0x00007fcb32089fc1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x00007fcb3208d69d in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#25 0x00007fcb3208d85b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#26 0x00007fcb341f5d9f in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#27 0x00007fcb346b72ff in ?? () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#28 0x00007fcb341cf7f2 in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#29 0x00007fcb341cf985 in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#30 0x00007fcb341d1984 in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#31 0x000000000042ce7b in main (argc=1, argv=0x7fff3d7fb0c8) at main.cpp:155
        app = (struct QApplication *) 0x14fc8d0
        args = {Error = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1486}, alloc = 0, 
      size = 0, data = 0x7463da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
      reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 214}, alloc = 0, size = 0, 
      data = 0x7fcb344a581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
      array = {0}}, d = 0x7463c0, static codecForCStrings = 0x0}, File = {static null = {<No data fields>}, 
    static shared_null = {ref = {_q_value = 1486}, alloc = 0, size = 0, data = 0x7463da, clean = 0, simpletext = 0, 
      righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {
        _q_value = 214}, alloc = 0, size = 0, data = 0x7fcb344a581a, clean = 0, simpletext = 0, righttoleft = 0, 
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7463c0, static codecForCStrings = 0x0}, 
  ConfigLocation = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1486}, alloc = 0, 
      size = 0, data = 0x7463da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
      reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 214}, alloc = 0, size = 0, 
      data = 0x7fcb344a581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
      array = {0}}, d = 0x7463c0, static codecForCStrings = 0x0}, Language = {static null = {<No data fields>}, 
---Type <return> to continue, or q <return> to quit---
    static shared_null = {ref = {_q_value = 1486}, alloc = 0, size = 0, data = 0x7463da, clean = 0, simpletext = 0, 
      righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {
        _q_value = 214}, alloc = 0, size = 0, data = 0x7fcb344a581a, clean = 0, simpletext = 0, righttoleft = 0, 
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7463c0, static codecForCStrings = 0x0}, 
  StartMinimized = false, StartLocked = false, Help = false}
        IniFilename = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1486}, alloc = 0, 
    size = 0, data = 0x7463da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
    array = {0}}, static shared_empty = {ref = {_q_value = 214}, alloc = 0, size = 0, data = 0x7fcb344a581a, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
  d = 0x14f9360, static codecForCStrings = 0x0}
        eventListener = (class EventListener *) 0x15c25e0
        mainWin = (class KeepassMainWindow *) 0x15cffb0
        r = 0
(gdb)
Comment 1 Dan Reidy 2009-03-06 18:28:17 UTC
I forgot to mention: this is version 0.4.0_beta1
Comment 2 Dan Reidy 2009-03-06 18:32:38 UTC
Created attachment 184159 [details]
Relevant Paludis --info
Comment 3 Dan Reidy 2009-03-30 16:25:39 UTC
note: this bug was reported by someone else to upstream, and is fixed in 0.4.0. hopefully it will be bumped soon :)