Looks like the only place it is used is in error.c. Remove it completely?
/ Martin Nilsson (Opera Mini - AFK!)
Previous text:
17688274 2009-06-22 23:19 /28 lines/ Brevbäraren Recipients: Pike (-) importmöte för mailinglistan Comment to 17688170 Subject: Re: Wow, Trace++ (Re: Identifier reference index 36 out of range 0..29)
On Mon, 22 Jun 2009, Stephen R. van den Berg wrote:
Henrik Grubbstr?m wrote:
Please update src/program.[ch] so you get the program tables dumped.
This looks promising. See the new & improved full trace below.
My guess at this point is that there's some non-threadsafe code during error handling in the mysql module.
That's what I thought, though a casual inspection of the ALLOW() macros in mysql.c doesn't reveal anything significant so far.
My main suspect is pike_threadlib.h:SWAP_IN_THREAD_IF_REQUIRED(). Try redefining it to:
#define SWAP_IN_THREAD_IF_REQUIRED() ASSERT_THREAD_SWAPPED_IN()
And see if anything bites.
Identifier reference index 36 out of range 0..29
Sincerely, Stephen R. van den Berg.
-- Henrik Grubbström grubba@roxen.com Roxen Internet Software AB
(17688274) /Brevbäraren/--------------------------------------------
pike-devel@lists.lysator.liu.se