Re: Upgrading from 1.4.3

Aki Immonen <[email protected]>
Newsgroups gmane.comp.web.midgard.user,gmane.comp.web.midgard.devel
Message-ID <[email protected]>
>>Ok, I successfully built and installed the midgard packages, updated the
>>database using datagard, converted everything to UTF-8 etc and now the new
>>website is up and running.
>>
>>But, I have a strange problem with Apache2, it segfaults quite often:
>>
>>[Thu Jul 21 00:00:26 2005] [notice] child pid 26726 exit signal Segmentation
>>fault (11)
>>[Thu Jul 21 00:00:31 2005] [notice] child pid 26727 exit signal Segmentation
>>fault (11)
>>[Thu Jul 21 00:04:31 2005] [notice] child pid 26732 exit signal Segmentation
>>fault (11)
> 
> 
> Are there any warnings when Apache2 is starting up?

No warnings:

[Thu Jul 21 07:04:19 2005] [notice] Digest: generating secret for digest 
authentication ...
[Thu Jul 21 07:04:19 2005] [notice] Digest: done
[Thu Jul 21 07:04:19 2005] [notice] Apache/2.0.54 (Debian GNU/Linux) 
Midgard/1.7.0 PHP/4.3.10-15 mod_ssl/2.0.54 OpenSSL/0.9.7e configured -- 
resuming normal operations


> Please send backtrace for these segfaults:
> http://midgard-project.org/community/development/debugging.html
> 
> in debian you should do:
> /etc/init.d/apache2 stop
> gdb apache2
> run -X
> 
> type `backtrace` or `bt` in gdb when segfault appear.
> 
> Piotras
> 

Here's the backtrace:


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1214041984 (LWP 7135)]
0xb76263fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
(gdb) bt
#0  0xb76263fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
#1  0xb7633628 in zend_hash_destroy () from 
/usr/lib/apache2/modules/libphp4.so
#2  0xb68f8a2c in get_module () from /usr/lib/php4/20020429/midgard.so
#3  0xb7820ef6 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
#4  0xb68f8ec8 in zm_deactivate_midgard ()
    from /usr/lib/php4/20020429/midgard.so
#5  0xb76314f9 in module_registry_cleanup ()
    from /usr/lib/apache2/modules/libphp4.so
#6  0xb7633969 in zend_hash_apply () from 
/usr/lib/apache2/modules/libphp4.so
#7  0xb762e3f0 in zend_deactivate_modules ()
    from /usr/lib/apache2/modules/libphp4.so
#8  0xb75ff335 in php_request_shutdown ()
    from /usr/lib/apache2/modules/libphp4.so
#9  0xb7643c90 in execute () from /usr/lib/apache2/modules/libphp4.so
#10 0xb7643f6a in execute () from /usr/lib/apache2/modules/libphp4.so
#11 0x080783a5 in ap_run_handler ()
#12 0x080789b0 in ap_invoke_handler ()
#13 0x08069c9a in ap_process_request ()
#14 0x0806512d in _start ()
#15 0x0840a1d0 in ?? ()
#16 0x00000004 in ?? ()
#17 0x0840a1d0 in ?? ()
#18 0x0808373c in ap_run_pre_connection ()
#19 0x080835f5 in ap_run_process_connection ()
#20 0x080769a4 in ap_graceful_stop_signalled ()
#21 0x08076bbb in ap_graceful_stop_signalled ()
#22 0x08076c18 in ap_graceful_stop_signalled ()
#23 0x0807748a in ap_mpm_run ()
#24 0x0807dabd in main ()



-Aki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.