[Bug 347695] Re: dictconv segfault during conversion
Leonardo Silva Amaral
leleobhz at leleobhz.org
Mon Dec 28 01:25:23 UTC 2009
Happens with me, and i think can be something related to file encoding
(Special chars?). Details:
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$ dictconv Wikipedia_Portuguese_sub.BGL -o Wikipedia_Portuguese_sub/Wikipedia_Portuguese_sub.ifo
Error openning iconv library
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$ dictconv Wikipedia_Portuguese_sub.BGL -o Wikipedia_Portuguese_sub/Wikipedia_Portuguese_sub.ifo
Falha de segmentação (Segmentation Fault)
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$ dmesg | tail
[37800.073476] dictconv[5281]: segfault at 800622820 ip 00007fdc413670eb sp 00007fff9342e4f0 error 4 in libstdc++.so.6.0.13[7fdc412c0000+f2000]
[38023.837138] dictconv[5415]: segfault at 800622960 ip 00007f6b64e750eb sp 00007fff5e7204a0 error 4 in libstdc++.so.6.0.13[7f6b64dce000+f2000]
[38275.363534] dictconv[5454]: segfault at fffffffffffffff8 ip 00007f9ef29da0f3 sp 00007fff67b11960 error 4 in libstdc++.so.6.0.13[7f9ef2933000+f2000]
[38276.405972] dictconv[5456]: segfault at 800622700 ip 00007fccfd8900eb sp 00007fffb5a8c030 error 4 in libstdc++.so.6.0.13[7fccfd7e9000+f2000]
[38536.686109] dictconv[5954]: segfault at 8006226a0 ip 00007f652445e0eb sp 00007fff884651a0 error 4 in libstdc++.so.6.0.13[7f65243b7000+f2000]
[38538.898361] dictconv[5955]: segfault at 800622a70 ip 00007ff5ec6ba0eb sp 00007fff6480b7a0 error 4 in libstdc++.so.6.0.13[7ff5ec613000+f2000]
[38599.176079] dictconv[6023]: segfault at 8006229f0 ip 00007fde0a0120eb sp 00007fff85cc08a0 error 4 in libstdc++.so.6.0.13[7fde09f6b000+f2000]
[38944.335961] dictconv[6106]: segfault at 8006226f0 ip 00007f68675310eb sp 00007fff0eedf460 error 4 in libstdc++.so.6.0.13[7f686748a000+f2000]
[38948.659494] dictconv[6107]: segfault at 8006229f0 ip 00007f45cb9f60eb sp 00007fffb2864590 error 4 in libstdc++.so.6.0.13[7f45cb94f000+f2000]
[38957.096161] dictconv[6124]: segfault at 800622960 ip 00007fc52dfec0eb sp 00007fff5e1fc3b0 error 4 in libstdc++.so.6.0.13[7fc52df45000+f2000]
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$ date ; lsb_release -a
Dom Dez 27 23:18:37 BRST 2009
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$ ldd /usr/bin/dictconv
linux-vdso.so.1 => (0x00007ffff71ff000)
libz.so.1 => /lib/libz.so.1 (0x00007f2322fc0000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f2322c72000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f2322962000)
libm.so.6 => /lib/libm.so.6 (0x00007f23226de000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f23224c7000)
libc.so.6 => /lib/libc.so.6 (0x00007f2322158000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f2321f54000)
/lib64/ld-linux-x86-64.so.2 (0x00007f23231d7000)
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$ uname -a
Linux tarsila 2.6.32-9-generic #13-Ubuntu SMP Thu Dec 17 17:01:59 UTC 2009 x86_64 GNU/Linux
e_sub.ifo
execve("/usr/bin/dictconv", ["dictconv", "Wikipedia_Portuguese_sub.BGL", "-o", "Wikipedia_Portuguese_sub/Wikiped"...], [/* 47 vars */]) = 0
brk(0) = 0x1fbf000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc5063b7000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc5063b5000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=162995, ...}) = 0
mmap(NULL, 162995, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc50638d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libz.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=92752, ...}) = 0
mmap(NULL, 2187792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc505f83000
mprotect(0x7fc505f99000, 2093056, PROT_NONE) = 0
mmap(0x7fc506198000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fc506198000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libxml2.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\345\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1363960, ...}) = 0
mmap(NULL, 3464280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc505c35000
mprotect(0x7fc505d79000, 2093056, PROT_NONE) = 0
mmap(0x7fc505f78000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x143000) = 0x7fc505f78000
mmap(0x7fc505f82000, 3160, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc505f82000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\244\5\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1027760, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc50638c000
mmap(NULL, 3207256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc505925000
mprotect(0x7fc505a17000, 2097152, PROT_NONE) = 0
mmap(0x7fc505c17000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf2000) = 0x7fc505c17000
mmap(0x7fc505c20000, 82008, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc505c20000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p>\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=538920, ...}) = 0
mmap(NULL, 2633944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc5056a1000
mprotect(0x7fc505723000, 2097152, PROT_NONE) = 0
mmap(0x7fc505923000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x82000) = 0x7fc505923000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200-\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=92552, ...}) = 0
mmap(NULL, 2188280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc50548a000
mprotect(0x7fc5054a0000, 2093056, PROT_NONE) = 0
mmap(0x7fc50569f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fc50569f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\353\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1490312, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc50638b000
mmap(NULL, 3598344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc50511b000
mprotect(0x7fc505281000, 2093056, PROT_NONE) = 0
mmap(0x7fc505480000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x165000) = 0x7fc505480000
mmap(0x7fc505485000, 18440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc505485000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14696, ...}) = 0
mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc504f17000
mprotect(0x7fc504f19000, 2097152, PROT_NONE) = 0
mmap(0x7fc505119000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fc505119000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc50638a000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc506389000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc506388000
arch_prctl(ARCH_SET_FS, 0x7fc506388710) = 0
mprotect(0x7fc505119000, 4096, PROT_READ) = 0
mprotect(0x7fc505480000, 16384, PROT_READ) = 0
mprotect(0x7fc50569f000, 4096, PROT_READ) = 0
mprotect(0x7fc505923000, 4096, PROT_READ) = 0
mprotect(0x7fc505c17000, 28672, PROT_READ) = 0
mprotect(0x7fc505f78000, 32768, PROT_READ) = 0
mprotect(0x7fc506198000, 4096, PROT_READ) = 0
mprotect(0x621000, 4096, PROT_READ) = 0
mprotect(0x7fc5063b8000, 4096, PROT_READ) = 0
munmap(0x7fc50638d000, 162995) = 0
brk(0) = 0x1fbf000
brk(0x1fe0000) = 0x1fe0000
open("Wikipedia_Portuguese_sub.BGL", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=994, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc5063b4000
read(3, "\0224\0\2\0i>\17\377\367\253\342\254\n\3020\37\231&&Z\305R9\274\237\177\236r\324}?"..., 4096) = 994
lseek(3, 0, SEEK_SET) = 0
read(3, "\0224\0\2\0i>\17\377\367\253\342\254\n\3020\37\231&&Z\305R9\274\237\177\236r\324}?"..., 4096) = 994
lseek(3, -889, SEEK_CUR) = 105
dup(3) = 4
fcntl(4, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(4, {st_mode=S_IFREG|0644, st_size=994, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc5063b3000
lseek(4, 0, SEEK_CUR) = 105
read(4, "\37\213\10\0\0\0\0\0\0\3\225Q]h\34U\24>\233\335\374Xc\33M\254IZ\351a\241v"..., 16384) = 889
read(4, "", 12288) = 0
close(3) = 0
munmap(0x7fc5063b4000, 4096) = 0
lseek(4, 0, SEEK_SET) = 0
read(4, "\0224\0\2\0i>\17\377\367\253\342\254\n\3020\37\231&&Z\305R9\274\237\177\236r\324}?"..., 115) = 115
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26048, ...}) = 0
mmap(NULL, 26048, PROT_READ, MAP_SHARED, 3, 0) = 0x7fc5063ac000
close(3) = 0
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc5063ab000
write(1, "Error openning iconv library\n", 29Error openning iconv library
) = 29
exit_group(1) = ?
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$ LANG=C strace -f dictconv Wikipedia_Portuguese_sub.BGL -o Wikipedia_Portuguese_sub/Wikipedia_Portuguese_sub.ifo
execve("/usr/bin/dictconv", ["dictconv", "Wikipedia_Portuguese_sub.BGL", "-o", "Wikipedia_Portuguese_sub/Wikiped"...], [/* 47 vars */]) = 0
brk(0) = 0x14ff000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fab37c21000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fab37c1f000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=162995, ...}) = 0
mmap(NULL, 162995, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fab37bf7000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libz.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=92752, ...}) = 0
mmap(NULL, 2187792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fab377ed000
mprotect(0x7fab37803000, 2093056, PROT_NONE) = 0
mmap(0x7fab37a02000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fab37a02000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libxml2.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\345\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1363960, ...}) = 0
mmap(NULL, 3464280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fab3749f000
mprotect(0x7fab375e3000, 2093056, PROT_NONE) = 0
mmap(0x7fab377e2000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x143000) = 0x7fab377e2000
mmap(0x7fab377ec000, 3160, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fab377ec000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\244\5\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1027760, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fab37bf6000
mmap(NULL, 3207256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fab3718f000
mprotect(0x7fab37281000, 2097152, PROT_NONE) = 0
mmap(0x7fab37481000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf2000) = 0x7fab37481000
mmap(0x7fab3748a000, 82008, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fab3748a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p>\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=538920, ...}) = 0
mmap(NULL, 2633944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fab36f0b000
mprotect(0x7fab36f8d000, 2097152, PROT_NONE) = 0
mmap(0x7fab3718d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x82000) = 0x7fab3718d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200-\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=92552, ...}) = 0
mmap(NULL, 2188280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fab36cf4000
mprotect(0x7fab36d0a000, 2093056, PROT_NONE) = 0
mmap(0x7fab36f09000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fab36f09000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\353\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1490312, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fab37bf5000
mmap(NULL, 3598344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fab36985000
mprotect(0x7fab36aeb000, 2093056, PROT_NONE) = 0
mmap(0x7fab36cea000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x165000) = 0x7fab36cea000
mmap(0x7fab36cef000, 18440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fab36cef000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14696, ...}) = 0
mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fab36781000
mprotect(0x7fab36783000, 2097152, PROT_NONE) = 0
mmap(0x7fab36983000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fab36983000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fab37bf4000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fab37bf3000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fab37bf2000
arch_prctl(ARCH_SET_FS, 0x7fab37bf2710) = 0
mprotect(0x7fab36983000, 4096, PROT_READ) = 0
mprotect(0x7fab36cea000, 16384, PROT_READ) = 0
mprotect(0x7fab36f09000, 4096, PROT_READ) = 0
mprotect(0x7fab3718d000, 4096, PROT_READ) = 0
mprotect(0x7fab37481000, 28672, PROT_READ) = 0
mprotect(0x7fab377e2000, 32768, PROT_READ) = 0
mprotect(0x7fab37a02000, 4096, PROT_READ) = 0
mprotect(0x621000, 4096, PROT_READ) = 0
mprotect(0x7fab37c22000, 4096, PROT_READ) = 0
munmap(0x7fab37bf7000, 162995) = 0
brk(0) = 0x14ff000
brk(0x1520000) = 0x1520000
open("Wikipedia_Portuguese_sub.BGL", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=994, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fab37c1e000
read(3, "\0224\0\2\0i>\17\377\367\253\342\254\n\3020\37\231&&Z\305R9\274\237\177\236r\324}?"..., 4096) = 994
lseek(3, 0, SEEK_SET) = 0
read(3, "\0224\0\2\0i>\17\377\367\253\342\254\n\3020\37\231&&Z\305R9\274\237\177\236r\324}?"..., 4096) = 994
lseek(3, -889, SEEK_CUR) = 105
dup(3) = 4
fcntl(4, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(4, {st_mode=S_IFREG|0644, st_size=994, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fab37c1d000
lseek(4, 0, SEEK_CUR) = 105
read(4, "\37\213\10\0\0\0\0\0\0\3\225Q]h\34U\24>\233\335\374Xc\33M\254IZ\351a\241v"..., 16384) = 889
read(4, "", 12288) = 0
close(3) = 0
munmap(0x7fab37c1e000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$
leleobhz at tarsila:/media/dados/PROGRAMAS/STARDICT_DICS$ gdb /usr/bin/dictconv core
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Lendo símbolos de /usr/bin/dictconv...(no debugging symbols found)...concluído.
warning: Can't read pathname for load map: Erro de entrada/saída.
Lendo símbolos de /lib/libz.so.1...(no debugging symbols found)...concluído.
Loaded symbols for /lib/libz.so.1
Lendo símbolos de /usr/lib/libxml2.so.2...(no debugging symbols found)...concluído.
Loaded symbols for /usr/lib/libxml2.so.2
Lendo símbolos de /usr/lib/libstdc++.so.6...(no debugging symbols found)...concluído.
Loaded symbols for /usr/lib/libstdc++.so.6
Lendo símbolos de /lib/libm.so.6...(no debugging symbols found)...concluído.
Loaded symbols for /lib/libm.so.6
Lendo símbolos de /lib/libgcc_s.so.1...(no debugging symbols found)...concluído.
Loaded symbols for /lib/libgcc_s.so.1
Lendo símbolos de /lib/libc.so.6...(no debugging symbols found)...concluído.
Loaded symbols for /lib/libc.so.6
Lendo símbolos de /lib/libdl.so.2...(no debugging symbols found)...concluído.
Loaded symbols for /lib/libdl.so.2
Lendo símbolos de /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...concluído.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Lendo símbolos de /usr/lib/gconv/IBM874.so...(no debugging symbols found)...concluído.
Loaded symbols for /usr/lib/gconv/IBM874.so
Core was generated by `dictconv Wikipedia_Portuguese_sub.BGL -o Wikipedia_Portuguese_sub/Wikipedia_Por'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f2e72f6d0eb in std::string::assign(std::string const&) () from /usr/lib/libstdc++.so.6
(gdb) bt
#0 0x00007f2e72f6d0eb in std::string::assign(std::string const&) () from /usr/lib/libstdc++.so.6
#1 0x0000000000407ba1 in ?? ()
#2 0x000000000040a65e in ?? ()
#3 0x00000000004049e2 in ?? ()
#4 0x00007f2e726daabd in __libc_start_main () from /lib/libc.so.6
#5 0x00000000004033e9 in ?? ()
#6 0x00007fff308b5ab8 in ?? ()
#7 0x000000000000001c in ?? ()
#8 0x0000000000000004 in ?? ()
#9 0x00007fff308b6431 in ?? ()
#10 0x00007fff308b643a in ?? ()
#11 0x00007fff308b6457 in ?? ()
#12 0x00007fff308b645a in ?? ()
#13 0x0000000000000000 in ?? ()
--
dictconv segfault during conversion
https://bugs.launchpad.net/bugs/347695
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list