[Pkg-openssl-devel] Bug#705218: Segfault in libcrypto.so.1.0.0

Scott Leggett scott at sl.id.au
Thu Apr 11 12:21:05 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: openssl
Version: 1.0.1e-2
Severity: important

I run 'deluged' on my torrent box, and it recently crashed while trying
to download a torrent. I restarted the daemon, and after about a minute
it crashed again

The message in syslog is this:


Apr 11 21:22:45 nas kernel: [5363185.399199] deluged[28793]: segfault
at 5ac38110 ip 00007ffd39e4d5de sp 00007ffd3779fcc0 error 4 in
libcrypto.so.1.0.0[7ffd39dac000+1b7000]


After installing 'libtorrent-rasterbar-dbg' and 'libssl1.0.0-dbg' I was
able to attach to the process and obtain a backtrace:


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb33e38a700 (LWP 29347)]
RC4 () at rc4-x86_64.s:309
309	rc4-x86_64.s: No such file or directory.
(gdb) bt
#0  RC4 () at rc4-x86_64.s:309
#1  0x0000000000000000 in ?? ()
(gdb) bt full
#0  RC4 () at rc4-x86_64.s:309
No locals.
#1  0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 5 (Thread 0x7fb33eb8b700 (LWP 29346)):
#0  0x00007fb3428fe2d4 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fb340e7fb03 in
wait<boost::unique_lock<boost::recursive_mutex> > (m=...,
this=0x1ae3b20) at
/usr/include/boost/thread/pthread/condition_variable.hpp:137
#2  libtorrent::disk_io_thread::operator() (this=0x1ae3920) at
../../src/disk_io_thread.cpp:1413
#3  0x00007fb342b4f629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007fb3428f9b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007fb341da3a7d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb33e38a700 (LWP 29347)):
#0  RC4 () at rc4-x86_64.s:309
#1  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb33db89700 (LWP 29348)):
#0  0x00007fb3428fe2d4 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fb340e99433 in
wait<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> >
(lock=..., this=0x7fb33db88e30) at
/usr/include/boost/asio/detail/posix_event.hpp:80
#2  do_run_one (ec=..., private_op_queue=..., this_thread=...,
lock=..., this=<optimized out>) at
/usr/include/boost/asio/detail/impl/task_io_service.ipp:380
#3  boost::asio::detail::task_io_service::run (this=0x1dbd770, ec=...)
at /usr/include/boost/asio/detail/impl/task_io_service.ipp:146
#4  0x00007fb340e998e6 in run (this=<optimized out>) at
/usr/include/boost/asio/impl/io_service.ipp:59
#5  operator() (this=<optimized out>) at
/usr/include/boost/asio/detail/impl/resolver_service_base.ipp:32
#6
boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service_base::work_io_service_runner>::run
(this=<optimized out>) at
/usr/include/boost/asio/detail/posix_thread.hpp:82
#7  0x00007fb340e95a7e in
boost::asio::detail::boost_asio_detail_posix_thread_function
(arg=<optimized out>) at
/usr/include/boost/asio/detail/impl/posix_thread.ipp:64
#8  0x00007fb3428f9b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007fb341da3a7d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb33cd60700 (LWP 29349)):
#0  0x00007fb3428fe2d4 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fb340e99433 in
wait<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> >
(lock=..., this=0x7fb33cd5fe30) at
/usr/include/boost/asio/detail/posix_event.hpp:80
#2  do_run_one (ec=..., private_op_queue=..., this_thread=...,
lock=..., this=<optimized out>) at
/usr/include/boost/asio/detail/impl/task_io_service.ipp:380
#3  boost::asio::detail::task_io_service::run (this=0x1b1a0b0, ec=...)
at /usr/include/boost/asio/detail/impl/task_io_service.ipp:146
#4  0x00007fb340e998e6 in run (this=<optimized out>) at
/usr/include/boost/asio/impl/io_service.ipp:59
#5  operator() (this=<optimized out>) at
/usr/include/boost/asio/detail/impl/resolver_service_base.ipp:32
#6
boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service_base::work_io_service_runner>::run
(this=<optimized out>) at
/usr/include/boost/asio/detail/posix_thread.hpp:82
#7  0x00007fb340e95a7e in
boost::asio::detail::boost_asio_detail_posix_thread_function
(arg=<optimized out>) at
/usr/include/boost/asio/detail/impl/posix_thread.ipp:64
#8  0x00007fb3428f9b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007fb341da3a7d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb342d23700 (LWP 29345)):
#0  0x00007fb341d98e33 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x000000000051cdc7 in ?? ()
#2  0x00000000004ac5ce in PyEval_EvalFrameEx ()
#3  0x00000000004acde0 in PyEval_EvalFrameEx ()
#4  0x00000000004acde0 in PyEval_EvalFrameEx ()
#5  0x00000000004b3fd8 in PyEval_EvalCodeEx ()
#6  0x00000000004acb98 in PyEval_EvalFrameEx ()
#7  0x00000000004b3fd8 in PyEval_EvalCodeEx ()
#8  0x00000000004b4b4c in ?? ()
#9  0x0000000000481cc4 in ?? ()
#10 0x00000000004613b4 in ?? ()
#11 0x0000000000463cc2 in ?? ()
#12 0x00000000004acc66 in PyEval_EvalFrameEx ()
#13 0x00000000004b3fd8 in PyEval_EvalCodeEx ()
#14 0x00000000004acb98 in PyEval_EvalFrameEx ()
#15 0x00000000004b3fd8 in PyEval_EvalCodeEx ()
#16 0x0000000000536723 in ?? ()
#17 0x0000000000446bf2 in PyRun_FileExFlags ()
#18 0x00000000004470ec in PyRun_SimpleFileExFlags ()
#19 0x0000000000447cdc in Py_Main ()
#20 0x00007fb341ce7ead in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
#21 0x00000000004c7f39 in _start ()
(gdb) q


