Re: backtrace
| From: | Zeev Suraski | Date: | Thu, 31 Aug 2000 17:58:06 +0000 |
| Subject: | Re: backtrace | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31476@lists.php.net to get a copy of this message | ||
At 20:48 31-08-00, André Langhorst wrote:
Yesterday. It doesn't make much sense that you'd get a crash in the same line, since the lines moved, and some were removed. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/Actually, the original version was quite alright, except for under very weird platforms, which define va_list as a type that cannot be copied (probably some sort of an array). What happened is that this code undergone lots of changes, which eventually brought it to a situation where both the 'safety assignment': args = orig_args; and the va_end() call after the vprintf() function were redundant (but were still fine on most platforms, and whenever they compiled). When the 'args=orig_args;' statement was removed and the va_end() statement was kept, the code became wrong (crashy) on many platforms.hm, well I was to quick (once again), one problem overrode another, thus I got no crash... with my latest CVS I´m getting this crash still, with exactly the same line numbers, in other words that backtrace is totally equivalent to the prior one. When did you commit these changes?