[mapserver-dev] PHP Mapscript

Frank Broniewski brfr at metrico.lu
Wed Oct 3 02:24:11 PDT 2012


Hi all,

In addition to the backtrace `bt` I sent, I have also a `bt full` 
backtrace which is even more verbose ...

#0  0x0000000801cca21a in read () from /lib/libc.so.7
No symbol table info available.
#1  0x0000000801cc9cf0 in getdtablesize () from /lib/libc.so.7
No symbol table info available.
#2  0x0000000801cc9a3b in getdtablesize () from /lib/libc.so.7
No symbol table info available.
#3  0x0000000801cb40ce in __srget () from /lib/libc.so.7
No symbol table info available.
#4  0x0000000801c9f75f in _nsyylex () from /lib/libc.so.7
No symbol table info available.
#5  0x0000000801c9f808 in fread () from /lib/libc.so.7
No symbol table info available.
#6  0x0000000000681a3a in zend_stream_stdio_reader (handle=0x801efcb00, 
buf=0x7fffffffb7ff "", len=1)
     at /usr/ports/lang/php5/work/php-5.4.6/Zend/zend_stream.c:55
No locals.
#7  0x0000000000681e67 in zend_stream_getc (file_handle=0x7fffffffd7d0)
     at /usr/ports/lang/php5/work/php-5.4.6/Zend/zend_stream.c:148
	buf = 0 '\0'
#8  0x0000000000681ef5 in zend_stream_read (file_handle=0x7fffffffd7d0, 
buf=0x8020665d0 "", len=4096)
     at /usr/ports/lang/php5/work/php-5.4.6/Zend/zend_stream.c:168
	c = 42
	n = 0
#9  0x0000000000682393 in zend_stream_fixup (file_handle=0x7fffffffd7d0, 
buf=0x7fffffffb8e8, len=0x7fffffffb8e0)
     at /usr/ports/lang/php5/work/php-5.4.6/Zend/zend_stream.c:262
	read = 328
	remain = 4096
	size = 0
	old_type = ZEND_HANDLE_FP
#10 0x00000000006042f7 in open_file_for_scanning 
(file_handle=0x7fffffffd7d0) at zend_language_scanner.l:486
	file_path = 0x0
	buf = 0x8020665d0 ""
	size = 34393711752
	offset = 0
#11 0x000000000060467f in compile_file (file_handle=0x7fffffffd7d0, 
type=8) at zend_language_scanner.l:569
	original_lex_state = {yy_leng = 0, yy_start = 0x0, yy_text = 0x0, 
yy_cursor = 0x0, yy_marker = 0x0,
   yy_limit = 0x0, yy_state = 0, state_stack = {top = 0, max = 0, 
elements = 0x0}, in = 0x0, lineno = 0,
   filename = 0x0, script_org = 0x0, script_org_size = 0, 
script_filtered = 0x0, script_filtered_size = 0,
   input_filter = 0, output_filter = 0, script_encoding = 0x0}
	op_array = (zend_op_array *) 0x802066488
	original_active_op_array = (zend_op_array *) 0x0
	retval = (zend_op_array *) 0x802066488
	compiler_result = -17808
	compilation_successful = 0 '\0'
	retval_znode = {op_type = 1, u = {op = {constant = 1, var = 1, num = 1, 
hash = 1, opline_num = 1,
       jmp_addr = 0x1, zv = 0x1, literal = 0x1, ptr = 0x1}, constant = 
{value = {lval = 1,
         dval = 4.9406564584124654e-324, str = {val = 0x1 <Error reading 
address 0x1: Bad address>, len = -18128},
         ht = 0x1, obj = {handle = 1, handlers = 0x7fffffffb930}}, 
refcount__gc = 1, type = 1 '\001',
       is_ref__gc = 0 '\0'}, op_array = 0x1}, EA = 4294949648}
	original_in_compilation = 0 '\0'
#12 0x00000008099c086f in phar_compile_file () from 
/usr/local/lib/php/20100525-debug/phar.so
No symbol table info available.
#13 0x00000000006626e1 in zend_execute_scripts (type=8, retval=0x0, 
file_count=3)
     at /usr/ports/lang/php5/work/php-5.4.6/Zend/zend.c:1281
	files = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 
0x7fffffffbca0,
     reg_save_area = 0x7fffffffbbe0}}
	i = 1
	file_handle = (zend_file_handle *) 0x7fffffffd7d0
	orig_op_array = (zend_op_array *) 0x0
	orig_retval_ptr_ptr = (zval **) 0x0
---Type <return> to continue, or q <return> to quit---
	orig_interactive = 0
#14 0x00000000005caa86 in php_execute_script (primary_file=0x7fffffffd7d0)
     at /usr/ports/lang/php5/work/php-5.4.6/main/main.c:2473
	realfile = 
