#46340 [NEW]: segmentation fault (11)
| From: | dl4gbe at gmail dot com | Date: | Sun, 19 Oct 2008 08:39:29 +0000 |
| Subject: | #46340 [NEW]: segmentation fault (11) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-129833@lists.php.net to get a copy of this message | ||
From: dl4gbe at gmail dot com
Operating system: linux suse
PHP version: 5.2.6
PHP Bug Type: Scripting Engine problem
Bug description: segmentation fault (11)
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 bug report at http://bugs.php.net/?id=46340&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46340&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46340&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46340&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46340&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=46340&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46340&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46340&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46340&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46340&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46340&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46340&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46340&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46340&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46340&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46340&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46340&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46340&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46340&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46340&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46340&r=mysqlcfg