Re: Upgrading from midcom-db to midcom-fs

Sonic <[email protected]>
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
Am Donnerstag, 30. Juni 2005 12:31 schrieb Piotras:
> Sonic <[email protected]> wrote:
> > Am Donnerstag, 30. Juni 2005 00:13 schrieb Piotras:
> > > > Ok, I updated to 1.7rc1 and Midgard works just fine, but midcom-admin
> > > > still shows the version number 1.4.0.
> > >
> > > Anything in php log?
> > > Looks like you do not use midcom-template as root page.
> >
> > phperr.log showed up nothing. How can I tell if I use midcom-template as
> > my root page? (I think I am, in Aegir I can see elements like
> > edit-this-page or midcom-settings)
>
> Root page or main page should be set to "template_midcom".
>
> > After restarting Apache, I could open phpMyAdmin again, so I disabled gdb
> > again. Of course, it segfaulted right after that (I had tried to rename
> > midcom snippetdir to midcom_old), so I restartetd gdb and performed the
> > operation again, this time it didn't crash right away, but when I renamed
> > midcom_old to midcom again, I got the following message:
> >
> > ** (process:13883): DEBUG: Midgard: switching to midgardlive
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 1079516064 (LWP 13883)]
> > 0x4082e3fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
>
> type backtrace if you can reproduce it again

I reproduced it, and while I tried, another segfault occured, this time in 
Aegir (which worked fine until now):

** (process:14707): DEBUG: Midgard: switching to midgardlive
** (process:14707): DEBUG: Midgard: select_database kept current database 
midgardlive
** (process:14707): DEBUG: Midgard: switching to midgard
** (process:14707): DEBUG: Midgard: select_database kept current database 
midgard
** (process:14707): DEBUG: Midgard: snippet get record 
failed: /AegirCore/Localization/AegirCore//U25pcHBldA==
** (process:14707): DEBUG: Midgard: snippet get record 
failed: /AegirCore/Localization/AegirCore//VG9vbHM=
** (process:14707): DEBUG: Midgard: switching to midgardlive
** (process:14707): DEBUG: Midgard: switching to midgard
** (process:14707): DEBUG: Midgard: select_database kept current database 
midgard
** (process:14707): DEBUG: Midgard: snippet get record 
failed: /AegirCore/Localization/AegirCore//U25pcHBldA==
** (process:14707): DEBUG: Midgard: snippet get record 
failed: /AegirCore/Localization/AegirCore//VG9vbHM=
** (process:14707): DEBUG: Midgard: switching to midgardlive

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1079516064 (LWP 14707)]
0x4082e3fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
(gdb) backtrace
#0  0x4082e3fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
#1  0x4083b628 in zend_hash_destroy () 
from /usr/lib/apache2/modules/libphp4.so
#2  0x40f8de47 in _unregister_midgard_php_class_members (key=0x8490ea0,
    value=0x833b888, user_data=0x0)
    at /root/Midgard_AllinOne-1.7rc1/midgard-php4-1.7rc1/midgard.c:1194
#3  0x40c54ef6 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
#4  0x40f8e270 in zm_deactivate_midgard (type=1, module_number=35)
    at /root/Midgard_AllinOne-1.7rc1/midgard-php4-1.7rc1/midgard.c:1434
#5  0x408394f9 in module_registry_cleanup ()
   from /usr/lib/apache2/modules/libphp4.so
#6  0x4083b969 in zend_hash_apply () from /usr/lib/apache2/modules/libphp4.so
#7  0x408363f0 in zend_deactivate_modules ()
   from /usr/lib/apache2/modules/libphp4.so
#8  0x40807335 in php_request_shutdown ()
   from /usr/lib/apache2/modules/libphp4.so
#9  0x4084bc90 in execute () from /usr/lib/apache2/modules/libphp4.so
#10 0x4084bf6a 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 0x0838c238 in ?? ()
#16 0x00000004 in ?? ()
#17 0x0838c238 in ?? ()
#18 0x405b9d80 in modperl_process_connection_handler ()
   from /usr/lib/apache2/modules/mod_perl.so
#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 ()


Here's the one from phpMyAdmin, it only seems to occur if you load a Midgard 
CMS-powered page first:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1079516064 (LWP 14730)]
0x4082e3fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
(gdb) backtrace
#0  0x4082e3fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
#1  0x4083b628 in zend_hash_destroy () 
from /usr/lib/apache2/modules/libphp4.so
#2  0x40f8de47 in _unregister_midgard_php_class_members (key=0x8516ed0,
    value=0x833b888, user_data=0x0)
    at /root/Midgard_AllinOne-1.7rc1/midgard-php4-1.7rc1/midgard.c:1194
#3  0x40c54ef6 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
#4  0x40f8e270 in zm_deactivate_midgard (type=1, module_number=35)
    at /root/Midgard_AllinOne-1.7rc1/midgard-php4-1.7rc1/midgard.c:1434
#5  0x408394f9 in module_registry_cleanup ()
   from /usr/lib/apache2/modules/libphp4.so
#6  0x4083b969 in zend_hash_apply () from /usr/lib/apache2/modules/libphp4.so
#7  0x408363f0 in zend_deactivate_modules ()
   from /usr/lib/apache2/modules/libphp4.so
#8  0x40807335 in php_request_shutdown ()
   from /usr/lib/apache2/modules/libphp4.so
#9  0x4084bc90 in execute () from /usr/lib/apache2/modules/libphp4.so
#10 0x4084bf6a 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 0x087c5e90 in ?? ()
#16 0x00000004 in ?? ()
#17 0x087c5e90 in ?? ()
#18 0x405b9d80 in modperl_process_connection_handler ()
   from /usr/lib/apache2/modules/mod_perl.so
#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 ()


>
> Piotras
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org
> For additional commands, e-mail: [email protected]

-- 
Adding sound to movies would be like putting lipstick on the Venus de Milo. -- 
Mary Pickford, 1925
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.