Re: Midgard, MidCOM problems

Sonic <[email protected]>
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
Am Samstag, 9. Juli 2005 10:14 schrieb Piotras:
>
> OK, can you run simple query in mysql midgard database?
> 'SELECT id FROM page WHERE name LIKE '%template%';
>

I ran this command and it returned one result, id 101

> > I tried to recompile the php mysql extension, but there are still
> > segfaults in phpMyAdmin, but I have the impression that they are fewer
> > than before, and they seem to be connected to miidcom-admin now, not to
> > standard cms pages. I can investigate further if anyone is interested.
>
> I would be very glad if you could reproduce it and send backtrace.
>

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1079516064 (LWP 28694)]
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  0x40f8f63c in _unregister_midgard_php_class_members (key=0x833b828,
    value=0x833bf58, user_data=0x0)
    
at /root/Midgard_AllinOne-1.7rc1_cvs20050707/midgard-php4-1.7rc1_cvs20050707/midgard.c:1352
#3  0x40c54ef6 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
#4  0x40f8fad8 in zm_deactivate_midgard (type=1, module_number=35)
    
at /root/Midgard_AllinOne-1.7rc1_cvs20050707/midgard-php4-1.7rc1_cvs20050707/midgard.c:1595
#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 0x0837c0f0 in ?? ()
#16 0x00000004 in ?? ()
#17 0x0837c0f0 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 ()



While reproducing, I also encountered this error (when trying to edit an 
article in Midcom):

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 1079516064 (LWP 28636)]
0x403565fe in __write_nocancel () from /lib/tls/libpthread.so.0
(gdb) backtrace
#0  0x403565fe in __write_nocancel () from /lib/tls/libpthread.so.0
#1  0x40ae514f in vio_write () from /usr/lib/libmysqlclient.so.12
#2  0x40ae5c68 in net_real_write () from /usr/lib/libmysqlclient.so.12
#3  0x40ae5748 in net_flush () from /usr/lib/libmysqlclient.so.12
#4  0x40ae59c0 in net_write_command () from /usr/lib/libmysqlclient.so.12
#5  0x40acd4f7 in simple_command () from /usr/lib/libmysqlclient.so.12
#6  0x40ad08ad in mysql_stat () from /usr/lib/libmysqlclient.so.12
#7  0x40cc65ce in mgd_assert_db_connection (mgd=0x837e940,
    hostname=0xffffffe0 <Address 0xffffffe0 out of bounds>,
    database=0xffffffe0 <Address 0xffffffe0 out of bounds>,
    username=0xffffffe0 <Address 0xffffffe0 out of bounds>,
    pass=0xffffffe0 <Address 0xffffffe0 out of bounds>) at src/midgard.c:457
#8  0x40ab932a in mgd_select_database ()
   from /usr/lib/apache2/modules/midgard-apache2.so
#9  0x40abb613 in midgard_translate_handler ()
   from /usr/lib/apache2/modules/midgard-apache2.so
#10 0x0808fdb5 in ap_run_translate_name ()
#11 0x08090939 in ap_process_request_internal ()
#12 0x08069c88 in ap_process_request ()
#13 0x0806512d in _start ()
#14 0x0838a438 in ?? ()
#15 0x00000004 in ?? ()
#16 0x0838a438 in ?? ()
#17 0x405b9d80 in modperl_process_connection_handler ()
   from /usr/lib/apache2/modules/mod_perl.so
#18 0x080835f5 in ap_run_process_connection ()
#19 0x080769a4 in ap_graceful_stop_signalled ()
#20 0x08076bbb in ap_graceful_stop_signalled ()
#21 0x08076c18 in ap_graceful_stop_signalled ()
#22 0x0807748a in ap_mpm_run ()
#23 0x0807dabd in main ()


> > as alwys, any help is greatly appreciated. And needed. I don't know why,
> > but the gods of Midgard really seem to hate me :-)
>
> Gods of Midgard love you very much :)
> Midgard 1.7 is the first release with so many huge changes since 1.2.x I
> think.
>
> 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.