#39686 [NEW]: Segmentation fault
| From: | tom at ideaweb dot de | Date: | Wed, 29 Nov 2006 16:16:32 +0000 |
| Subject: | #39686 [NEW]: Segmentation fault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-105645@lists.php.net to get a copy of this message | ||
From: tom at ideaweb dot de
Operating system: PPC/MacOSX
PHP version: 5.2.0
PHP Bug Type: Reproducible crash
Bug description: Segmentation fault
Description:
------------
Hi there,
any php5 version is crashing if want to call my script. The problem i
cannot post code to reproduce the bug. I usw the php salesforce api to
import data from a mssql database.
Have anyone an idea? Is it PHP or something else?
Thx a bunch, Thomas
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xbf7ffaf0
0x020242bc in match (eptr=0x13c2f9b
"wIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA"...,
ecode=0x186e850 "C\002#\024B\002,", offset_top=2, md=0xbfffce90, ims=4,
eptrb=0xbf800994, flags=2, rdepth=6086) at
/usr/local/src/php-5.2.0/ext/pcre/pcrelib/pcre_exec.c:378
378 {
(gdb) f 0
#0 0x020242bc in match (eptr=0x13c2f9b
"wIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA1MDAgNTAwIDUwMCA"...,
ecode=0x186e850 "C\002#\024B\002,", offset_top=2, md=0xbfffce90, ims=4,
eptrb=0xbf800994, flags=2, rdepth=6086) at
/usr/local/src/php-5.2.0/ext/pcre/pcrelib/pcre_exec.c:378
378 {
(gdb) p word[w_idx]
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xbf7fffb0
0x9017d64c in NSLookupAndBindSymbol ()
The program being debugged was signaled while in a function called from
GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on"
Evaluation of the expression containing the function
(NSLookupAndBindSymbol) will be abandoned.
(gdb) p toupper(word[w_idx])
Cannot access memory at address 0xbf7fffd0
(gdb) p isalpha(toupper(word[w_idx]))
Cannot access memory at address 0xbf7fffd0
--
Edit bug report at http://bugs.php.net/?id=39686&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39686&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39686&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39686&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39686&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39686&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39686&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39686&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39686&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39686&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39686&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39686&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39686&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39686&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39686&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39686&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39686&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39686&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39686&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39686&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39686&r=mysqlcfg