Re: second patch and question to DOC team

From: Date: Wed, 11 May 2005 12:37:03 +0000
Subject: Re: second patch and question to DOC team
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1267@lists.php.net to get a copy of this message
Hi Markus Excuse me now all work perfect, I didn´t replace the new php_gtk2.so to the extensions directory ... I replace now and all works perfect :-) On 5/11/05, Ivan Rodriguez <epplestun@gmail.com> wrote: > Hi > > Here the output: > > [epplestun@localhost demos]$ gdb /usr/local/bin/php > GNU gdb Red Hat Linux (6.0post-0.20040223.19rh) > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-redhat-linux-gnu"...Using host > libthread_db library "/lib/tls/libthread_db.so.1". > > (gdb) r inspector.php > Starting program: /usr/local/bin/php inspector.php > Error while mapping shared library sections: > : Conseguido. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > [Thread debugging using libthread_db enabled] > [New Thread -150281120 (LWP 2796)] > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > PHP Fatal error: Class GtkTreeStore cannot be instantiated directly > in /home/epplestun/php-dev/gtk/php-gtk/demos/inspector.php on line 42 > Error while reading shared library symbols: > : No existe el fichero o el directorio. > Error while reading shared library symbols: > : No existe el fichero o el directorio. > > Program exited with code 0377. > (gdb) bt > No stack. > (gdb) quit > [epplestun@localhost demos]$ > > > On 5/11/05, Ivan Rodriguez <epplestun@gmail.com> wrote: > > Ok Markus :-) > > > > within hours it will send it, when it leaves the work and it arrives > > at house. Thanks for your explanation to do backtrace :-) > > > > On 5/11/05, Markus Fischer <markus@fischer.name> wrote: > > > Ivan Rodriguez wrote: > > > > Hi Markus > > > > > > > > I try to run your code, but crash in the line of: > > > > > > > > $store = new GtkTreeStore(Gtk::TYPE_STRING, Gtk::TYPE_STRING); > > > > > > > > it can´t declare directly, I have the last version of PHP-GTK from CVS > > > > . You know so that this happens this?? > > > > > > Whenever something crashed -> please provide backtraces. For small > > > errors it doesn't have to be a debug build. > > > > > > Small backtrace guide: > > > - Make sure 'gdb' is installed > > > - start gdb with php-cli as it's argument, e.g. 'gdb > > > /path/co/php-cli-executeable' > > > - on the new prompt, enter 'r PhpGtkReflector.php' > > > the 'r' stands for 'run' and the second one is the argument > > > passed to > > > the executeable > > > - once it crashes, type in 'bt' for backtrace and e-mail the output to > > > the list. PREFERABLE as *.txt attachment, note copy&paste in the email, > > > as long lines usually get nasty broken all over and make things hard to > > > read. > > > - you can leave gdb with 'quit' ;) > > > > > > Long guide: > > > http://bugs.php.net/bugs-generating-backtrace.php > > > > > > - Markus > > > > > >

« previous php.gtk.dev (#1267) next »