ID: 24557 Updated by: [EMAIL PROTECTED] Reported By: wmeler at wp-sa dot pl -Status: Open +Status: Feedback Bug Type: Network related Operating System: RH 7.3 PHP Version: 4CVS-2003-07-09 (stable) New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2003-07-09 03:12:09] wmeler at wp-sa dot pl Description: ------------ My application uses fsockopen. Since streams has been introduced I notice SIG_SEGVs. As you can see below stack is corrupted and stream memory is freed (if it is really it's memory) (gdb) bt full #0 _php_stream_flush (stream=Error accessing memory address 0xb71fd09c: No such process. ) at /home/wmeler/rpm/BUILD/aris-1.6/php/main/streams.c:875 stream = (php_stream *) 0x4a9ce250 tsrm_ls = (void ***) 0x8779ef0 ret = 0 Error accessing memory address 0xb71fd094: No such process. (gdb) print *(php_stream *) 0x4a9ce250 $1 = {ops = 0x4652c678, abstract = 0x1, filterhead = 0x10003, filtertail = 0x2a8fcc84, wrapper = 0x5a5a5a5a, wrapperthis = 0x3d, wrapperdata = 0x4e6a3ec0, fgetss_state = 135898848, is_persistent = 110, mode = "\001", '\000' <repeats 11 times>, ": \a", rsrc_id = 1251795496, in_free = 1, fclose_stdiocast = 2, stdiocast = 0xcc840030, __exposed = 1515858575, __orig_path = 0x5a5a5a5a <Error reading address 0x5a5a5a5a: No such process>, context = 0x31, flags = 1279301096, position = 1185939604, readbuf = 0x5a5a5a5a <Error reading address 0x5a5a5a5a: No such process>, readbuflen = 1515870810, readpos = 1515870810, writepos = 1515870810, chunk_size = 1515870810, eof = 1515870810} ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24557&edit=1