Please let me know if further information is required.

- -- 
Regards,
Scott Leggett.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJRZqqmAAoJEHlzKPr+55fVhgQP/RnX6fMuMPsaL6pnIAiojiWS
JncDOP7vffDekU7VyPEbEWfRbowMliRVooMssKeHc2iFDFr4I6wMCKBWXKJP/PMi
R8ZhED/4Uvl5I6otwk4ZqcTmSH213/4cu7dBWvcOoTZd+Dqu2Y1QZNdz/69c6P7O
GY8LjDXCRC5XWN3N8d6Uz8de8/iZ7F9avDmvjgGlbgst+Uy04M+V7yejhF5Cacnn
/ytXw74NsER8ca0ZOmdAPS7wKFwjl2U9MkIcd2n8kBsYKbN2nhAH5gbRjdXpM2Cr
oqp8wdGYNdgviuoaiJVseMDVAPWdHxPb4jWa4GjUucZVi999f15HrNraatViQGmU
5YZ58peYk1X1fCjTIKPvYINnKUnfQO84FQPhgBKskvGR1+VjdlpBwN+V3QmFgfGb
5BDTVy/XtwBmXqFmGcq80tJlaj5pys3DGSpFlXXcOB343WVjibatU1R+P/nBxE6N
nAClE0l3ZfaaD7fqF7vGvWZJVpjvTxdFHdhjJeDs05fmgamWiKZad5OMpimdB1yK
ZdcrFkDIsK9Vg0UR60/4eRjR9rJfE8cGn8+1Ck/EPrkB2PdAffieuwwcC/Za+ISO
NDKjO9PVcdSTGcvksWLqIYFIVB/e2BtYL2P+59SfiN/165idC2BvGMSEK/u4nggh
/psAftMbFqL8ZGyqCHej
=H5t4
-----END PGP SIGNATURE-----



More information about the Pkg-openssl-devel mailing list