Milton Calnek wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm hoping you folks can help. A couple of weeks ago, I built/installed
rsyncrypto-1.12. I tried it out and it seemed to work as advertised.
I put it down for a couple of weeks and tried it out again today... now
I get seg faults and core files. Yes, several libraries and a kernel have
been updated, but I have tried re-compiling and re-installing... this has
not helped (much).
As far as upgrades, among others, I noticed that I went from openssl-0.9.8b
to openssl-0.9.8e.
There's a bunch of entries in the stack trace that doesn't have useful
info. Any idea on how to get the info?
Any hints/suggestions would be appreciated.
Thanks.
GDB output:
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libargtable2.so.0...done.
Loaded symbols for /usr/lib/libargtable2.so.0
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `rsyncrypto -r /home /tmp/home /tmp/keys/home
/root/.keys/rckey.crt'.
Program terminated with signal 11, Segmentation fault.
[New process 29995]
#0 0x00384a22 in AES_cbc_encrypt () from /lib/libcrypto.so.6
(gdb) bt
#0 0x00384a22 in AES_cbc_encrypt () from /lib/libcrypto.so.6
#1 0x00c02340 in _dl_map_object () from /lib/ld-linux.so.2
#2 0x091ab3d0 in ?? ()
#3 0x091ab250 in ?? ()
#4 0x00000005 in ?? ()
#5 0xbff576a0 in ?? ()
#6 0x00000000 in ?? ()
(gdb)
I also ran strace and here is the tail end:
open("/tmp/home/milton/Desktop/.directory.rsyncrypto_tmp",
O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 8
_llseek(8, 196, [196], SEEK_SET) = 0
pipe([9, 10]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f35928) = 10337
- --- SIGCHLD (Child exited) @ 0 (0) ---
close(7) = 0
close(10) = 0
read(9,
"\37\213\10\0!\225\266I\0\3\213vI-\316.\311/Pp\315+)\252\214\345r\315K\316O\311"...,
8192) = 85
read(9, "", 8192) = 0
close(9) = 0
- --- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
The core seems useless. The strace as pasted is also useless. Please run
with -f and -o, and send me (private, after compressing it) the output.
Also, which OS, if Linux, which distro, and which version. In
particular, what versions of openssl and argtable.
Thanks,
Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Rsyncrypto-devel mailing list
Rsyncrypto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel