#46340 [Opn->Fbk]: segmentation fault (11)
| From: | scottmac@php.net | Date: | Sun, 19 Oct 2008 11:48:35 +0000 |
| Subject: | #46340 [Opn->Fbk]: segmentation fault (11) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-129834@lists.php.net to get a copy of this message | ||
ID: 46340
Updated by: scottmac@php.net
Reported By: dl4gbe at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: linux suse
PHP Version: 5.2.6
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.
We would also need a short reproduce script about 10-20 lines that we
can run.
Previous Comments:
------------------------------------------------------------------------
[2008-10-19 08:39:29] dl4gbe at gmail dot com
Description:
------------
I used to have functions (methods) in a class named "form" (not
static). Later, I changed the design and moved the methods into a static
class. named "xmlparser". In one case I forgot to change my code and
still called the old instance method.
the old call was
$a_form->createTable($l_formnode);
it should have been:
xmlparser::createTable($a_form,$l_formnode);
Like said: I moved function createTable into the static class
xmlparser.
The function was called from another static function located in
xmlparser which had a valid form object instanized and a valid xml node
as a second parameter
The result? I did not get a "function not found in class" or something
like this error in the log file. No, I run into a crazy segmentation
fault (11) error. I can't debug crazy segmentation fault errors(11)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46340&edit=1