#44851 [Opn->Fbk]: Interbase events crash PHP cli with segmentation fault

From: Date: Sat, 03 May 2008 13:23:27 +0000
Subject: #44851 [Opn->Fbk]: Interbase events crash PHP cli with segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-124699@lists.php.net to get a copy of this message
ID: 44851 Updated by: felipe@php.net Reported By: miha at link-go dot si -Status: Open +Status: Feedback Bug Type: InterBase related Operating System: linux PHP Version: 5.2.5 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-04-29 12:22:24] miha at link-go dot si CVS snapshot does not solve the problem. PHP usually exits (with segmentation fault) after a few minutes, let say 5 - 10 minutes. But the time is not constant. I have a simulator app that fills the database (and produces events - a few events per second). It appears to me like some kind of concurrency - access problem. ------------------------------------------------------------------------ [2008-04-29 00:39:48] felipe@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [2008-04-28 05:48:55] miha at link-go dot si Description: ------------ I have a socket server (pear Net_Server) running configuration on my test machine. The server runs OK. Then if I turn on events with ibase_set_event_handler, the server will fail within a few minutes with a segmentation fault. Until that happens everything works like a charm. My cli-based socket server application fails even with an empty event handler (an emty function returning true)! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44851&edit=1

« previous php.bugs (#124699) next »