Re: segfault on schema registration

David Schmitter <[email protected]> Sun, 11 Sep 2005 15:04:28 +0200
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
> 
>>0x020b0bf8 in zend_register_functions () from /etc/httpd/modules/libphp5.so
>>(gdb) bt full
>>#0  0x020b0bf8 in zend_register_functions () from
>>/etc/httpd/modules/libphp5.so
>>No symbol table info available.
>>#1  0x020b143f in zend_disable_function () from
>>/etc/httpd/modules/libphp5.so
>>No symbol table info available.
>>#2  0x05c9594a in _register_midgard_php_classes (key=0x85579e0,
>>value=0x85579b8, user_data=0x0)
>>     at /usr/src/debug/midgard-php4-1.7.1/midgard.c:1739
>>No locals.
>>#3  0x06085a02 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
> 
> 
>>Any ideas?
> 
> 
> gcc4 issue.
> I could be able to  reproduce it compiling midgard with gcc4 while all other
> applications and libraries like Apache or PHP4 were compiled with gcc3.
> 

OK, recompiled all midgard packages with gcc3, but results were the same.

What did help was removing all types from MgdObjects.xml. Not a terribly
attractive "solution"...

David

-- 
David Schmitter, Software Developer, [email protected]
Dataflow Solutions GmbH - Pappelweg 48 - CH-3013 Bern
[email protected] - +41 31 332 01 01