ID: 116 VERSION: Glimpseindex 4.12 PROGRAM: main.c, we think. DESCRIPTION: Glimpseindex SEGFAULTS with really large indexes Unfortunate results: [root@telegraph index]# ./glimpseindex -o -B -n -S 100 -t -X -H \ /usr/local/etc/httpd/projects/hoosiertimes/index/new -w 1500 \ /usr/local/www/stories This is glimpseindex version 4.12, 1999. Indexing "/usr/local/www/stories" ... Size of files being indexed = 138302489 B, Total #of files = 35086 Segmentation fault -------------------------- warning: Unable to find dynamic linker breakpoint function. warning: GDB will be unable to debug shared library initializers warning: and track explicitly loaded dynamic code. Program received signal SIGSEGV, Segmentation fault. 0x25d38 in process_query (argc=0, argv=0xf, newsockfd=0) at ./main.c:2255 2255 if (src_offset_table[iii] != NULL) num_blocks++; (gdb) backtrace #0 0x25d38 in process_query (argc=0, argv=0xf, newsockfd=0) at ./main.c:2255 #1 0x1cb98 in main (argc=1, argv=0xefffedb0) at ./main.c:1260 (gdb) print src_offset_table $1 = (struct offsets **) 0x0 The output of "uname -a" on the used system is: SunOS kirk 5.6 Generic_105181-12 sun4u sparc SUNW,Ultra-1 The same command as showed in the log on the same index files runs just fine with version 3.5. I hope this information helps to fix this bug. ---------------------------------- WORKAROUND: Use -M switch to increase the memory allocated to glimpseindex, until it no longer segfaults. TEST_FIX: Try version 4.12.2 from ftp://webglimpse.net/pub/wgdev/glimpse-4.12.2.tar.gz REPORTED-BY: Chris Dent John A. Palkovic" root@mauve.demon.co.uk Andreas Mayer REPORTED-DATE: 1998 WORKING-ON: Golda Velez FIXED-BY: FIXED-DATE: FIXED-VERSION: