tixsys / esteid

Automatically exported from code.google.com/p/esteid
2 stars 0 forks source link

Crash after entering pin1 #182

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Opened a doc file for signature
2. Filled Role field and clicked sign
3. The application asks for permission to download certificates
4. The application asks for pin1 and crashes

What is the expected output? What do you see instead?
I would expect the application to sign the document and produce a new .ddoc file

What version of the product are you using? On what operating system?
Kubuntu 11.10, qdigidoc 0.4.0-0ubuntu1~oneiric1

Please provide any additional information below.
The backtrace:
(gdb) bt
#0  __strlen_sse2_bsf () at ../sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S:52
#1  0xb572af06 in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#2  0xb5728837 in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#3  0xb5738710 in lh_doall_arg () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#4  0xb5728e3d in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#5  0xb572b3d6 in ENGINE_pkey_asn1_find_str () from 
/lib/i386-linux-gnu/libcrypto.so.1.0.0
#6  0xb5763ff1 in EVP_PKEY_asn1_find_str () from 
/lib/i386-linux-gnu/libcrypto.so.1.0.0
#7  0xb5863212 in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
#8  0xb585bc8c in SSL_CTX_new () from /lib/i386-linux-gnu/libssl.so.1.0.0
#9  0x080b61ff in SSLConnectPrivate::connectToHost(SSLConnect::RequestType) ()
#10 0x080b6e36 in SSLConnect::getUrl(SSLConnect::RequestType, QString const&) ()
#11 0x080b7699 in SSLConnect::waitForFinished(SSLConnect::RequestType, QString 
const&) ()
#12 0x08065725 in AccessCert::download(QSigner*, QString const&, QString 
const&) ()
#13 0x0807ab06 in MainWindow::buttonClicked(int) ()
#14 0x0806362d in MainWindow::qt_metacall(QMetaObject::Call, int, void**) ()
#15 0xb5af5b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, 
void**) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#16 0xb5b04a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, 
void**) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#17 0xb6614a35 in QButtonGroup::buttonClicked(int) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#18 0xb631360d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#19 0xb6314c4b in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#20 0xb6314f06 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#21 0xb5f59fc8 in QWidget::event(QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#22 0xb63141a9 in QAbstractButton::event(QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#23 0xb63b67e8 in QPushButton::event(QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#24 0xb5effd84 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0xb5f05deb in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0xb5aef19e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtCore.so.4
#27 0xb5f00d45 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, 
QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#28 0xb5f8d304 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#29 0xb5f8be8d in QApplication::x11ProcessEvent(_XEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0xb5fb828c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#31 0xb50a125f in g_main_context_dispatch () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#32 0xb50a1990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb50a1c2a in g_main_context_iteration () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb5b1dada in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#35 0xb5fb7e7a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#36 0xb5aee1dd in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#37 0xb5aee421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#38 0xb5af319d in QCoreApplication::exec() () from 
/usr/lib/i386-linux-gnu/libQtCore.so.4
#39 0xb5efd924 in QApplication::exec() () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#40 0x08062e4f in main ()

and thread apply all bt:

(gdb) thread apply all bty

Thread 5 (Thread 0xaf26ab70 (LWP 18384)):
Undefined command: "bty".  Try "help".
(gdb) thread apply all bt

