[PHP-users 17395]Re: str_suffleで即落ち

Seiji Masugata s.masugata @ digicom.dnp.co.jp
2003年 8月 20日 (水) 18:23:55 JST


こんにちわ、桝形です。

返答遅れまして申し訳ありません。
また、忙しい中テストして頂きありがとうございます。

うちの環境では、

FreeBSD:OK
Linux  :OK
SunOS  :NG

でした。
という事で、SunOS( sparc )の問題?なのでしょうか。

string関連で、bug報告されていないようですので、報告して
おきます。


>  PHP 4.3.3RC4, SunOS 5.8 Generic_108528-15 sun4m sparc
> コンパイル設定
> '--with-apxs=/usr/local/apache/bin/apxs' '--enable-zend-multibyte' '--enable-mbstring' 
> '--enable-mbstr-enc-trans' '--with-pgsql=/usr/local/pgsql' '--enable-sockets' '--with-openssl=/usr/local' '--enable-ftp' '--with-zlib-dir=/usr/local' '--with-pear' '--enable-memory-limit' 
> で、
> http://jp.php.net/manual/ja/function.str-shuffle.php
> のサンプルソースを、コマンドライン
> $ php -f strshuffle.php
> で走らせたら、セグメント例外 (core dumped) がでました。
> 
> 参考になれば幸いです。
> 
> > 全然手は空いてないのですが、さっと試したところ、
> > str_shuffle() で即落ちします。
> > 
> > PHP 4.3.3RC4, Solaris 2.6 (SPARC), CGI,
> > コンパイル設定は:
> > './configure' '--prefix=/home/isg/hmissige' '--without-mysql' '--enable-session' '--with-pcre-regex' \
> > '--with-regex=php' '--enable-mbstring' '--enable-mbregex' '--enable-zend-multibyte' '--enable-sockets'
> > 
> > です。
> > 
> > 桝形さんのところの Sun の計算機ではどうでしょうか?
> > # うちの問題??

--
Seiji Masugata<s.masugata @ digicom.dnp.co.jp>





PHP-users メーリングリストの案内