Segfault
$ cuneiform -l rus book_1.tif
Cuneiform for Linux 0.3.0
Puma initialized.
PUMA_XOpen succeeded.
The image depth is 1 at this point.
Warning: RSL said that the lines do not have to withdraw.
Segfault
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Last query:
- 2008-08-15
- Last reply:
- 2008-08-19
GNU DDD 3.3.11 (x86_64-
Reading symbols from /home/starterki
Using host libthread_db library "/lib/libthread
(gdb) run -l rus book_1.tif
Reading symbols from /lib64/
Reading symbols from system-supplied DSO at 0x7fffdfbfe000.
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /lib64/
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /home/starterki
Reading symbols from /usr/lib64/
Reading symbols from /lib64/
Reading symbols from /lib64/
Reading symbols from /lib64/
Reading symbols from /lib64/
Reading symbols from /lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /lib64/
Reading symbols from /lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Cuneiform for Linux 0.3.0
Reading symbols from /usr/lib64/
Reading symbols from /usr/lib64/
Puma initialized.
PUMA_XOpen succeeded.
The image depth is 1 at this point.
Warning: RSL said that the lines do not have to withdraw.
Reading in symbols for /home/starterki
Program received signal SIGSEGV, Segmentation fault.
0x00007f72d292a921 in Lines2Raster (linerep=
/home/
Current language: auto; currently c
yaleks (yaleks) said : | #2 |
Using strace your can see something very strange:
open("/
fstat(3, {st_mode=
mmap(NULL, 229307, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd1ff698000
close(3) = 0
open("/
open("/
munmap(
open("/
fstat(3, {st_mode=
mmap(NULL, 229307, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd1ff698000
close(3) = 0
open("/
open("/
munmap(
write(1, "The image depth is 24 at this po"..., 37The image depth is 24 at this point.
) = 37
brk(0x1dbe000) = 0x1dbe000
brk(0x1de6000) = 0x1de6000
brk(0x1e15000) = 0x1e15000
brk(0x1e44000) = 0x1e44000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Alex Samorukov (samm-os2) said : | #3 |
I tried to make clean install in qemu, with debian 4/x86, gcc 4.1, and i got segfault on a test.bmp
Alex Samorukov (samm-os2) said : | #4 |
Also tried with gcc/g++ version 3.4 - same result
Alex Samorukov (samm-os2) said : | #5 |
i just tested version 0.2 on the same system and it works! so we have regression somewhere between 0.3 and 0.2
Alex Samorukov (samm-os2) said : | #6 |
i just tested version 0.2 on the same system and it works! so we have regression somewhere between 0.3 and 0.2
Alex Samorukov (samm-os2) said : | #7 |
I just found that revision 229 (checked out using bazaar) works fine, at least on x86 debian. So, regression is between 229 and 230. Hope, this will help.