Segfaults with t1lib

From: Date: Sun, 08 Apr 2001 04:29:05 +0000
Subject: Segfaults with t1lib
Groups: php.general 
Request: Send a blank email to php-general+get-47623@lists.php.net to get a copy of this message
php-4.0.4pl1 compiled with --with-t1lib alternatively segfaults or gives error messages, depending on where you call ImagePsText(). This is the warning: [Sun Apr 8 06:16:57 2001] [error] PHP Warning: libt1 returned error 11 in /var/www/larsi/lib/chart.php on line 493 And this is what apache says when being run under gdb, and php segfaults: GDB 4.16 (i386-redhat-linux), Copyright 1996 Free Software Foundation, Inc... (gdb) run -X Starting program: /usr/local/lib/apache-1.3/bin/httpd-1.3.19-php-4.0.4pl1-oci-xml-ssl-gettext -X Program received signal SIGSEGV, Segmentation fault. 0x40028561 in T1_SetString () at t1set.c:1142 1142 } (gdb) bt #0 0x40028561 in T1_SetString () at t1set.c:1142 #1 0x4002e840 in T1_AASetString () at t1aaset.c:741 #2 0x80ba9bb in php_if_imagepstext (ht=12, return_value=0x847e784, this_ptr=0x0, return_value_used=0) at gd.c:2468 #3 0x810ebe5 in execute (op_array=0x83bda24) at ./zend_execute.c:1519 #4 0x810edd9 in execute (op_array=0x83ba734) at ./zend_execute.c:1559 #5 0x810edd9 in execute (op_array=0x834fa7c) at ./zend_execute.c:1559 #6 0x80a4a90 in zend_execute_scripts (type=8, file_count=3) at zend.c:729 #7 0x80b0e28 in php_execute_script (primary_file=0xbffffb24) at main.c:1221 #8 0x80aeed7 in apache_php_module_main (r=0x833d01c, display_source_mode=0) at sapi_apache.c:89 #9 0x809900a in send_php () #10 0x809903b in send_parsed_php () #11 0x812f886 in ap_invoke_handler () #12 0x813f5ed in process_request_internal () #13 0x813f63b in ap_process_request () #14 0x8138254 in child_main () #15 0x813849f in startup_children () #16 0x8138bf9 in standalone_main () #17 0x8139643 in main () (gdb) I have seen this being reported several times before, but as far as I can see, it hasn't been fixed. Has ImagePsText become unsupported? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen

« previous php.general (#47623) next »