ID:               36998
 Comment by:       bigbug at mafia dot lv
 Reported By:      amax at fantoo dot org
 Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Gentoo Linux
 PHP Version:      5.1.2
 New Comment:

Ok, i reproduced the bug, is this backtrace ok?

Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  (anonymous namespace)::Working::try_one_edit_word (
    this=0xbfd456a0) at suggest.cpp:619
619     suggest.cpp: No such file or directory.
        in suggest.cpp
(gdb) bt
#0  (anonymous namespace)::Working::try_one_edit_word (this=0xbfd456a0)
at suggest.cpp:619
#1  0xb7e918cc in (anonymous namespace)::Working::get_suggestions
(this=0xbfd456a0, [EMAIL PROTECTED])
    at suggest.cpp:316
#2  0xb7e91f38 in (anonymous namespace)::SuggestImpl::suggest
(this=0x84abc70,
    word=0xb7eea5e8
"�G��@H��0G��@C��\220E��`F���F��H\\���\032��\020���\b\\ⷮ\032��")
    at suggest.cpp:1326
#3  0xb7ea7644 in aspeller::SpellerImpl::suggest (this=0x0) at
clone_ptr.hpp:44
#4  0xb7edf8d2 in aspell_speller_suggest (ths=0x845c358, word=0x8458f54
"123", word_size=3)
    at mutable_string.hpp:22
#5  0x080c870e in zif_pspell_suggest ()
#6  0x0845c358 in ?? ()
#7  0x08458f54 in ?? ()
#8  0xffffffff in ?? ()
#9  0x0817bdd0 in _emalloc ()
#10 0x00000038 in ?? ()
#11 0x0000000b in ?? ()
#12 0x084476f0 in ?? ()
#13 0x084476f4 in ?? ()
#14 0x08457d54 in ?? ()
#15 0xbfd45a30 in ?? ()
#16 0xbfd45a70 in ?? ()
#17 0x081b80bc in execute ()
#18 0x0818a63a in zend_eval_string ()
Current language:  auto; currently c++
(gdb)


Previous Comments:
------------------------------------------------------------------------

[2006-04-06 22:12:06] [EMAIL PROTECTED]

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.



------------------------------------------------------------------------

[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  
  
[EMAIL PROTECTED] ~ $ 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)  
  
[EMAIL PROTECTED] ~ $ 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

[EMAIL PROTECTED] ~ $ 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

Reply via email to