On Tue, Jul 12, 2005 at 02:25:20PM -0700, [EMAIL PROTECTED] wrote:
> looks like uninitialized data.  try changing lines
> 1659 + 1660 to look like this:
> 
> flags_init(int *argc, char ***argv) {
>    char *arg0 = (*argv)[0];
>    char *bracket_begin = 0;
>    char *bracket_end = 0;

well, it doesn't crash anymore, but i can't have it display anything
either. the movie i downloaded looks nice though:

$ ls -la .sheep
total 4412
drwxr-xr-x   2 piem piem    4096 2005-07-12 23:30 .
drwxr-xr-x  90 piem piem    8192 2005-07-12 23:30 ..
-rw-r--r--   1 piem piem 4484464 2005-07-12 23:23 00191=10920=10920=10920.mpg
-rw-r--r--   1 piem piem       0 2005-07-12 23:22 gen191
-rw-r--r--   1 piem piem      18 2005-07-12 23:30 id
-rwx------   1 piem piem       0 2005-07-12 23:30 lock
prwx------   1 piem piem       0 2005-07-12 23:30 overlay_fifo
-rw-r--r--   1 piem piem      22 2005-07-12 23:19 rc

'strace electricsheep' ends with:

fork()                                  = 29764
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(29764, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 29764
open("/home/piem/.sheep/rc", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=22, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x30027000
read(3, "1000\nA8BFC33CC3BF1558\n", 4096) = 22
close(3)                                = 0
munmap(0x30027000, 4096)                = 0
creat("/home/piem/.sheep/lock", 0700)   = 3
fcntl64(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
time(NULL)                              = 1121207531
fork()                                  = 29765
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(29765, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 29765
fork()                                  = 29766
fork()                                  = 29769
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
nanosleep({600, 0}, 

Alexis, i noticed another issue: a copy of the mpeg2 library is included
in the source and compiled. spot, i see parts of the mpeg2 code were
modified, but it would be much better if mpeg2dec_onroot could be linked
against debian's libmpeg2-4.

bye, piem



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to