bogoutil segfaults

Clint Adams schizo at debian.org
Wed Jul 23 14:35:00 CEST 2003


> Does SPARC support unaligned access?

Not as far as I know.

> Unfortunately, we don't see a stack backtrace. It should be printed
> automatically when gdb is available.

On hppa:

Making check in bogoutil
make[3]: Entering directory `/tmp/obj/src/tests/bogoutil'
make  check-TESTS
make[4]: Entering directory `/tmp/obj/src/tests/bogoutil'
cmp: EOF on ./checks.1487.20030723T083159/output-dl-1.txt
>>> Using core file "./core".
Cannot access memory at address 0x1603c
>>> Using exec file "../../bogoutil".
>>> Running command: gdb -nw -r -batch -n -x script.gdb.1543 -silent ../../bogoutil ./core </dev/null
Core was generated by `../../bogoutil -a 20020815 -s4,30 -d ./checks.1487.20030723T083159/t.dump.load.'.
Program terminated with signal 11, Segmentation fault.
#0  0x0001603c in db_foreach (vhandle=0x29098, hook=0x28096 <__JCR_LIST__+6>, 
    userdata=0x0) at ../../bogofilter-0.14.0/src/datastore_db.c:528
528                     break;
<<< SIMPLE BACKTRACE <<<
#0  0x0001603c in db_foreach (vhandle=0x29098, hook=0x28096 <__JCR_LIST__+6>, userdata=0x0) at ../../bogofilter-0.14.0/src/datastore_db.c:528
#1  0x00011730 in db_oper (path=0xc33c4022 <Address 0xc33c4022 out of bounds>, open_mode=DB_READ, funct=0x28096 <__JCR_LIST__+6>, userdata=0x0) at ../../bogofilter-0.14.0/src/bogoutil.c:163
#2  0x0001179c in dump_file (db_file=0x1317e4f <Address 0x1317e4f out of bounds>) at ../../bogofilter-0.14.0/src/bogoutil.c:178
#3  0x401c7b94 in __libc_start_main () from /lib/libc.so.6
#4  0x00011298 in _start ()
<<< FULL BACKTRACE <<<
#0  0x0001603c in db_foreach (vhandle=0x29098, hook=0x28096 <__JCR_LIST__+6>, userdata=0x0) at ../../bogofilter-0.14.0/src/datastore_db.c:528
        i = 0
        ret = 0
#1  0x00011730 in db_oper (path=0xc33c4022 <Address 0xc33c4022 out of bounds>, open_mode=DB_READ, funct=0x28096 <__JCR_LIST__+6>, userdata=0x0) at ../../bogofilter-0.14.0/src/bogoutil.c:163
        dbh = (void *) 0x29098
#2  0x0001179c in dump_file (db_file=0x1317e4f <Address 0x1317e4f out of bounds>) at ../../bogofilter-0.14.0/src/bogoutil.c:178
        rc = 1076871996
#3  0x401c7b94 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#4  0x00011298 in _start ()
No symbol table info available.
>>> Done.
FAIL: t.dump.load
../../../../bogofilter-0.14.0/src/tests/bogoutil/t.nonascii.replace: line 29:  1586 Segmentation fault      (core dumped) $BOGOUTIL -d ${WORDLIST} >${TMPDIR}/output.1
>>> Using core file "./core".
Cannot access memory at address 0x1603c
>>> Using exec file "../../bogoutil".
>>> Running command: gdb -nw -r -batch -n -x script.gdb.1587 -silent ../../bogoutil ./core </dev/null
Core was generated by `../../bogoutil -d ./checks.1567.20030723T083209/wordlist.db'.
Program terminated with signal 11, Segmentation fault.
#0  0x0001603c in db_foreach (vhandle=0x29098, hook=0x28096 <__JCR_LIST__+6>, 
    userdata=0x0) at ../../bogofilter-0.14.0/src/datastore_db.c:528
528                     break;
<<< SIMPLE BACKTRACE <<<
#0  0x0001603c in db_foreach (vhandle=0x29098, hook=0x28096 <__JCR_LIST__+6>, userdata=0x0) at ../../bogofilter-0.14.0/src/datastore_db.c:528
#1  0x00011730 in db_oper (path=0xc33c4022 <Address 0xc33c4022 out of bounds>, open_mode=1076871996, funct=0x28096 <__JCR_LIST__+6>, userdata=0x0) at ../../bogofilter-0.14.0/src/bogoutil.c:163
#2  0x0001179c in dump_file (db_file=0x131a35f <Address 0x131a35f out of bounds>) at ../../bogofilter-0.14.0/src/bogoutil.c:178
#3  0x401c7b94 in __libc_start_main () from /lib/libc.so.6
#4  0x00011298 in _start ()
<<< FULL BACKTRACE <<<
#0  0x0001603c in db_foreach (vhandle=0x29098, hook=0x28096 <__JCR_LIST__+6>, userdata=0x0) at ../../bogofilter-0.14.0/src/datastore_db.c:528
        i = 0
        ret = 0
#1  0x00011730 in db_oper (path=0xc33c4022 <Address 0xc33c4022 out of bounds>, open_mode=1076871996, funct=0x28096 <__JCR_LIST__+6>, userdata=0x0) at ../../bogofilter-0.14.0/src/bogoutil.c:163
        dbh = (void *) 0x29098
#2  0x0001179c in dump_file (db_file=0x131a35f <Address 0x131a35f out of bounds>) at ../../bogofilter-0.14.0/src/bogoutil.c:178
        rc = 1076871996
#3  0x401c7b94 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#4  0x00011298 in _start ()
No symbol table info available.
>>> Done.
FAIL: t.nonascii.replace
===================
2 of 2 tests failed
===================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/tmp/obj/src/tests/bogoutil'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/tmp/obj/src/tests/bogoutil'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/tmp/obj/src/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/obj/src'
make: *** [check-recursive] Error 1





More information about the bogofilter-dev mailing list