Problems with pinentry-qt and qt-3.2.2

Thomas Vollmer thomas-ml at vollmeronline.de
Wed Oct 22 16:31:44 CEST 2003


On Wednesday 22 October 2003 14:56, Thomas Vollmer wrote:
> Hi all,
>
> since my test upgrade to qt-3.2.2 I have trouble with pinentry-qt.
>
> I see the pinentry dialog flashing ub, but then it crashes. Or,
> sometimes I can enter up to 4 chars and then it crashes.
>
> Starting pinentry-qt directly and give only the 'GETPIN' command it
> works quite well.

I have some more info on my own.

It happens only when I set a longer description via "SETDESC".

Here is some output from gdb:

--8<-----------------------------------------------------------------
(gdb) run
Starting program: /usr/bin/pinentry-qt
[New Thread 1024 (LWP 8142)]
SETWarning: using insecure memory!
OK Your orders please
SETDESC sdkflsjdfk sdfjlks adflksdf lsdkf sldkf sklfj sdklfj sdfkl 
skldfj skldfjsdkfjs flkasjfiowejr fljsdkf sfiawe fd f
ERR 103 unknown command
SETDESC dfk sfk  fsfksfksdj fksfj skdfj skdflj sjkl sklg 
jskgldfgkjdfgkjd fgkdfgksdfg
OK
GETPIN
Out of memory!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 8142)]
0x40960722 in chunk_free () from /lib/i686/libc.so.6
(gdb) bt
#0  0x40960722 in chunk_free () from /lib/i686/libc.so.6
#1  0x40960666 in free () from /lib/i686/libc.so.6
#2  0x0804fcdf in operator delete[](void*) ()
#3  0x4051b953 in QGDict::~QGDict() () from /usr/lib/libqt-mt.so.3
#4  0x4028f58e in QMemberDict::~QMemberDict() () from /usr/lib/
libqt-mt.so.3
#5  0x4028d78d in QMetaObject::~QMetaObject() () from /usr/lib/
libqt-mt.so.3
#6  0x4028f47b in QMetaObjectCleanUp::~QMetaObjectCleanUp() () from /
usr/lib/libqt-mt.so.3
#7  0x40b76830 in __tcf_0 () from /opt/kde-cvs/lib/kde3/plugins/styles/
plastik.so
#8  0x4091e611 in exit () from /lib/i686/libc.so.6
#9  0x4051fd43 in qFatal(char const*, ...) () from /usr/lib/
libqt-mt.so.3
#10 0x0804fd7f in my_new_handler() ()
#11 0x0804fc3a in operator new[](unsigned) ()
#12 0x4035bd55 in 
QValueVectorPrivate<QLineEditPrivate::Command>::insert(QLineEditPrivate::Command*, 
unsigned, QLineEditPrivate::Command const&)
    () from /usr/lib/libqt-mt.so.3
#13 0x4035bb11 in 
QValueVector<QLineEditPrivate::Command>::insert(QLineEditPrivate::Command*, 
unsigned, QLineEditPrivate::Command const&) ()
   from /usr/lib/libqt-mt.so.3
#14 0x40359e86 in QLineEditPrivate::addCommand(QLineEditPrivate::Command 
const&) () from /usr/lib/libqt-mt.so.3
#15 0x4035a253 in QLineEditPrivate::insert(QString const&) () from /usr/
lib/libqt-mt.so.3
#16 0x40354961 in QLineEdit::insert(QString const&) () from /usr/lib/
libqt-mt.so.3
#17 0x40355c9a in QLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib/
libqt-mt.so.3
#18 0x402ce2b5 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#19 0x40354db3 in QLineEdit::event(QEvent*) () from /usr/lib/
libqt-mt.so.3
#20 0x40244d3c in QApplication::internalNotify(QObject*, QEvent*) () 
from /usr/lib/libqt-mt.so.3
#21 0x402448a2 in QApplication::notify(QObject*, QEvent*) () from /usr/
lib/libqt-mt.so.3
#22 0x401e28ce in QETWidget::translateKeyEvent(_XEvent const*, bool) () 
from /usr/lib/libqt-mt.so.3
#23 0x401de805 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/
lib/libqt-mt.so.3
#24 0x401f477e in QEventLoop::processEvents(unsigned) () from /usr/lib/
libqt-mt.so.3
#25 0x402572cf in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#26 0x40244fb5 in QApplication::enter_loop() () from /usr/lib/
libqt-mt.so.3
#27 0x4040c0e0 in QDialog::exec() () from /usr/lib/libqt-mt.so.3
#28 0x0804f7e1 in PinEntryController::getPin(char*) ()
#29 0x0805184e in dispatch_command ()
#30 0x08051921 in process_request ()
#31 0x08051a90 in assuan_process ()
#32 0x0804f0d3 in PinEntryController::exec() ()
#33 0x0804fe7c in qt_main(int, char**) ()
#34 0x08050041 in main ()
#35 0x4090a4c2 in __libc_start_main () from /lib/i686/libc.so.6
--8<-----------------------------------------------------------------

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : /pipermail/attachments/20031022/48c7fe01/attachment.bin


More information about the Gnupg-devel mailing list