View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000074 | Xdebug | Uncategorized | public | 2004-07-12 09:59 | 2004-07-13 11:03 |
Reporter | PerGustafsson | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | open | ||
Summary | 0000074: Seg. fault | ||||
Description | PHP 5.0.0RC3 with xdebug 1.3.2 generates a segmentation fault, the particular line is: $mail_template->assign('view_caption', Easy_Button::button($captions['view_caption'])); And the error goes away if I do: $foo = Easy_Button::button($captions['view_caption']); It is part of a fairly complex application and I've been unable to make a simple script to isolate and reproduce the bug. | ||||
Additional Information | (gdb) bt | ||||
Tags | No tags attached. | ||||
Operating System | Linux 2.4.18-19.7.x | ||||
PHP Version | 5.0.0rc3 | ||||
|
A script to reproduce would really help me finding this bug. Can you also show me the lines before you enter "bt" at the GDB prompt, that usually shows better where the crash is. |
|
This is the line before running bt: 0x40538ef3 in xdebug_build_fname (tmp=0x8420c10, edata=0xbfffca40) at /tmp/tmpMRn5zk/xdebug-1.3.2/xdebug.c:539 I spent some time isolating the crash and managed to come up with the following, let me know if you have any questions: <?
} function __autoload($class){ // Creates a new instance of Reproduce_Crash $foo = new Reproduce_Crash; // Calls a method of Reproduce_Crash |
|
Sending the argument $action is not needed, it's there by mistake. |
|
This is fixed in CVS (1.3.3-dev). HEAD which contains (2.0.0dev) already has this patch. |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-07-12 09:59 | PerGustafsson | New Issue | |
2004-07-12 17:27 | derick | Note Added: 0000150 | |
2004-07-12 17:27 | derick | Status | new => feedback |
2004-07-13 08:19 | PerGustafsson | Note Added: 0000151 | |
2004-07-13 08:27 | PerGustafsson | Note Added: 0000152 | |
2004-07-13 11:03 | derick | Status | feedback => closed |
2004-07-13 11:03 | derick | Note Added: 0000153 | |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |