Skip to main content.
home | support | download

Back to List Archive

SWISHE.pm: segfault when calling SwishErrorString()

From: Bernhard Weisshuhn <bkw(at)not-real.weisshuhn.de>
Date: Mon Dec 09 2002 - 11:22:47 GMT
Hi *,

has anything changed with SwishErrorString() in SWISHE.pm? With
swish-e-2.2.2 (both Linux and Solaris), I get coredumps whenever I
call SwishErrorString() on anything else than 0:

(gdb) bt
#0  0xef4b9030 in SwishErrorString (sw=0xffffff0c) at error.c:211
#1  0xef4ab1d4 in XS_SWISHE_SwishErrorString ()
#2  0xa57fc in Perl_pp_entersub ()
#3  0xe0b58 in Perl_runops_standard ()
#4  0x65018 in perl_run ()
#5  0x2fb48 in main ()

Line 211 of error.c is:
  return getErrorString(sw ? sw->lasterror : INVALID_SWISH_HANDLE);

Mail me if you need more info, this is 100% reproducable.

cheers,
bkw
Received on Mon Dec 9 11:24:21 2002