Re: strange problem

From: Date: Wed, 09 May 2001 20:38:53 +0000
Subject: Re: strange problem
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1771@lists.php.net to get a copy of this message
> > Can you provide a backtrace? Yup, here it is: [root@nobleman test]# gdb php GNU gdb 5.0rh-5 Red Hat Linux 7.1 Copyright 2001 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"... (gdb) run hello.php Starting program: /usr/bin/php hello.php Program received signal SIGSEGV, Segmentation fault. 0x40289dd3 in strlen () from /lib/i686/libc.so.6 (gdb) bt #0 0x40289dd3 in strlen () from /lib/i686/libc.so.6 #1 0x40085c51 in g_strdup () at eval.c:41 #2 0x404dd752 in g_get_any_init () at gutils.c:423 #3 0x404ddbc0 in g_get_home_dir () at gutils.c:623 #4 0x405d0321 in gtk_rc_append_default_module_path () at gtkrc.c:295 #5 0x405d079a in gtk_rc_init () at gtkrc.c:462 #6 0x405ab051 in gtk_init_check (argc=0xbfffe008, argv=0xbfffe00c) at gtkmain.c:440 #7 0x4037dcfd in init_gtk () at php_gtk.c:109 #8 0x4037df70 in php_rinit_gtk (type=2, module_number=8) at php_gtk.c:196 #9 0x0809c6af in php_dl (file=0x8220a1c, type=2, return_value=0x8220a3c) at dl.c:187 #10 0x0809c484 in php_if_dl (ht=1, return_value=0x8220a3c, this_ptr=0x0, return_value_used=0) at dl.c:79 #11 0x081017af in execute (op_array=0x821b29c) at ./zend_execute.c:1494 #12 0x080d9f16 in zend_execute_scripts (type=8, file_count=3) at zend.c:743 #13 0x08069c17 in php_execute_script (primary_file=0xbffff8a0) at main.c:1209 #14 0x08068408 in main (argc=2, argv=0xbffff94c) at cgi_main.c:730 #15 0x40220177 in __libc_start_main (main=0x8067c98 <main>, argc=2, ubp_av=0xbffff94c, init=0x8066590 <_init>, fini=0x815bd00 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff93c) at ../sysdeps/generic/libc-start.c:129 does that help? --rdp -- Rich Payne rpayne@alphalinux.org www.alphalinux.org

« previous php.gtk (#1771) next »