Re: [PHP-DEV] Ack, #1449 is real From: Danny Heijl (Danny.Heijl <email protected>)
Date: 05/25/99

This is a gdb backtrace on NCR SVR4 Unix of the following script :

<?
    $location = "http://www.lerdorf.on.ca/index.php3";
    $arr = file("$location");
?>

Program received signal 11, Segmentation fault
0x8074da4 in _mem_block_check (ptr=0x0, silent=1, filename=0x813eb1c "functions/url.c",
    lineno=72) at alloc.c:438
438 break;
(gdb) bt
Searching...
>0 F 0x8074da4 in _mem_block_check (ptr=0x0, silent=1,
    filename=0x813eb1c "functions/url.c", lineno=72) at alloc.c:438
#1 F 0x807472e in _efree (ptr=0x0, filename=0x813eb1c "functions/url.c", lineno=72)
    at alloc.c:155
#2 F 0x80824fa in free_url (theurl=0x0) at functions/url.c:72
#3 F 0x8081748 in php3_fopen_url_wrapper (path=0x2 "",
    mode=0xbfffe6b8 "\\Îÿ¿´îÿ¿\0244û¿°æÿ¿´æÿ¿", options=-1073872521, issock=0x0,
    socketd=0x81902a8) at fopen-wrappers.c:634
#4 S 0xbffd0132 in _cerror () from /usr/lib/libc.so.1
#5 S 0xbffe0177 in endopen () from /usr/lib/libc.so.1
#6 I 0xbffed66b in call_one_init () from /usr/lib/libc.so.1
#7 S 0xbffbf97c in _morecore () from /usr/lib/libc.so.1
#8 S 0xbffd0132 in _cerror () from /usr/lib/libc.so.1
#9 S 0xbffe0e7e in isatty () from /usr/lib/libc.so.1
#10 F 0x804e8f6 in php_init_buffer (b=0x8047a54, file=0x804e76b) at language-scanner.c:4698
#11 F 0x804e763 in phprestart (input_file=0x8047a9c) at language-scanner.c:4572
#12 F 0x804e76b in phprestart (input_file=0x0) at language-scanner.c:4573

Note: This backtrace contains unvalidated indirect calls (I,FI,S,FS).
(gdb)

Danny.

---

-- 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>