Re: [Encfs-users] encfs crash on mips

2009-05-06 Thread Max Suraev
Hello. Further studies using cross-debugging with gdbserver revealed that actual crash happens inside rlog library: rlog.h:171 code: inline void disable() { *enabled = false; } Have you ever saw something similar guys? Meanwhile I'll try to convert encfs to use libdaemon ( http://0pointer.de/le

Re: [Encfs-users] encfs crash on mips

2009-05-04 Thread Joe Pfeiffer
One other thing that occurs to me -- at least some (all?) MIPS processors were endian-agnostic. They could be set to run as either little-endian or big-endian. If you're compiling as one and running as the other, that could cause trouble... ---

Re: [Encfs-users] encfs crash on mips

2009-05-04 Thread Joe Pfeiffer
(I tried to respond off-line, but got a "Relay access denied" from mail.darim.ru) There's really no way to tell from a single line of code without context -- you'll have to either recheck your compilation parameters, or (more likely) have to run gdb on encfs and see what went wrong. I'm with the o

Re: [Encfs-users] encfs crash on mips

2009-04-30 Thread Max Suraev
Hello. I found particular place where test application is crashed: file: Cipher.cpp function: shared_ptr Cipher::New(const string &name, int keyLen) code: result = (*fn)( it->second.iface, keyLen ); we got segfault when we hit this line. Any ideas why this might happen? thanks, Max.

Re: [Encfs-users] encfs crash on mips

2009-04-29 Thread Max Suraev
В Втр, 28/04/2009 в 14:28 -0400, si...@mungewell.org пишет: > > Testing interfaces > > AES, key length 128, block size 256: Segmentation fault > > > > Any ideas where can I look for solution? > > I'm guessing this is an endian bug... with the call the AES engine. > Simon The issue was tracked do

Re: [Encfs-users] encfs crash on mips

2009-04-28 Thread simon
> Testing interfaces > AES, key length 128, block size 256: Segmentation fault > > Any ideas where can I look for solution? I'm guessing this is an endian bug... with the call the AES engine. Simon -- Register Now & S

Re: [Encfs-users] encfs crash on mips

2009-04-27 Thread Max Suraev
It looks like the problem is somewhere with used libraries (or with not checking data returned from it): ~ # makeKey AES 128 pid = 2527 Segmentation fault ~ # test Supported Crypto interfaces: AES ( ssl/aes 2:2:1 ) : 16 byte block cipher - key length 128 to 256 , block size 64 to 4096 Blowfish (

[Encfs-users] encfs crash on mips

2009-04-27 Thread Max Suraev
Hello. I have trouble running EncFS on mips with linux 2.6.12: - I successfully compile fuse module: ~ # lsmod Module Size Used byNot tainted fuse 56752 0 - Live 0xc0017000 - I successfully compiled encfs, but got segfault all the time I'm trying to use it: ~ # ls /tmp/ ~ # e