"\000��\000\b\000\000\000\000��\000\b\000\000\000\000\020�\000\b\000\000\000\000\024�\000\b\000\000\000\000\030�\000\b\000\000\000\000\034�\000\b\000\000\000\0000�\000\b\000\000\000@\217\000\000\000\000\000\000\000\001\000\000\000\000\000\000\030\216\000\000\000\000\000\000\000\001\000\000\000\000\000\000h\215\000\000\000\000\000\000�����\177\000\000\017\000\000\000\000\000\000\000�����\177\000\000�/b\000\000\000\000\000Hb\006\002\b\000\000\000\000�\000\002\b\000\000\000h\215\000\000\000\000\000\000\017\000\000\000\000\000\000\000\020�\000\002\b\000\000\000\230a\006\002\b\000\000\000�a\006\002\b\000\000\000\000t�\000\b\000\000\000\017\000\000\000\000\000\000\000"...
	__orig_bailout = (sigjmp_buf *) 0x7fffffffd720
	__bailout = {{_sjb = {6072261, 1, 140737488338072, 140737488343696, 
140737488345768, 140737488345752, 0,
       0, 1349255807, 210706796949, 21483536968, 34359738368}}}
	prepend_file_p = (zend_file_handle *) 0x0
	append_file_p = (zend_file_handle *) 0x0
	prepend_file = {type = ZEND_HANDLE_FILENAME, filename = 0x0, 
opened_path = 0x0, handle = {fd = 0,
     fp = 0x0, stream = {handle = 0x0, isatty = 0, mmap = {len = 0, pos 
= 0, map = 0x0, buf = 0x0,
         old_handle = 0x0, old_closer = 0}, reader = 0, fsizer = 0, 
closer = 0}}, free_filename = 0 '\0'}
	append_file = {type = ZEND_HANDLE_FILENAME, filename = 0x0, opened_path 
= 0x0, handle = {fd = 0,
     fp = 0x0, stream = {handle = 0x0, isatty = 0, mmap = {len = 0, pos 
= 0, map = 0x0, buf = 0x0,
         old_handle = 0x0, old_closer = 0}, reader = 0, fsizer = 0, 
closer = 0}}, free_filename = 0 '\0'}
	old_cwd = 0x7fffffffbcc0 ""
	use_heap = 0 '\0'
	retval = 0
#15 0x00000000007ba2c4 in do_cli (argc=1, argv=0x7fffffffda98)
     at /usr/ports/lang/php5/work/php-5.4.6/sapi/cli/php_cli.c:988
	__orig_bailout = (sigjmp_buf *) 0x7fffffffd970
	__bailout = {{_sjb = {8099925, 1, 140737488343704, 140737488345392, 
140737488345768, 140737488345752, 0,
       0, 895, 8604736, 8604784, 0}}}
	c = -1
	file_handle = {type = ZEND_HANDLE_STREAM, filename = 0x851935 "-", 
opened_path = 0x0, handle = {
     fd = 32492288, fp = 0x801efcb00, stream = {handle = 0x801efcb00, 
isatty = 1, mmap = {len = 0, pos = 0,
         map = 0x0, buf = 0x0, old_handle = 0x0, old_closer = 0}, reader 
= 0x681a10 <zend_stream_stdio_reader>,
       fsizer = 0x681a80 <zend_stream_stdio_fsizer>, closer = 0x681a40 
<zend_stream_stdio_closer>}},
   free_filename = 0 '\0'}
	behavior = 1
	reflection_what = 0x0
	request_started = 1
	exit_status = 0
	php_optarg = 0x0
	orig_optarg = 0x0
	php_optind = 1
	orig_optind = 1
	exec_direct = 0x0
	exec_run = 0x0
	exec_begin = 0x0
	exec_end = 0x0
	arg_free = 0x7fffffffdd10 "/usr/local/bin/php"
	arg_excp = (char **) 0x7fffffffda98
	script_file = 0x0
	translated_path = 0x0
	interactive = 0
	lineno = 0
	param_error = 0x0
	hide_argv = 0
#16 0x00000000007bb2a9 in main (argc=1, argv=0x7fffffffda98)
     at /usr/ports/lang/php5/work/php-5.4.6/sapi/cli/php_cli.c:1364
	__orig_bailout = (sigjmp_buf *) 0x0
	__bailout = {{_sjb = {8106630, 1, 140737488345400, 140737488345664, 
140737488345768, 140737488345752, 0,
---Type <return> to continue, or q <return> to quit---
       0, 895, 1, 140737488345712, 140733193388032}}}
	c = -1
	exit_status = 0
	module_started = 1
	sapi_started = 1
	php_optarg = 0x0
	php_optind = 1
	use_extended_info = 0
	ini_path_override = 0x0
	ini_entries = 0x8020080f0 
"html_errors=0\nregister_argc_argv=1\nimplicit_flush=1\noutput_buffering=0\nmax_execution_time=0\nmax_input_time=-1\n"
	ini_entries_len = 110
	ini_ignore = 0
	sapi_module = (sapi_module_struct *) 0xb15940


-- 
Frank BRONIEWSKI

METRICO s.à r.l.
géomètres
technologies d'information géographique
rue des Romains 36
L-5433 NIEDERDONVEN

tél.: +352 26 74 94 - 28
fax.: +352 26 74 94 99
http://www.metrico.lu


More information about the mapserver-dev mailing list