setup/index.php returns blank page, errors in apache error_log

jrmitche

Joined: 2007-07-05
Posts: 3
Posted: Thu, 2007-07-05 14:56

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://puck.nether.net/~daybreak/gallery/
Gallery version: 1.6-alpha3
Apache version: Apache/2.0.59 (Unix)
PHP version (don't just say PHP 4, please): 5.2.3
Graphics Toolkit: ImageMagick 6.2.8
Operating system: FreeBSD 6.2-RELEASE
Web browser/version (if applicable): Firefox 2.0.0.4 (WinXP)

When I try to load the configuration tool (setup/index.php) after running configure.sh and creating the albums directory, I just get a blank page. In the apache error_log, there is the following message:
[notice] child pid 15520 exit signal Abort trap (6)
for everytime I try to go to the URL.

I can't find anything obviously set wrong looking at the phpinfo:
http://puck.nether.net/~daybreak/gallery/setup/phpinfo.php

I've also tried gallery 1.5.6 and setting very open permissions on all gallery files with same results. Any ideas?

Thanks,

-Jon

 
jrmitche

Joined: 2007-07-05
Posts: 3
Posted: Thu, 2007-07-05 21:04

Have done a large amount of additional testing to no avail. I've done the PHP compatibility tester which passes with no issues, as well as tried defaulting my php.ini, checking access permissions again, etc.. Any help is greatly appreciated. If I add die statements to the index.php script then it fails when it gets to these lines, which are not very far down the script:

<title><?php echo gTranslate('config', "Gallery Configuration") ?></title>
<?php common_header(); ?>

Any help appreciated.

-Jon

 
jrmitche

Joined: 2007-07-05
Posts: 3
Posted: Sun, 2007-07-08 22:46

Narrowed the problem down to the specific combination of httpd 2.0.5x (doesn't affect 2.2.x) with php compiled with gettext support. Without gettext there is no issue. Here is a gdb backtrace of a core dump of one of the httpd processes. Would still appreciate someone looking into this further, not sure if I should notify gallery, gettext, php, or apache maintainers regarding this issue:

#0 0x28215ecb in kill () from /lib/libc.so.6
#1 0x28215e68 in raise () from /lib/libc.so.6
#2 0x28214b78 in abort () from /lib/libc.so.6
#3 0x2875cc13 in libintl_recursive_lock_init (lock=0x2875e2d4)
at ../../gettext-runtime/intl/lock.c:268
#4 0x2875cc81 in libintl_recursive_lock_lock (lock=0x2875e2d4)
at ../../gettext-runtime/intl/lock.c:280
#5 0x2875875b in _nl_load_domain (domain_file=0x82e2460,
domainbinding=0x84bfdc0) at ../../gettext-runtime/intl/loadmsgcat.c:798
#6 0x287586d9 in _nl_find_domain (
dirname=0x84bfe00 "/home/daybreak/public_html/gallery/locale",
locale=0xbfbfbf00 "en",
domainname=0xbfbfbf20 "LC_MESSAGES/en_US-gallery_config.mo",
domainbinding=0x84bfdc0) at ../../gettext-runtime/intl/finddomain.c:165
#7 0x2875b94c in libintl_dcigettext (
domainname=0x818b150 "en_US-gallery_config",
msgid1=0x818b1a0 "Gallery Configuration", msgid2=0x0, plural=0, n=0,
category=6) at ../../gettext-runtime/intl/dcigettext.c:733
#8 0x28758423 in libintl_dcgettext (
domainname=0x818b150 "en_US-gallery_config",
msgid=0x818b1a0 "Gallery Configuration", category=6)
at ../../gettext-runtime/intl/dcgettext.c:49
#9 0x28758448 in libintl_dgettext (
---Type <return> to continue, or q <return> to quit---
domainname=0x818b150 "en_US-gallery_config",
msgid=0x818b1a0 "Gallery Configuration")
at ../../gettext-runtime/intl/dgettext.c:52
#10 0x283983a6 in zif_dgettext (ht=2, return_value=0x84d7d98,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=1)
at /home/daybreak/php-5.2.3/ext/gettext/gettext.c:211
#11 0x28514b26 in zend_do_fcall_common_helper_SPEC (execute_data=0xbfbfc490)
at zend_vm_execute.h:200
#12 0x285142ad in execute (op_array=0x83f2700) at zend_vm_execute.h:92
#13 0x285144f9 in zend_do_fcall_common_helper_SPEC (execute_data=0xbfbfd2e0)
at zend_vm_execute.h:234
#14 0x285142ad in execute (op_array=0x818a0bc) at zend_vm_execute.h:92
#15 0x284fb19d in zend_execute_scripts (type=8, retval=0x0, file_count=3)
at /home/daybreak/php-5.2.3/Zend/zend.c:1134
#16 0x284c3631 in php_execute_script (primary_file=0xbfbfe8c0)
at /home/daybreak/php-5.2.3/main/main.c:1794
#17 0x28574dc8 in php_handler (r=0x82cd050)
at /home/daybreak/php-5.2.3/sapi/apache2handler/sapi_apache2.c:623
#18 0x080815b6 in ap_run_handler (r=0x82cd050) at config.c:152
#19 0x08081981 in ap_invoke_handler (r=0x82cd050) at config.c:364
#20 0x08069fc9 in ap_process_request (r=0x82cd050) at http_request.c:249
#21 0x08065701 in ap_process_http_connection (c=0x82c7128) at http_core.c:253
#22 0x0808af52 in ap_run_process_connection (c=0x82c7128) at connection.c:43
---Type <return> to continue, or q <return> to quit---
#23 0x0807fdcd in child_main (child_num_arg=0) at prefork.c:610
#24 0x0807fff7 in make_child (s=0xf, slot=0) at prefork.c:704
#25 0x08080088 in startup_children (number_to_start=5) at prefork.c:722
#26 0x0808070b in ap_mpm_run (_pconf=0xbfbfeb90, plog=0x80f6018, s=0xbfbfeb98)
at prefork.c:941
#27 0x080859df in main (argc=3, argv=0xbfbfec84) at main.c:623

Thanks,

-Jon