[PHP-DEV] Bug #14366: exit signal Floating point exception (8)

2001-12-06 Thread julian

From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.4-RELEASE #0
PHP version:  4.0.6
PHP Bug Type: Reproducible crash
Bug description:  exit signal Floating point exception (8)

Please help! We get this weird error on ANY php page that uses decimals. 

The simpliest code we found to produce the error is:

echo (0.1);

That's it. Apache just dies 90% of the time if you call the page, with a
404 error. If you refresh, the page comes up, but the log still shows the
following errors:

/var/log/messages:
Dec  6 16:07:17 julian /kernel: pid 38937 (httpd), uid 65534: exited on
signal 8

Apache error log:
[Thu Dec  6 16:07:17 2001] [notice] child pid 38937 exit signal Floating
point exception (8)

There is no error if the # has no decimals, or it is .0 
I.E.:
0.0 or 4.0 or 345.0 no error
0.3 or 5.3 or 345.24 gives error
Any calculation using or generating the above give error.

System:
 './configure' '--with-mysql=/usr/local/mysql'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-imap=../imap'
'--with-gettext'

Using stock php.ini except magic_quotes_gpc = Off

This error came since we upgraded to FreeBSD from Linux and the latest PHP
Apache MySql combo.

It doesn't matter if we use PHP as a module or compile into Apache. The bug
is annoying, and our users complain a lot.
-- 
Edit bug report at: http://bugs.php.net/?id=14366edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #10053: Insert sentence error

2001-03-29 Thread julian . gonzalez

From: [EMAIL PROTECTED]
Operating system: W2000
PHP version:  4.0.4
PHP Bug Type: COM related
Bug description:  Insert sentence error

$oConn = new COM("ADODB.Connection");

// Data Base: ORACLE 8.0

// insert query: it works fine!!!

insert into Pact (nid,name,Apell1,Apell2,Sexo,NHisto,FNac) values 
(10040,'qwrwfcdf','qeqwe','qewqwe','Hombre','121217',to_date('12/12/1999','MM-DD-'))


// insert query: it does not works: php error memory

insert into Pet 
(NID,NPet,NPac,Diagnostico,FPet,Medico,Servicio,FPetFin,nidPass,obsPet,obsInf,codSer,itt)
 
   values
   (10060,'56',10040,3,
to_date('29-03-2001','DD-MM-'),
to_date('12-1-2001','DD-MM-,
 '',
 'ttt',
 'urgencias ',
 'vv')
 

If i copy this query (generated by my php code), and paste into a SQL editor that work 
for make queries into data bases
and i execute it, it works fine. 

Maybe a problem of lenght?.
I hope i was wrong.




-- 
Edit Bug report at: http://bugs.php.net/?id=10053edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]