Package: php5-gd Version: 5.3.0-2 Severity: grave Justification: renders package unusable
On an apache2 server using libapache2-mod-php5 calling "phpinfo();" causes a segfault if gd is enabled, if disabled in gd.ini it returns page. A backtrace should be attached. btw. I'm using php-5.3.0-systzdata-v7.patch to get around bug 535770. cu thomas -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (900, 'testing'), (500, 'unstable'), (250, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29.1-rt8-4.03-st20g5 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages php5-gd depends on: ii libapache2-mod-php5 [p 5.3.0-2 server-side, HTML-embedded scripti ii libc6 2.9-12 GNU C Library: Shared libraries ii libfreetype6 2.3.9-4.1 FreeType 2 font engine, shared lib ii libgd2-xpm 2.0.36~rc1~dfsg-3 GD Graphics Library version 2 ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libpng12-0 1.2.38-1 PNG library - runtime ii libt1-5 5.1.2-3 Type 1 font rasterizer library - r ii libx11-6 2:1.2.2-1 X11 client-side library ii libxpm4 1:3.5.7-2 X11 pixmap library ii php5 5.3.0-2 server-side, HTML-embedded scripti ii php5-cgi [phpapi-20090 5.3.0-2 server-side, HTML-embedded scripti ii php5-cli [phpapi-20090 5.3.0-2 command-line interpreter for the p ii php5-common 5.3.0-2 Common files for packages built fr ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime php5-gd recommends no packages. php5-gd suggests no packages. -- no debconf information
-- backtrace after request phpinfo.php -- r...@mzpc>gdb $HTTPD GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... (no debugging symbols found) (gdb) run -X Starting program: /usr/sbin/apache2 -X [Thread debugging using libthread_db enabled] [New Thread 0x7f996e9c3740 (LWP 17235)] [Fri Aug 07 15:45:12 2009] [warn] NameVirtualHost *:80 has no VirtualHosts [New Thread 0x7f995ca04950 (LWP 17240)] [Thread 0x7f995ca04950 (LWP 17240) exited] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f996e9c3740 (LWP 17235)] strlen () at ../sysdeps/x86_64/strlen.S:48 48 ../sysdeps/x86_64/strlen.S: No such file or directory. in ../sysdeps/x86_64/strlen.S Current language: auto; currently asm (gdb) bt #0 strlen () at ../sysdeps/x86_64/strlen.S:48 #1 0x00007f9969a207c8 in format_converter (odp=0x7fff76a001f0, fmt=0x7f9964f364d0 "s", ap=0x7fff76a00150) at /home/drillich/src/php5/php5-5.3.0/main/snprintf.c:964 #2 0x00007f9969a213ac in strx_printv (ccp=0x7fff76a0020c, buf=0x7f996e9c36f0 "(X\206n\231\177", len=1990197800, format=0x7f9964f364cf "%s", ap=0x0) at /home/drillich/src/php5/php5-5.3.0/main/snprintf.c:1211 #3 0x00007f9969a21554 in ap_php_snprintf (buf=0x7fff76a002db "", len=1855731440, format=0x0) at /home/drillich/src/php5/php5-5.3.0/main/snprintf.c:1256 #4 0x00007f9964f32b44 in zm_info_gd (zend_module=0x13c2bb0) at /home/drillich/src/php5/php5-5.3.0/ext/gd/gd.c:1296 #5 0x00007f99699c06e0 in _display_module_info_func (module=0x64f37878) at /home/drillich/src/php5/php5-5.3.0/ext/standard/info.c:123 #6 0x00007f9969a7c6d5 in zend_hash_apply (ht=0x7fff76a00520, apply_func=0x7f99699c06d0 <_display_module_info_func>) at /home/drillich/src/php5/php5-5.3.0/Zend/zend_hash.c:673 #7 0x00007f99699c1a5a in php_print_info (flag=32767) at /home/drillich/src/php5/php5-5.3.0/ext/standard/info.c:903 #8 0x00007f99699c1e61 in zif_phpinfo (ht=1693677688, return_value=0x130f858, return_value_ptr=0x7fff76a00228, this_ptr=0x0, return_value_used=-16843009) at /home/drillich/src/php5/php5-5.3.0/ext/standard/info.c:1217 #9 0x00007f9969ac1e5b in zend_do_fcall_common_helper_SPEC (execute_data=0x7f996a17c580) at /home/drillich/src/php5/php5-5.3.0/Zend/zend_vm_execute.h:313 #10 0x00007f9969a9b299 in execute (op_array=0x130eea8) at /home/drillich/src/php5/php5-5.3.0/Zend/zend_vm_execute.h:104 #11 0x00007f9969a700c1 in zend_execute_scripts (type=0, retval=0x7fff76a00770, file_count=3) at /home/drillich/src/php5/php5-5.3.0/Zend/zend.c:1188 #12 0x00007f9969a1c805 in php_execute_script (primary_file=Cannot access memory at address 0x8000769ff690 ) at /home/drillich/src/php5/php5-5.3.0/main/main.c:2196 #13 0x00007f9969afa775 in php_handler (r=0x43c055) at /home/drillich/src/php5/php5-5.3.0/sapi/apache2handler/sapi_apache2.c:663 #14 0x000000000043b8d3 in ap_run_handler () #15 0x000000000043ee9f in ap_invoke_handler () #16 0x000000000044c11e in ap_process_request () #17 0x0000000000449158 in ?? () #18 0x0000000000442dd3 in ap_run_process_connection () #19 0x0000000000450720 in ?? () #20 0x0000000000450a38 in ?? () #21 0x0000000000451050 in ap_mpm_run () #22 0x0000000000428425 in main () (gdb)