#36998 [Opn->Fbk]: php -r "pspell_suggest(pspell_new('ru'), '123');" - crash my php (ru spell ok)
| From: | tony2001@php.net | Date: | Thu, 06 Apr 2006 22:12:06 +0000 |
| Subject: | #36998 [Opn->Fbk]: php -r "pspell_suggest(pspell_new('ru'), '123');" - crash my php (ru spell ok) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-95400@lists.php.net to get a copy of this message | ||
ID: 36998
Updated by: tony2001@php.net
Reported By: amax at fantoo dot org
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Gentoo Linux
PHP Version: 5.1.2
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.
Previous Comments:
------------------------------------------------------------------------
[2006-04-06 15:28:43] amax at fantoo dot org
Portage 2.1_pre7-r3 (default-linux/x86/2006.0, gcc-3.4.6,
glibc-2.4-r1, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 Intel(R) Xeon(TM) CPU
2.66GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python: 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1,
1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1, 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/home/gentoo/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox
sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.CP1251"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags"
MAKEOPTS="-j4"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 bash-completion bashlogger berkdb bzip2
crypt extensions gif glibc-omitfp java jpeg logrotate mbox
multislot ncurses nptl nptlonly pam pam_chroot pam_console
perl php pic png python readline ruby slang ssl truetype
unicode urandom userlocales utf-8 utf8 vhosts xml2 zlib
elibc_glibc kernel_linux userland_GNU"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL,
LINGUAS
amax@master ~ $ gcc -v
Reading specs
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
Configured
with: /var/tmp/portage/gcc-3.4.6/work/gcc-3.4.6/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--disable-altivec --disable-nls --with-system-zlib
--disable-checking --disable-werror
--disable-libunwind-exceptions --disable-multilib
--disable-libgcj --enable-languages=c,c++ --enable-shared
--enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu
Thread model: posix
gcc version 3.4.6 (Gentoo 3.4.6, ssp-3.4.5-1.0, pie-8.7.9)
amax@master ~ $ as -v
GNU assembler version 2.16.1 (i686-pc-linux-gnu) using BFD
version 2.16.1
------------------------------------------------------------------------
[2006-04-06 15:27:23] amax at fantoo dot org
amax@master ~ $ emerge -pv dev-lang/php
*** You are not in the portage group. You may experience
cache problems
*** due to permissions preventing the creation of the
on-disk cache.
*** Please add this user to the portage group if you wish
to use portage.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-lang/php-5.1.2 USE="apache2 bcmath
berkdb bzip2 calendar cli crypt ctype curl exif ftp gd
iconv imap mysql mysqli ncurses nls pcntl pcre pic posix
postgres readline session sharedmem simplexml sockets spell
spl ssl truetype wddx xml xsl zip zlib -adabas -apache
-birdstep -cdb -cgi -cjk -curlwrappers -db2 -dbase -dbmaker
-debug -discard-path -doc -empress -empress-bcs -esoob
-fastbuild -fdftk -filepro -firebird -flatfile
-force-cgi-redirect -frontbase -gd-external -gdbm -gmp
-hardenedphp -hash -hyperwave-api -informix -inifile
-interbase -iodbc -ipv6 -java-external -kerberos -ldap
-libedit -mcve -memlimit -mhash -ming -msql -mssql -oci8
-oci8-instant-client -odbc -pdo -pdo-external -qdbm -recode
-reflection -sapdb -sasl -sharedext -snmp -soap -solid
-sqlite -sybase -sybase-ct -sysvipc -threads -tidy
-tokenizer -vm-goto -vm-switch -xmlreader -xmlrpc
-xmlwriter -xpm -yaz" 0 kB
------------------------------------------------------------------------
[2006-04-06 15:21:46] amax at fantoo dot org
Description:
------------
php -r "pspell_suggest(pspell_new('ru'), '123');"
Segmentation fault
apache version crashes well too
ru spell installed ok
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36998&edit=1