[PHP-DEV] 3.0.6 Sporadic ODBC Failures From: Michael Brennen (mbrennen <email protected>)
Date: 12/28/98

I've checked out 3.0.6 as well as the very latest CVS tree of about a
half hour ago (late Sunday evening in US Central time zone) and I'm
still getting sporadic (frequent, actually) failures with the unified
ODBC driver against Solid. I hope the backtrace below is useful.
This was compiled with -g -O, so hopefully the line number references
are accurate.

Rasmus, I know I worked on this a couple of weeks ago but I was
getting very inconsistent and meaningless results trying to compile
with -g or -g -O. I don't know if it matters, but on the machine I was
on before I had installed egcs; the machine I'm working on now is Suse
Linux running gcc 2.7.2.1 (for some reason they don't have 2.7.2.3).
It seems to be giving much more coherent results.

Anyway, this is on a test machine so I can install test versions on it
as needed to find this. Thanks,

   -- Michael

Starting program: /usr/local/apache/src/httpd -X -d /usr/local/apache -f
conf/httpd.conf

Program received signal SIGSEGV, Segmentation fault.
_efree (ptr=0x0) at alloc.c:166
166 if ((p->size < MAX_CACHED_MEMORY) && (GLOBAL(cache_count[p->size]) <
MAX_CACHED_ENTRIES)) {

(gdb) bt
#0 _efree (ptr=0x0) at alloc.c:166
#1 0x8087989 in _php3_regcomp (ht=0x821c9f8, return_value=0x81be0b4,
    list=0x81d382c, plist=0x81d3800, preg=0xbfffe6a4,
    pattern=0x823d1f0 "^\\[BODYTAG\\]", cflags=5) at functions/reg.c:86
#2 0x8087ba9 in _php3_ereg (ht=0x821c9f8, return_value=0x81be0b4,
    list=0x81d382c, plist=0x81d3800, icase=0) at functions/reg.c:183
#3 0x8087e4b in php3_ereg (ht=0x821c9f8, return_value=0x81be0b4,
    list=0x81d382c, plist=0x81d3800) at functions/reg.c:253
#4 0x809afbc in phpparse () at control_structures_inline.h:930
#5 0x80604c8 in php3_parse (yyin=0x8215268) at main.c:1471
#6 0x8060796 in apache_php3_module_main (r=0x820f3dc, fd=22,
    display_source_mode=0, preprocessed=0) at main.c:1851
#7 0x805e09b in send_php3 ()
#8 0x805e0f2 in send_parsed_php3 ()
#9 0x80a5a62 in ap_invoke_handler ()
#10 0x80b349b in process_request_internal ()
#11 0x80b3736 in ap_internal_redirect ()
#12 0x8057203 in handle_dir ()
#13 0x80a5a62 in ap_invoke_handler ()
#14 0x80b349b in process_request_internal ()
#15 0x80b34ec in ap_process_request ()
#16 0x80ad958 in child_main ()
#17 0x80ada8b in make_child ()

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>