Bug ID 1042465
Summary BogoFilter Segfault
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.2
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter gsexton@mhsoftware.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

On OpenSuSE leap 42.2, If I run the command: 

bogofilter -d /tmp/test.db -n -B cur

where cur is a Maildir/cur directory that has about 16000 messages. Running df
on the directory show it's about 1300 MB. I visually inspected the directory
and didn't notice anything unusual.

the program aborts and prints this information.


*** Error in `bogofilter': realloc(): invalid next size: 0x0000000002083600 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x721af)[0x7f730ba861af]
/lib64/libc.so.6(+0x779d6)[0x7f730ba8b9d6]
/lib64/libc.so.6(+0x7aa3e)[0x7f730ba8ea3e]
/lib64/libc.so.6(realloc+0x12f)[0x7f730ba8fdaf]
bogofilter[0x40af8a]
bogofilter[0x40fd8a]
bogofilter[0x4064a5]
bogofilter[0x402e7e]
bogofilter[0x404e89]
bogofilter[0x402c44]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f730ba346e5]
bogofilter[0x402c79]
======= Memory map: ========
00400000-00431000 r-xp 00000000 00:22 1220532                           
/usr/bin/bogofilter-db
00630000-00631000 r--p 00030000 00:22 1220532                           
/usr/bin/bogofilter-db
00631000-00633000 rw-p 00031000 00:22 1220532                           
/usr/bin/bogofilter-db
00633000-00637000 rw-p 00000000 00:00 0 
018e7000-0210f000 rw-p 00000000 00:00 0                                  [heap]
7f7304000000-7f7304021000 rw-p 00000000 00:00 0 
7f7304021000-7f7308000000 ---p 00000000 00:00 0 
7f730b3dd000-7f730b3f3000 r-xp 00000000 00:22 1396796                   
/lib64/libgcc_s.so.1
7f730b3f3000-7f730b5f2000 ---p 00016000 00:22 1396796                   
/lib64/libgcc_s.so.1
7f730b5f2000-7f730b5f3000 r--p 00015000 00:22 1396796                   
/lib64/libgcc_s.so.1
7f730b5f3000-7f730b5f4000 rw-p 00016000 00:22 1396796                   
/lib64/libgcc_s.so.1
7f730b5f4000-7f730b5f6000 r-xp 00000000 00:22 1463070                   
/usr/lib64/gconv/ISO8859-1.so
7f730b5f6000-7f730b7f5000 ---p 00002000 00:22 1463070                   
/usr/lib64/gconv/ISO8859-1.so
7f730b7f5000-7f730b7f6000 r--p 00001000 00:22 1463070                   
/usr/lib64/gconv/ISO8859-1.so
7f730b7f6000-7f730b7f7000 rw-p 00002000 00:22 1463070                   
/usr/lib64/gconv/ISO8859-1.so
7f730b7f7000-7f730b80f000 r-xp 00000000 00:22 1459894                   
/lib64/libpthread-2.22.so
7f730b80f000-7f730ba0e000 ---p 00018000 00:22 1459894                   
/lib64/libpthread-2.22.so
7f730ba0e000-7f730ba0f000 r--p 00017000 00:22 1459894                   
/lib64/libpthread-2.22.so
7f730ba0f000-7f730ba10000 rw-p 00018000 00:22 1459894                   
/lib64/libpthread-2.22.so
7f730ba10000-7f730ba14000 rw-p 00000000 00:00 0 
7f730ba14000-7f730bbae000 r-xp 00000000 00:22 1459864                   
/lib64/libc-2.22.so
7f730bbae000-7f730bdad000 ---p 0019a000 00:22 1459864                   
/lib64/libc-2.22.so
7f730bdad000-7f730bdb1000 r--p 00199000 00:22 1459864                   
/lib64/libc-2.22.so
7f730bdb1000-7f730bdb3000 rw-p 0019d000 00:22 1459864                   
/lib64/libc-2.22.so
7f730bdb3000-7f730bdb7000 rw-p 00000000 00:00 0 
7f730bdb7000-7f730beb3000 r-xp 00000000 00:22 1459872                   
/lib64/libm-2.22.so
7f730beb3000-7f730c0b2000 ---p 000fc000 00:22 1459872                   
/lib64/libm-2.22.so
7f730c0b2000-7f730c0b3000 r--p 000fb000 00:22 1459872                   
/lib64/libm-2.22.so
7f730c0b3000-7f730c0b4000 rw-p 000fc000 00:22 1459872                   
/lib64/libm-2.22.so
7f730c0b4000-7f730c0f0000 r-xp 00000000 00:22 1220488                   
/usr/lib64/libgslcblas.so.0.0.0
7f730c0f0000-7f730c2f0000 ---p 0003c000 00:22 1220488                   
/usr/lib64/libgslcblas.so.0.0.0
7f730c2f0000-7f730c2f1000 r--p 0003c000 00:22 1220488                   
/usr/lib64/libgslcblas.so.0.0.0
7f730c2f1000-7f730c2f2000 rw-p 0003d000 00:22 1220488                   
/usr/lib64/libgslcblas.so.0.0.0
7f730c2f2000-7f730c511000 r-xp 00000000 00:22 1220486                   
/usr/lib64/libgsl.so.0.17.0
7f730c511000-7f730c711000 ---p 0021f000 00:22 1220486                   
/usr/lib64/libgsl.so.0.17.0
7f730c711000-7f730c714000 r--p 0021f000 00:22 1220486                   
/usr/lib64/libgsl.so.0.17.0
7f730c714000-7f730c724000 rw-p 00222000 00:22 1220486                   
/usr/lib64/libgsl.so.0.17.0
7f730c724000-7f730c725000 rw-p 00000000 00:00 0 
7f730c725000-7f730c89d000 r-xp 00000000 00:22 1141801                   
/usr/lib64/libdb-4.8.so
7f730c89d000-7f730ca9d000 ---p 00178000 00:22 1141801                   
/usr/lib64/libdb-4.8.so
7f730ca9d000-7f730ca9f000 r--p 00178000 00:22 1141801                   
/usr/lib64/libdb-4.8.so
7f730ca9f000-7f730caa2000 rw-p 0017a000 00:22 1141801                   
/usr/lib64/libdb-4.8.so
7f730caa2000-7f730cac3000 r-xp 00000000 00:22 1459856                   
/lib64/ld-2.22.so
7f730cc07000-7f730cc76000 rw-p 00000000 00:00 0 
7f730cc76000-7f730ccab000 r--s 00000000 00:13 14807                     
/run/nscd/passwd
7f730ccab000-7f730ccb0000 rw-p 00000000 00:00 0 
7f730ccb8000-7f730ccba000 rw-p 00000000 00:00 0 
7f730ccba000-7f730ccc1000 r--s 00000000 00:22 1463581                   
/usr/lib64/gconv/gconv-modules.cache
7f730ccc1000-7f730ccc2000 rw-p 00000000 00:00 0 
7f730ccc2000-7f730ccc3000 r--p 00020000 00:22 1459856                   
/lib64/ld-2.22.so
7f730ccc3000-7f730ccc4000 rw-p 00021000 00:22 1459856                   
/lib64/ld-2.22.so
7f730ccc4000-7f730ccc5000 rw-p 00000000 00:00 0 
7ffd4c3e1000-7ffd4c402000 rw-p 00000000 00:00 0                         
[stack]
7ffd4c5c8000-7ffd4c5cb000 r--p 00000000 00:00 0                          [vvar]
7ffd4c5cb000-7ffd4c5cd000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                 
[vsyscall]
Aborted (core dumped)


You are receiving this mail because: