I sent the stack trace before, but either it didn't get through or got lost on
the way. I have added a bit more information at the bottom. I apologize if you
get two copies of the stack trace.

[EMAIL PROTECTED]:~$ sudo gdb `which swish-e`
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library 
"/lib/libthread_db.so.1".

(gdb) set args -x'%p\n' 
-f/jade/fileserver/home/ivtintranet/public_html/../index/swish-e.index 
-w'health andrew ivt'
(gdb) r
Starting program: /usr/bin/swish-e -x'%p\n' 
-f/jade/fileserver/home/ivtintranet/public_html/../index/swish-e.index 
-w'health andrew
+ivt'
# SWISH format: 2.4.3
# Search words: health andrew ivt
# Removed stopwords:
# Number of hits: 35
# Search time: 0.005 seconds
# Run time: 0.014 seconds
/jade/fileserver/home/jon/oldhome/jon/.procmail.log
/jade/fileserver/shares/marketing/Sales/Projects/Lady Gowrie/Courses(report 
19-Mar-04).xls
/jade/fileserver/home/andrew/Projects/Lady Gowrie/Courses(report 19-Mar-04).xls
/jade/fileserver/shares/strategic/BusinessPlan/IVT Business Plan 2006 3.doc
/jade/fileserver/shares/marketing/Sales/Projects/Shaver Shop/Website 
Development Materials/Shavershop Spare Parts/shavershop.txt
/jade/fileserver/home/andrew/Projects/Shaver Shop/Website Development 
Materials/Shavershop Spare Parts/shavershop.txt
/jade/fileserver/home/andrew/Projects/Tenders/DM&L and IVT FMIST Tender.doc
/jade/fileserver/home/andrew/Projects/Tenders/On-Call Managment Tender.doc
/jade/fileserver/shares/marketing/Sales/Projects/Tenders/On-Call Managment 
Tender.doc
/jade/fileserver/shares/marketing/Sales/Projects/Tenders/DM&L and IVT FMIST 
Tender.doc
/jade/fileserver/shares/marketing/Sales/Projects/Adair Integrated/Adair 
Integrated - Website Proposal.pdf
/jade/fileserver/shares/documents/clients/Gowrie/Courses.xls
/jade/fileserver/home/andrew/Projects/Peter Chundra/Strategy4 Mail 
List/Combined-client.txt
/jade/fileserver/home/andrew/Projects/Peter Chundra/Strategy4 Mail 
List/Combined-client.xls
/jade/fileserver/home/andrew/Projects/Peter Chundra/Strategy4 Mail 
List/Combined.xls
/jade/fileserver/home/andrew/Projects/Peter Chundra/Strategy4 Mail 
List/S4contacts.xls
/jade/fileserver/shares/marketing/Sales/Projects/Adair Integrated/Adair 
Integrated - Website Proposal.doc
/jade/fileserver/home/andrew/Projects/Horizon/Quotation/Horizon Management - 
Website Proposal Septemmber 2005.doc
/jade/fileserver/home/andrew/Projects/ET Performance/ET Performance - Website 
Proposal Septemmber 2005.doc
/jade/fileserver/shares/marketing/Sales/Projects/ET Performance/ET Performance 
- Website Proposal Septemmber 2005.doc
/jade/fileserver/shares/marketing/Sales/Projects/Telstore/Telstore - Website 
Proposal Feb 2006.doc
/jade/fileserver/home/andrew/Projects/Telstore/Telstore - Website Proposal Sep 
2005.doc
/jade/fileserver/shares/marketing/Sales/Projects/New Zealand Natural/New 
Zealand Natural Foods - Website Proposal Sep 2005.doc
/jade/fileserver/shares/marketing/Sales/Projects/Telstore/Telstore - Website 
Proposal Sep 2005.doc
/jade/fileserver/home/andrew/Projects/New Zealand Natural/New Zealand Natural 
Foods - Website Proposal Sep 2005.doc
/jade/fileserver/shares/documents/clients/Go Natural/Website Proposal.doc
/jade/fileserver/home/andrew/Projects/TAFE frontiers/Subscription Changes 
Aug-2004.doc
/jade/fileserver/shares/marketing/Sales/Projects/TAFE frontiers/Subscription 
Changes Aug-2004.doc
/jade/fileserver/home/andrew/Site Builder/Websites/Fiancial 
Communicator/Financial Communicator Specs-1.doc

Program received signal SIGINT, Interrupt.
0x00002aaaab5bdcd2 in read () from /lib/libc.so.6
(gdb) bt
#0  0x00002aaaab5bdcd2 in read () from /lib/libc.so.6
#1  0x00002aaaab569bd2 in _IO_file_read () from /lib/libc.so.6
#2  0x00002aaaab568ead in _IO_file_underflow () from /lib/libc.so.6
#3  0x00002aaaab56acae in _IO_default_uflow () from /lib/libc.so.6
#4  0x00002aaaab566480 in getc () from /lib/libc.so.6
#5  0x00002aaaab2533e5 in uncompress1 (fp=0x5a16b0, f_getc=0x2aaaab5663e0 
<getc>) at compress.c:158
#6  0x00002aaaab256342 in DB_ReadProperty_Native (indexf=Variable "indexf" is 
not available.
) at db_native.c:2355
#7  0x00002aaaab259c13 in ReadSingleDocPropertiesFromDisk (indexf=0x59ae70, 
fi=0x2aaaabc2dbf0, metaID=6, max_size=0) at docprop.c:1232#8  
0x00002aaaab259d59 in getDocProperty (result=0x2aaaabc2dbd8, 
meta_entry=0x7fffff988a78, metaID=6, max_size=0) at docprop.c:271
#9  0x00002aaaab259f39 in getResultPropValue (r=0x2aaaabc2dbd8, pname=Variable 
"pname" is not available.
) at docprop.c:503
#10 0x0000000000408c6e in printExtResultEntry (sw=0x581f20, f_out=Variable 
"f_out" is not available.
) at result_output.c:655
#11 0x0000000000409010 in printTagAbbrevControl (sw=0x581f20, f=0x2aaaab7354a0, 
s=0x7fffff98ab5b "\\n", r=0x2aaaabc2dbd8) at
+result_output.c:546
#12 0x0000000000408d2a in printExtResultEntry (sw=0x581f20, f_out=Variable 
"f_out" is not available.
) at result_output.c:428
#13 0x0000000000409288 in printSortedResults (results=0x5a21b0, begin=Variable 
"begin" is not available.
) at result_output.c:360
#14 0x000000000040627c in cmd_search (sw=0x581f20, params=0x59adc0) at 
swish.c:1571
#15 0x0000000000406e51 in main (argc=Variable "argc" is not available.
) at swish.c:204
(gdb)

The point it crashes appears to be independant of the number of results or any
particular result returned. It always crashes (or doesn't crash) at the same
spot every time for a particular search phrase.

Running the code with DEBUG_PROP defined in db_native.c produced the following
results before crashing:

Fetching seek positions for file 4289
 property index table at 802168, this file at 973688
   PropIDX: 0  data[Seek: 10229571] at seek 973688 read 8 bytes (one readlong)
   PropIDX: 1  data[Seek: 0] at seek 973696 read 8 bytes (one readlong)
   PropIDX: 2  data[Seek: 10229664] at seek 973704 read 8 bytes (one readlong)
   PropIDX: 3  data[Seek: 10229674] at seek 973712 read 8 bytes (one readlong)
   PropIDX: 4  data[Seek: 10229684] at seek 973720 read 8 bytes (one readlong)
Fetching filenum: 4289 propIDX: 0 at seek: 10229571
 Fetched uncompressed length of 107 (2 bytes storage), now fetching 91 prop 
bytes from 10229573
/jade/fileserver/home/andrew/Site Builder/Websites/Fiancial 
Communicator/Financial Communicator Specs-1.doc

Fetching seek positions for file 9496
 property index table at 802168, this file at 1181968
   PropIDX: 0  data[Seek: 7308784108873937668] at seek 1181968 read 8 bytes 
(one readlong)
   PropIDX: 1  data[Seek: 8317987317410000754] at seek 1181976 read 8 bytes 
(one readlong)
   PropIDX: 2  data[Seek: 7278776250708486241] at seek 1181984 read 8 bytes 
(one readlong)
   PropIDX: 3  data[Seek: 8531346184852497761] at seek 1181992 read 8 bytes 
(one readlong)
   PropIDX: 4  data[Seek: 7162982227010347373] at seek 1182000 read 8 bytes 
(one readlong)
Fetching filenum: 9496 propIDX: 0 at seek: 7308784108873937668

These indexes look way out of range for the index file:

-rw-r--r--  1 root root 152710235 2006-03-29 10:22 swish-e.index
-rw-r--r--  1 root root  20464452 2006-03-29 09:43 swish-e.index.prop

So it looks like something broke when saving the indexes or
when retrieving the indexes.

I will continue investigating.
-- 
Brian May <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to