Re: second patch and question to DOC team
| From: | Ivan Rodriguez | Date: | Wed, 11 May 2005 06:37:20 +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-1264@lists.php.net to get a copy of this message | ||
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
>