Open brong opened 13 years ago
From: Rudy Gevaert
Hi,
It als seems that our squatter is having problems:
Core was generated by `/usr/cyrus-2.4.6/bin/squatter -C /etc/cyrus-ugent/conf/mail12/imapd.conf -s -i'. Program terminated with signal 7, Bus error.
bounds>, data_end=0x7f2afed1b0cc <Address 0x7f2afed1b0cc out of bounds>, name=0x7fff32e33b30 "9 &i", level=3, handler=0x431260 <squat_count_docs_callback>, closure=0x7fff32e33fec) at squat.c:687 687 squat.c: No such file or directory. in squat.c (gdb) bt
bounds>, data_end=0x7f2afed1b0cc <Address 0x7f2afed1b0cc out of bounds>, name=0x7fff32e33b30 "9 &i", level=3, handler=0x431260 <squat_count_docs_callback>, closure=0x7fff32e33fec) at squat.c:687
0x7f2afed135fe out of bounds>, data_end=<value optimized out>, name=0x7fff32e33b30 "9 &i", level=<value optimized out>, handler=<value optimized out>, closure=<value optimized out>) at squat.c:749
0x7f2afed135fe out of bounds>, data_end=<value optimized out>, name=0x7fff32e33b30 "9 &i", level=<value optimized out>, handler=<value optimized out>, closure=<value optimized out>) at squat.c:749
counter=0x7fff32e33fec) at squat.c:952
optimized out>) at squat_build.c:1375
squat_build.c:1545
squatter.c:482
"ugent.be!user.els^baerten.Drafts", matchlen=<value optimized out>, maycreate=<value optimized out>, rock=<value optimized out>) at squatter.c:623
From: Rudy Gevaert
I've nailed it down to a specific mailbox:
cyrus@cyrprd2:~$ gdb /usr/cyrus-2.4.6/bin/squatter GNU gdb (GDB) 7.0.1-debian 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/>... Reading symbols from /usr/cyrus-2.4.6/bin/squatter...done. (gdb) run -C /etc/cyrus-ugent/conf/mail12/imapd.conf -s -i -r user/els.baerten@ugent.be Starting program: /usr/cyrus-2.4.6/bin/squatter -C /etc/cyrus-ugent/conf/mail12/imapd.conf -s -i -r user/els.baerten@ugent.be [Thread debugging using libthread_db enabled]
Program received signal SIGBUS, Bus error. squat_scan_recurse (s=0x7ffff28675fe <Address 0x7ffff28675fe out of bounds>, data_end=0x7ffff286f0cc "", name=0x7fffffffbd10 "9 &i", level=3, handler=0x431260 <squat_count_docs_callback>, closure=0x7fffffffc1cc) at squat.c:687 687 squat.c: No such file or directory. in squat.c (gdb) bt
closure=0x7fffffffc1cc) at squat.c:687
handler=<value optimized out>, closure=<value optimized out>) at squat.c:749
handler=<value optimized out>, closure=<value optimized out>) at squat.c:749
at cyrusdb_skiplist.c:1122
proc=<value optimized out>, rock=0x7fffffffeaec) at mboxlist.c:1889
(gdb)
From: Bron Gondwana
I'm looking at it :)
From: Bron Gondwana
I'm going to leave this one for 'future'. First I need to see what's wrong with the specific squatter file!
From: Bron Gondwana
Tuning this right down - the file can certainly kill squatter on 2.4.6, and doesn't on 2.4.8 - but I don't think it's because we've fixed anything - more that the memory layout is slightly different and it's trashing something else. Squatter is nasty nasty code :(
From: Rudy Gevaert Bugzilla-Id: 3441 Version: 2.4.6 Owner: Bron Gondwana