The generated binaries always crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryopid (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: cryopid
All checkpointed binaries generated with Cryopid crash immediately with "Segmentation fault".
My setup:
Ubuntu 8.04
Cryopid 0.5.9.1-4build1
Kernel: installed from pkg linux-image-
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz
Here is an example session (the sources of the example program "ciao" used for this test are attached).
maggesi@flipper:~$ ./ciao
PID = 14098
1
2
...
<<switch terminal>>
maggesi@flipper:~$ freeze ciao.dump 14098
Map: 08048000-08049000 r-xp 00000000 08:01 427799 /home/maggesi/ciao
Map: 08049000-0804a000 rw-p 00000000 08:01 427799 /home/maggesi/ciao
Map: b7e78000-b7e79000 rw-p b7e78000 00:00 0 (null)
[+] Found scribble zone: 0xb7e78000
Map: b7e79000-b7fc2000 r-xp 00000000 08:01 2665633 /lib/tls/
[+] Found a syscall location at 0xb7ea4125
Map: b7fc2000-b7fc3000 r--p 00149000 08:01 2665633 /lib/tls/
Map: b7fc3000-b7fc5000 rw-p 0014a000 08:01 2665633 /lib/tls/
Map: b7fc5000-b7fc8000 rw-p b7fc5000 00:00 0 (null)
Map: b7fe0000-b7fe3000 rw-p b7fe0000 00:00 0 (null)
Map: b7fe3000-b7fe4000 r-xp b7fe3000 00:00 0 [vdso]
Map: b7fe4000-b7ffe000 r-xp 00000000 08:01 2632683 /lib/ld-2.7.so
Map: b7ffe000-b8000000 rw-p 00019000 08:01 2632683 /lib/ld-2.7.so
Map: bff1b000-bff30000 rw-p bffeb000 00:00 0 [stack]
[+] Terminal device appears to be 136:1
Saved console chunk (0).
Saved console chunk (1).
Saved console chunk (2).
Heap was at 0x12900. Want to be at 0xb7e78000. offset = 0xb7e65700
Compressed 147059 bytes into 12246 bytes (92% compression)
Written image.
maggesi@flipper:~$ ./ciao.dump
Segmentation fault
maggesi@flipper:~$
Changed in cryopid: | |
importance: | Undecided → Medium |
I've independently discovered this and then found this bug. Confirming. I'm using exactly the same version of cryopid as Marco on x86. Makes no difference whether the -l option is given.