Ticket #1874 (new defect)

Opened 2 months ago

Last modified 2 months ago

Segfault when accessing privilege management

Reported by: flack Assigned to: piotras
Priority: major Milestone: 8.09.10 Ragnaroek
Component: Midgard Core Version: 8.09 Ragnaroek
Keywords: Cc:

Description

When i click on the privileges link in Asgard, I get the following segfault:

Program received signal SIGSEGV, Segmentation fault.
0xb6fd47a9 in __set_property_from_mysql_row (object=0x1bcd638, property_id=1, value=0xbfffcd94, pspec=0x462410)
    at src/types_metadata.c:233
233     src/types_metadata.c: No such file or directory.
        in src/types_metadata.c
(gdb) backtrace
#0  0xb6fd47a9 in __set_property_from_mysql_row (object=0x1bcd638, property_id=1, value=0xbfffcd94, pspec=0x462410)
    at src/types_metadata.c:233
#1  _metadata_get_property (object=0x1bcd638, property_id=1, value=0xbfffcd94, pspec=0x462410) at src/types_metadata.c:280
#2  0xb6d31708 in g_object_get_property () from /usr/lib/libgobject-2.0.so.0
#3  0xb6b79060 in php_midgard_zendobject_get_properties (zobject=0xbfffce10)
    at /tmp/Midgard_AllinOne-8.09.9.99/php5-midgard-8.09.9.99/php_midgard_gobject_generic.c:707
#4  0xb78f4d24 in gc_collect_cycles () from /usr/lib/apache2/modules/libphp5.so
#5  0xb78f5385 in gc_zval_possible_root () from /usr/lib/apache2/modules/libphp5.so
#6  0xb78c8eb1 in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp5.so
#7  0xb79462ca in ?? () from /usr/lib/apache2/modules/libphp5.so
#8  0xb7946c58 in ?? () from /usr/lib/apache2/modules/libphp5.so
#9  0xb78ff77e in execute () from /usr/lib/apache2/modules/libphp5.so
#10 0xb78d5996 in zend_execute_scripts () from /usr/lib/apache2/modules/libphp5.so
#11 0xb787a144 in php_execute_script () from /usr/lib/apache2/modules/libphp5.so
#12 0xb7967c3b in ?? () from /usr/lib/apache2/modules/libphp5.so
#13 0x00148031 in ap_run_handler (r=0x923a90) at /build/buildd/apache2-2.2.14/server/config.c:159
#14 0x0014be17 in ap_invoke_handler (r=0x923a90) at /build/buildd/apache2-2.2.14/server/config.c:373
#15 0x0015b728 in ap_process_request (r=0x923a90) at /build/buildd/apache2-2.2.14/modules/http/http_request.c:282
#16 0x00158258 in ap_process_http_connection (c=0x91f9c8) at /build/buildd/apache2-2.2.14/modules/http/http_core.c:190
#17 0x001508a1 in ap_run_process_connection (c=0x91f9c8) at /build/buildd/apache2-2.2.14/server/connection.c:43
#18 0x00160bea in child_main (child_num_arg=<value optimized out>)
    at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:662
#19 0x00160f21 in make_child (s=<value optimized out>, slot=0)
    at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:702
#20 0x001616af in ap_mpm_run (_pconf=0x17b0a8, plog=0x1ad170, s=0x17f8e8)
    at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:978
#21 0x00132a92 in main (argc=2, argv=0xbffff824) at /build/buildd/apache2-2.2.14/server/main.c:742

This seems to be a recent change, because it only happens on a self-compiled 8.09.99 snapshot, in 8.09.9 it works fine. Tested on Kubuntu 10.04

Change History

07/12/10 12:42:06 changed by flack

  • owner changed from bergie to piotras.
  • component changed from MidCOM core to Midgard Core.