Re: rsyncrypto crashing
Brought to you by:
thesun
From: Frederico R. A. <dev...@gm...> - 2014-03-18 11:56:01
|
Here is the stack trace: Program received signal SIGSEGV, Segmentation fault. key::read_key (buffer=buffer@entry=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>) at crypt_key.cpp:44 44 if( buff->version!=htonl(VERSION_MAGIC_1) ) (gdb) (gdb) bt #0 key::read_key (buffer=buffer@entry=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>) at crypt_key.cpp:44 #1 0x00000000004047f0 in read_header (headfd=...) at crypto.cpp:102 #2 0x0000000000408a3a in file_decrypt (src_file=0x9357158 "filesencrypted/files/40AEBACBA5170D57464965CA52861A2F", dst_file=0x9357238 "../ugah/files/work/tecgraf/lib/visnew/include/old/sg/strat/render/slrender.h", key_file=0x93572d8 "filesencrypted/keys/files/40AEBACBA5170D57464965CA52861A2F", rsa_key=rsa_key@entry=0x6296a0, stat=stat@entry=0x7fffffffb660) at file.cpp:445 #3 0x0000000000409b80 in recurse_dir_enc (src_dir=src_dir@entry=0x7fffffffc588 "filesencrypted/files", dst_dir=dst_dir@entry=0x7fffffffc59d "..", key_dir=key_dir@entry=0x7fffffffc5a0 "filesencrypted/keys", rsa_key=rsa_key@entry=0x6296a0, op=op@entry=0x408990 <file_decrypt(char const*, char const*, char const*, rsa_st*, stat const*)>, src_offset=src_offset@entry=15, op_handle_dir=op_handle_dir@entry=false, opname=opname@entry=0x410569 "Decrypting", dstname=dstname@entry= 0x40c4f0 <filemap::namecat_decrypt(char const*, char const*, unsigned int)>, keyname=keyname@entry=0x409520 <name_concat(char const*, char const*, unsigned int)>) at file.cpp:207 #4 0x000000000040a315 in dir_encrypt (src_dir=0x7fffffffc588 "filesencrypted/files", dst_dir=0x7fffffffc59d "..", key_dir=0x7fffffffc5a0 "filesencrypted/keys", rsa_key=rsa_key@entry=0x6296a0, op=op@entry=0x408990 <file_decrypt(char const*, char const*, char const*, rsa_st*, stat const*)>, opname=opname@entry=0x410569 "Decrypting", dstname=dstname@entry=0x40c4f0 <filemap::namecat_decrypt(char const*, char const*, unsigned int)>, keyname=keyname@entry=0x409520 <name_concat(char const*, char const*, unsigned int)>) at file.cpp:323 #5 0x00000000004030f9 in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:170 (gdb) On Sun, Mar 16, 2014 at 11:04 AM, Frederico Rodrigues Abraham < dev...@gm...> wrote: > It's saying 'not stripped', cool. Running it. > > It's 64 bit intel. > > -- Fred > > > On Sun, Mar 16, 2014 at 11:03 AM, Shachar Shemesh <sh...@sh...>wrote: > >> On 16/03/14 15:49, Frederico Rodrigues Abraham wrote: >> >> ok, ./configure && make worked. but is the executable with debug info? no >> special flags for 'make' ? >> >> "file rsyncrypto" >> >> It should say it is "not stripped". >> >> Also, what platform is this? Is it 64bit Intel? >> >> Shachar >> >> >> >> On Sun, Mar 16, 2014 at 10:35 AM, Shachar Shemesh <sh...@sh...>wrote: >> >>> On 16/03/14 15:19, Frederico Rodrigues Abraham wrote: >>> >>> >>> Any ideas? >>> >>> Yes. Try to build with the standard "./configure ; make" idiom. >>> Obviously, the packaging for this has rotted to the point it no longer >>> compiles :-( >>> >>> I'll get around, sometimes, to update the Debian package. The Ubuntu >>> package, however, is out of my hands. It will get updated on its own or >>> not. At least on Debian, however, the package complains a lot, but still >>> compiles. >>> >>> I'm not sure whether to tell you to open a bug on the Ubuntu package, >>> but the manual compile should at least tell us where the problem is. >>> >>> Shachar >>> >>> Thanks, >>> -- Fred >>> >>> >>> ------------------------------------------------------------------------------ >>> Learn Graph Databases - Download FREE O'Reilly Book >>> "Graph Databases" is the definitive new guide to graph databases and their >>> applications. Written by three acclaimed leaders in the field, >>> this first edition is now available. Download your free book today!http://p.sf.net/sfu/13534_NeoTech >>> >>> >>> >>> _______________________________________________ >>> Rsyncrypto-devel mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel >>> >>> >>> >> >> >> -- >> -- Fred >> >> >> > > > -- > -- Fred > -- -- Fred |