ID:               42305
 Updated by:       [EMAIL PROTECTED]
 Reported By:      danil dot megrabjan at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: SLES10
 PHP Version:      5.2CVS-2007-08-16
 New Comment:

Check the phpinfo() output for this line: "Debug Build"
It should say 'yes' after it if you have a debug build running..



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

[2007-08-17 06:29:18] danil dot megrabjan at gmail dot com

Now, i`m trying to make my code shorten. But, it's all the same i don`t
understand... why non-debug... why non snapshop.

I recompile my php yesterday. My last bt was made after php
modifications. My _current_ phpinfo():

PHP Version 5.2.4RC2-dev

System  Linux TRIO-PRJ 2.6.16.21-0.8-default #1 Mon Jul 3 18:25:39 UTC
2006 i686
Build Date      Aug 16 2007 15:02:07
Configure Command       './configure' '--prefix=/usr'
'--datadir=/usr/share/php5' '--mandir==/usr/share/man'
'--bindir==/usr/bin' '--with-libdir=lib' '--includedir='
'--sysconfdir=/etc/php5/apache2'
'--with-config-file-path=/etc/php5/apache2'
'--with-config-file-scan-dir=/etc/php5/conf.d' '--enable-libxml'
'--enable-session' '--with-mm' '--with-pcre-regex' '--enable-xml'
'--enable-simplexml' '--enable-spl' '--enable-filter'
!!!!'--enable-debug'!!!! '--enable-memory-limit' '--program-suffix=5'
'--with-apxs2=/usr/sbin/apxs2' '--bindir==/usr/bin'
'--with-pear=/usr/share/php5/PEAR' '--enable-bcmath=shared'
'--enable-calendar=shared' '--enable-ctype=shared'
'--enable-dbase=shared' '--enable-dom=shared' '--enable-exif=shared'
'--enable-ftp=shared' '--enable-mbstring=shared' '--enable-mbregex'
'--enable-pcntl=shared' '--enable-posix=shared' '--enable-shmop=shared'
'--enable-soap=shared' '--enable-sockets=shared'
'--enable-sysvmsg=shared' '--enable-sysvsem=shared'
'--enable-sysvshm=shared' '--enable-tokenizer=shared'
'--enable-wddx=shared' '--with-zlib=shared' '--with-bz2=shared'
'--with-curl=shared' '--with-gd=shared' '--enable-gd-native-ttf'
'--with-xpm-dir=/usr/X11R6' '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-jpeg-dir=/usr' '--with-zlib-dir=/usr'
'--with-gettext=shared' '--with-gmp=shared' '--enable-hash=shared'
'--with-iconv=shared' '--with-imap=shared' '--with-kerberos'
'--with-imap-ssl' '--enable-json=shared' '--with-ldap=shared'
'--with-ldap-sasl=/usr' '--with-mcrypt=shared' '--with-mhash=shared'
'--with-mysql=shared,/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--with-mysqli=shared' '--with-ncurses=shared'
'--with-unixODBC=shared,/usr' '--with-openssl=shared'
'--with-xmlrpc=shared' '--enable-xmlreader=shared'
'--enable-xmlwriter=shared' '--with-xsl=shared' '--enable-dba=shared'
'--with-db4=/usr' '--without-gdbm' '--with-cdb' '--with-inifile'
'--with-flatfile' '--with-pdo_sqlite=shared,/usr'
'--with-sqlite=shared,/usr' '--enable-sqlite-utf8' '--enable-pdo=shared'
'--with-pdo-mysql=shared,/usr' '--with-pdo-odbc=shared,unixODBC,/usr'
'--enable-zip=shared' '--enable-cli'

Now, as I have told earlier:
I shall try to reduce a code;
I shall try to recompile my php once more time with support only this
extension`s: pdo, pdo_odbc, memcache, dom, iconv, ctype). Because,
performance of this extension is really used in code after execution
which, i having segmentation fault.

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

[2007-08-17 01:02:02] [EMAIL PROTECTED]

Also: Don't compile any extensions as shared like you're doing right
now. If you're not loading the extensions, don't compile them either!

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

[2007-08-17 01:00:13] [EMAIL PROTECTED]

Either you're not really running the debug build snapshot at all but
all the time the old 5.2.3 or something or you didn't compile
correctly.
phpinfo() is usually good place to check what is actually in use..
The backtrace would contain line numbers and such if it was a debug
build. 


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

[2007-08-16 14:05:30] danil dot megrabjan at gmail dot com

Ok. I would try make my code to shorten. But before, i have one
question: Why non-debug?! i use '--enable-debug' ?!

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

[2007-08-16 13:57:54] [EMAIL PROTECTED]

You're still sending backtraces from non-debug build PHP.
Make sure you actually install the debug version before you send any
more backtraces. And it's kinda pointless to send them without us
knowing what your code does. So come up with short as possible script
that you can reliably reproduce the crash. Otherwise it's not
"Reproducible" and we can't fix it.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/42305

-- 
Edit this bug report at http://bugs.php.net/?id=42305&edit=1

Reply via email to