Re: [PHP-DEV] PHP 4.0 Bug #6142: core dump after: printf("%f", NAN); From: Alexander Feldman (alex <email protected>)
Date: 08/14/00

Hi Derick,

Of course - the backtrace is attached to this message.

Best Regards:

-- alex

Derick Rethans wrote:
>
> Hello,
>
> could you provide a backtrace?
>
> Derick
>
> alex <email protected> wrote:
>
> > From: alex <email protected>
> > Operating system: linux-glibc21
> > PHP version: 4.0.1pl2
> > PHP Bug Type: Reproduceable crash
> > Bug description: core dump after: printf("%f", NAN);
> >
> > The PHP coredumps after invoking:
> >
> > printf("%f", NAN);
> >
> > or
> >
> > printf("%f", asin(1.5)); // The asin(1.5) is not // defined of course, so it
> > // returns NAN
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
>
> --
> Derick Rethans
> JDI Media Solutions
>
> H.v.Tussenbroekstraat 1
> 6952 BL Dieren
> The Netherlands
>
> e-mail: d.rethans <email protected>
> http://www.jdimedia.nl/
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

Program received signal SIGSEGV, Segmentation fault.
0x30037dcc in ?? ()
(gdb) backtrace
#0 0x30037dcc in ?? ()
#1 0x808af9f in php_formatted_print (ht=2, len=0xbffff85c)
    at formatted_print.c:255
#2 0x808c317 in php_if_user_printf (ht=2, return_value=0x812971c,
    this_ptr=0x0, return_value_used=0) at formatted_print.c:590
#3 0x80de3dd in execute (op_array=0x812dbbc) at ./zend_execute.c:1564
#4 0x805df3a in php_execute_script (primary_file=0xbffffa34) at main.c:1214
#5 0x805c7c9 in main (argc=2, argv=0xbffffa94) at cgi_main.c:699

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>