Re: Segmentation Fault

From: Date: Tue, 29 Jan 2002 20:33:57 +0000
Subject: Re: Segmentation Fault
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1060@lists.php.net to get a copy of this message
Hi, I run it with php-gtk 0.5 php4.1.1 on win98 and started it under cygwin, no segmention fault - but - you should load the propper dll or so like if (!class_exists('gtk')) { if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') dl('php_gtk.dll'); else dl('php_gtk.so'); } and you get a division by zero (which likely could be your seg fault) on line 91 and 93: <b>Warning</b>: Division by zero in <b>c:\Eigene Dateien\ceri\gdf.php</b> on li ne <b>91</b><br /> <br /> <b>Warning</b>: Division by zero in <b>c:\Eigene Dateien\ceri\gdf.php</b> on li ne <b>93</b><br /> Quoting Christoph <c.muehlmann@tu-bs.de>: > Hi ! > > Every time I start the attached script, I get a segmentation fault. > Does > anybody know why??? > I'm using php-gtk 0.5 with PHP 4.1.1 on a Debian-Linux (woody) > machine. > > thx > > Christoph > -- Hakan Kuecuekyilmaz, presently intern at Tecnomatix Technologies Germany | Tel: +49 711 1389- 257 Mittlerer Pfad 9 | <hakan@lisas.de> 70 499 Stuttgart | <hkuecuekyilmaz@tecnomatix.de> Studenten, Absolventen und Young Professionals <http://www.c-cn.de> ------------------------------------------------- This mail sent through IMP: webmail.fht-esslingen.de

« previous php.gtk.general (#1060) next »