Thread 5 (Thread 0xaf26ab70 (LWP 18384)):
#0  0xb7fdf424 in __kernel_vsyscall ()
#1  0xb54bf40e in __GI___poll (fds=0x8547ef0, nfds=1, timeout=-1) at 
../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb50b034b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb50a1896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb50a1c2a in g_main_context_iteration () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5b1dada in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb5aee1dd in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb5aee421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb59f190b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb59f19fb in QThread::run() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb59f47b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb53e6d31 in start_thread (arg=0xaf26ab70) at pthread_create.c:304
#12 0xb54ce0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xafb51b70 (LWP 18381)):
#0  0xb7fdf424 in __kernel_vsyscall ()
#1  0xb54bf40e in __GI___poll (fds=0x8774a28, nfds=2, timeout=-1) at 
../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb50b034b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb50a1896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb50a1c2a in g_main_context_iteration () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5b1dada in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb5aee1dd in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb5aee421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb59f190b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb5acee2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb59f47b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb53e6d31 in start_thread (arg=0xafb51b70) at pthread_create.c:304
#12 0xb54ce0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb14dcb70 (LWP 18377)):
#0  0xb7fdf424 in __kernel_vsyscall ()
#1  0xb54bf40e in __GI___poll (fds=0xb1811780, nfds=2, timeout=-1) at 
../sysdeps/unix/sysv/linux/poll.c:87
---Type <return> to continue, or q <return> to quit---
#2  0xb50b034b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb50a1896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb50a1c2a in g_main_context_iteration () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5b1dada in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb5aee1dd in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb5aee421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb59f190b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb5acee2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb59f47b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb53e6d31 in start_thread (arg=0xb14dcb70) at pthread_create.c:304
#12 0xb54ce0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb22adb70 (LWP 18373)):
#0  0xb7fdf424 in __kernel_vsyscall ()
#1  0xb53eae04 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb54dbd54 in __pthread_cond_timedwait (cond=0xb22ad224, mutex=0xb22ad254, 
abstime=0xb22ad2a8) at forward.c:152
#3  0xb59f390c in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb59f3d64 in QThread::sleep(unsigned long) () from 
/usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0x08093d5a in QSigner::run() ()
#6  0xb59f47b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb53e6d31 in start_thread (arg=0xb22adb70) at pthread_create.c:304
#8  0xb54ce0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb469a710 (LWP 18370)):
#0  __strlen_sse2_bsf () at ../sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S:52
#1  0xb572af06 in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#2  0xb5728837 in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#3  0xb5738710 in lh_doall_arg () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#4  0xb5728e3d in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#5  0xb572b3d6 in ENGINE_pkey_asn1_find_str () from 
/lib/i386-linux-gnu/libcrypto.so.1.0.0
#6  0xb5763ff1 in EVP_PKEY_asn1_find_str () from 
/lib/i386-linux-gnu/libcrypto.so.1.0.0
#7  0xb5863212 in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
#8  0xb585bc8c in SSL_CTX_new () from /lib/i386-linux-gnu/libssl.so.1.0.0
#9  0x080b61ff in SSLConnectPrivate::connectToHost(SSLConnect::RequestType) ()
#10 0x080b6e36 in SSLConnect::getUrl(SSLConnect::RequestType, QString const&) ()
---Type <return> to continue, or q <return> to quit---
#11 0x080b7699 in SSLConnect::waitForFinished(SSLConnect::RequestType, QString 
const&) ()
#12 0x08065725 in AccessCert::download(QSigner*, QString const&, QString 
const&) ()
#13 0x0807ab06 in MainWindow::buttonClicked(int) ()
#14 0x0806362d in MainWindow::qt_metacall(QMetaObject::Call, int, void**) ()
#15 0xb5af5b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, 
void**) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#16 0xb5b04a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, 
void**) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#17 0xb6614a35 in QButtonGroup::buttonClicked(int) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#18 0xb631360d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#19 0xb6314c4b in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#20 0xb6314f06 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#21 0xb5f59fc8 in QWidget::event(QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#22 0xb63141a9 in QAbstractButton::event(QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#23 0xb63b67e8 in QPushButton::event(QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#24 0xb5effd84 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0xb5f05deb in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0xb5aef19e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from 
/usr/lib/i386-linux-gnu/libQtCore.so.4
#27 0xb5f00d45 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, 
QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#28 0xb5f8d304 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#29 0xb5f8be8d in QApplication::x11ProcessEvent(_XEvent*) () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0xb5fb828c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#31 0xb50a125f in g_main_context_dispatch () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#32 0xb50a1990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb50a1c2a in g_main_context_iteration () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb5b1dada in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#35 0xb5fb7e7a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#36 0xb5aee1dd in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#37 0xb5aee421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#38 0xb5af319d in QCoreApplication::exec() () from 
/usr/lib/i386-linux-gnu/libQtCore.so.4
#39 0xb5efd924 in QApplication::exec() () from 
/usr/lib/i386-linux-gnu/libQtGui.so.4
#40 0x08062e4f in main ()
(gdb) 

Original issue reported on code.google.com by margus.l...@gmail.com on 14 Feb 2012 at 12:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I suppose it's the same as http://code.google.com/p/esteid/issues/detail?id=168

Original comment by boamaod on 25 Feb 2012 at 5:55