Re: #39539 [NoF->Opn]: new GtkEventBox crash
| From: | Andrei Zmievski | Date: | Thu, 22 Feb 2007 17:19:52 +0000 |
| Subject: | Re: #39539 [NoF->Opn]: new GtkEventBox crash | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-3717@lists.php.net to get a copy of this message | ||
Did you also rebuild Gtk+ with -g -O0?
-Andrei
On Feb 21, 2007, at 11:08 AM, Escuder Nicolas wrote:
The backtrace of my last message was false... This was not the backtrace of the crash. I retry but i always get backtrace with "??" as function name... So i was build PHP / GTK / PHP-GTK with -g -O0 so the crash do not append in them i think. Escuder Nicolas -----Message d'origine----- De : Escuder Nicolas [mailto:n.escuder@intra-links.com] Envoyé : mercredi 21 février 2007 18:39 À : php-gtk-dev@lists.php.net Objet : RE: [PHP-GTK-DEV] #39539 [NoF->Opn]: new GtkEventBox crash Here you can find the backtrace : 0xb7b2bfb8 in strcmp () from /lib/libc.so.6 (gdb) bt #0 0xb7b2bfb8 in strcmp () from /lib/libc.so.6 #1 0x081e641e in zend_do_perform_implementation_check () #2 0x081e6a48 in do_inherit_method_check () #3 0x0820546b in zend_hash_replace_checker_wrapper () #4 0x082054b0 in zend_hash_merge_ex () #5 0x081e7a49 in zend_do_implement_interface () #6 0x08200c9d in zend_class_implements () #7 0xb77b1402 in phpg_gtk_register_classes () from /usr/lib/php/extensions/no-debug-non-zts-20060613/php_gtk2.so #8 0xb770a356 in php_gtk_xinit_gtk_plus () from /usr/lib/php/extensions/no-debug-non-zts-20060613/php_gtk2.so #9 0xb77cbaed in php_gtk_startup_extension () from /usr/lib/php/extensions/no-debug-non-zts-20060613/php_gtk2.so #10 0xb77cbbca in php_gtk_startup_extensions () from /usr/lib/php/extensions/no-debug-non-zts-20060613/php_gtk2.so #11 0xb77d6407 in php_gtk_startup_all_extensions () from /usr/lib/php/extensions/no-debug-non-zts-20060613/php_gtk2.so #12 0xb77cb907 in zm_activate_gtk () from /usr/lib/php/extensions/no-debug-non-zts-20060613/php_gtk2.so #13 0x0813b132 in php_dl () #14 0x0813ad3a in zif_dl () #15 0x0821ac4f in zend_do_fcall_common_helper_SPEC () #16 0x0821fc3a in ZEND_DO_FCALL_SPEC_CONST_HANDLER () #17 0x0821a7f2 in execute () #18 0x081fb0e2 in zend_execute_scripts () #19 0x081b3fbe in php_execute_script () #20 0x082676e6 in main () Escuder Nicolas -----Message d'origine----- De : Andrei Zmievski [mailto:andrei@gravitonic.com] Envoyé : mercredi 21 février 2007 18:14 À : Escuder Nicolas Cc : php-gtk-dev@lists.php.net Objet : Re: [PHP-GTK-DEV] #39539 [NoF->Opn]: new GtkEventBox crash You don't have any debug info in your binaries. Can you recompile with CFLAGS=-g -O0 ? Just insert them before ./configure in both cases. -Andrei On Feb 21, 2007, at 8:09 AM, Escuder Nicolas wrote:Hello, More informations : GTK+ 2.10.9 build with : ./configure --prefix=/usr \ --sysconfdir=/etc \ --with-jpeg \ --with-tiff \ --enable-xinerama \ --with-libpng \ --with-gdktarget=x11 \ --with-xinput PHP 5.2.1 build with : ./configure --prefix=/usr \--PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php--sysconfdir=/etc \ --with-config-file-path=/etc \ --with-zlib-dir=/usr/lib \ --with-pear \ --enable-dom \ --enable-overload \ --enable-pcntl \ --enable-pdo \ --enable-simplexml \ --enable-zip \ --enable-json \ --with-bz2=shared \ --with-curl=shared \ --with-fam=shared \ --with-gettext=shared \ --with-iconv=shared \ --with-imap=shared \ --with-imap-ssl=shared \ --with-mysql=shared \ --with-openssl=shared \ --with-pdo-mysql=shared \ --with-pdo-sqlite=/usr \ --with-xml=shared \ --with-simplexml=shared \ --with-xmlreader=shared \ --with-xmlwriter=shared \ --enable-bcmath=shared \ --enable-calendar=shared \ --enable-ctype=shared \ --enable-exif=shared \ --enable-ftp=shared \ --enable-hash=shared \ --enable-mbstring=shared \ --enable-sockets=shared \ --enable-tokenizer=shared \ --enable-xmlreader=shared \ --enable-xmlwriter=shared \ --without-sqlite \ --disable-cgiPHP-GTK CVS 21/02/2007 build with : ./configure And with this config the new GtkEventBox crash With PHP-GTK CVS 05/11/2005 All works fine. I build GTK+ with debug but in stack trace i only get : Starting program: /bin/php -n test.php [Thread debugging using libthread_db enabled] [New Thread -1213572928 (LWP 6808)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1213572928 (LWP 6808)] 0xb76b8004 in ?? () (gdb) bt #0 0xb76b8004 in ?? () #1 0x218145bf in ?? () #2 0xa6fbf008 in ?? () ........... #3471 0x6e69622f in ?? () #3472 0x7068702f in ?? () #3473 0x00000000 in ?? () Cannot access memory at address 0xbfd35fff See you soon i hope ;o) Escuder Nicolas -----Message d'origine----- De : Andrei Zmievski [mailto:andrei@gravitonic.com] Envoyé : samedi 27 janvier 2007 19:53 À : PHP-GTK Dev list Objet : Re: [PHP-GTK-DEV] #39539 [NoF->Opn]: new GtkEventBox crash Can anyone else reproduce this? -Andrei On Jan 26, 2007, at 7:38 PM, n dot escuder at intra-links dot com wrote:--PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpID: 39539User updated by: n dot escuder at intra-links dot comReported By: n dot escuder at intra-links dot com -Status: No Feedback +Status: Open Bug Type: PHP-GTK relatedOperating System: LinuxPHP Version: 5.2.0New Comment: Sorry for the long time of the answer. So i try with php 5.2.0 and i checkout the lastest version of php_gtk and it always crash... i don't known why... gdb backtrace : #178 0xbeeff400 in ?? () #179 0x001000b7 in ?? () #180 0xb76a3600 in zim_GtkWidget_show_now () from /usr/lib/php/extensions/php_gtk2.so Previous frame inner to this frame (corrupt stack?) X11R7 Version 7.1 GTK+ Version 2.10.6 For information i actually use and old php_gtk2 checkout version that work fine. If you want i can give you an ssh access. See You Previous Comments: ---------------------------------------------------------------------- -- [2006-12-15 01:00:00] php-gtk-dev at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ---------------------------------------------------------------------- -- [2006-12-07 05:02:09] andrei@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip I cannot reproduce this with PHP-GTK CVS and PHP 5.2.0RC4-dev. ---------------------------------------------------------------------- -- [2006-11-16 21:57:27] n dot escuder at intra-links dot com Description: ------------ php gtk 2 from CVS crash when creating an object of type GtkEventBox() Reproduce code: --------------- new GtkEventBox(); Expected result: ---------------- None Actual result: -------------- Crash the program ---------------------------------------------------------------------- -- --Edit this bug report at http://bugs.php.net/?id=39539&edit=1 --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php