Open Source Content Management System

Segfault in DM2 edit forms

  1. Segfault in DM2 edit forms

    Thu July 17 2008 20:10:03 UTC
    Hi!

    On my Kubuntu 8.04 installation, I noticed segfaults in some DM2 forms.
    Strangely enough, they only occur for some of my self-written MgdSchema
    objects (others and built-in ones are working fine), but I can't quite
    make out what the error could be. On a different machine (with openSUSE
    9.2), they work fine, so I'm a bit lost.

    The backtrace looks like this:

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xb77f2700 (LWP 8418)]
    0xb6c79a13 in set_gobject_property_from_zobject (obj_ptr=0x9b65d2c,
    gobject=0x9a62540)
    at
    /home/sonic/downloads/software/Midgard_AllinOne-1.8.8/midgard-php4-1.8.8/midgard.c:627
    627 if (propname && (*property)->refcount) {
    (gdb) backtrace
    #0 0xb6c79a13 in set_gobject_property_from_zobject (obj_ptr=0x9b65d2c,
    gobject=0x9a62540)
    at
    /home/sonic/downloads/software/Midgard_AllinOne-1.8.8/midgard-php4-1.8.8/midgard.c:627
    #1 0xb6c7aaec in zif__midgard_php_object_update (ht=0,
    return_value=0x9b41db0, return_value_ptr=0x0, this_ptr=0x9b65d2c,
    return_value_used=1) at
    /home/sonic/downloads/software/Midgard_AllinOne-1.8.8/midgard-php4-1.8.8/midgard.c:1102
    #2 0xb752ac71 in execute_internal () from
    /usr/lib/apache2/modules/libphp5.so
    #3 0xb6cdf648 in xdebug_execute_internal
    (current_execute_data=0xbfb719f8, return_value_used=1) at
    /tmp/pear/temp/xdebug/xdebug.c:1605
    #4 0xb753b7a7 in ?? () from /usr/lib/apache2/modules/libphp5.so
    #5 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #6 0xb6cdf2ed in xdebug_execute (op_array=0x97a8a60) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #7 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #8 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #9 0xb6cdf2ed in xdebug_execute (op_array=0x869e85c) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #10 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #11 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #12 0xb6cdf2ed in xdebug_execute (op_array=0x97aae14) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #13 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #14 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #15 0xb6cdf2ed in xdebug_execute (op_array=0x979ee54) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #16 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #17 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #18 0xb6cdf2ed in xdebug_execute (op_array=0x97858b4) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #19 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #20 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #21 0xb6cdf2ed in xdebug_execute (op_array=0x97bbbfc) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #22 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #23 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #24 0xb6cdf2ed in xdebug_execute (op_array=0x86aa920) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #25 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #26 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #27 0xb6cdf2ed in xdebug_execute (op_array=0x869e85c) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #28 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #29 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #30 0xb6cdf2ed in xdebug_execute (op_array=0x97c1774) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #31 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #32 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #33 0xb6cdf2ed in xdebug_execute (op_array=0x895ae28) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #34 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #35 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #36 0xb6cdf2ed in xdebug_execute (op_array=0x8991a2c) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #37 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    ---Type <return> to continue, or q <return> to quit---
    #38 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #39 0xb6cdf2ed in xdebug_execute (op_array=0x9845fb8) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #40 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #41 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #42 0xb6cdf2ed in xdebug_execute (op_array=0x97d4fac) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #43 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #44 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #45 0xb6cdf2ed in xdebug_execute (op_array=0x977c9cc) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #46 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #47 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #48 0xb6cdf2ed in xdebug_execute (op_array=0x9770ebc) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #49 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #50 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #51 0xb6cdf2ed in xdebug_execute (op_array=0x8b682bc) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #52 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #53 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #54 0xb6cdf2ed in xdebug_execute (op_array=0x8b4b890) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #55 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #56 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #57 0xb6cdf2ed in xdebug_execute (op_array=0x8b43270) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #58 0xb753b37b in ?? () from /usr/lib/apache2/modules/libphp5.so
    #59 0xb752c458 in execute () from /usr/lib/apache2/modules/libphp5.so
    #60 0xb6cdf2ed in xdebug_execute (op_array=0x84027a8) at
    /tmp/pear/temp/xdebug/xdebug.c:1541
    #61 0xb750b323 in zend_execute_scripts () from
    /usr/lib/apache2/modules/libphp5.so
    #62 0xb74c11a0 in php_execute_script () from
    /usr/lib/apache2/modules/libphp5.so
    #63 0xb7591037 in ?? () from /usr/lib/apache2/modules/libphp5.so
    #64 0x080794a9 in ap_run_handler ()
    #65 0x0807c8b7 in ap_invoke_handler ()
    #66 0x08089f00 in ap_process_request ()
    #67 0x0808720b in ?? ()
    #68 0x08080aa9 in ap_run_process_connection ()
    #69 0x0808e339 in ?? ()
    #70 0x0808e5e3 in ?? ()
    #71 0x0808f3c0 in ap_mpm_run ()
    #72 0x08066dd5 in main ()

    If anybody has ideas, pls let me know.


    Bye,

    Andreas
    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
  2. Re: [midgard-user] Segfault in DM2 edit forms

    Thu July 17 2008 20:30:03 UTC
    Andreas Flack writes:
    > Hi!

    Hi!

    > On my Kubuntu 8.04 installation, I noticed segfaults in some DM2 forms.
    > Strangely enough, they only occur for some of my self-written MgdSchema
    > objects (others and built-in ones are working fine), but I can't quite
    > make out what the error could be. On a different machine (with openSUSE
    > 9.2), they work fine, so I'm a bit lost.
    >
    > The backtrace looks like this:
    >
    > Program received signal SIGSEGV, Segmentation fault.
    > [Switching to Thread 0xb77f2700 (LWP 8418)]
    > 0xb6c79a13 in set_gobject_property_from_zobject (obj_ptr=0x9b65d2c,
    > gobject=0x9a62540)
    > at
    > /home/sonic/downloads/software/Midgard_AllinOne-1.8.8/midgard-php4-1.8.8/midgard.c:627
    >
    > 627 if (propname && (*property)->refcount) {

    Did you test direct update/create/get on this objects?

    > If anybody has ideas, pls let me know.

    I would need MgdSchema and table schema ( description ) for this class.

    Piotras
    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
  3. Re: [midgard-user] Segfault in DM2 edit forms

    Thu July 17 2008 21:00:03 UTC
    Piotr Pokora schrieb:
    > Andreas Flack writes:
    >> Hi!
    >
    > Hi!
    >
    >> On my Kubuntu 8.04 installation, I noticed segfaults in some DM2 forms.
    >> Strangely enough, they only occur for some of my self-written MgdSchema
    >> objects (others and built-in ones are working fine), but I can't quite
    >> make out what the error could be. On a different machine (with openSUSE
    >> 9.2), they work fine, so I'm a bit lost.
    >>
    >> The backtrace looks like this:
    >>
    >> Program received signal SIGSEGV, Segmentation fault.
    >> [Switching to Thread 0xb77f2700 (LWP 8418)]
    >> 0xb6c79a13 in set_gobject_property_from_zobject (obj_ptr=0x9b65d2c,
    >> gobject=0x9a62540)
    >> at
    >> /home/sonic/downloads/software/Midgard_AllinOne-1.8.8/midgard-php4-1.8.8/midgard.c:627
    >>
    >> 627 if (propname && (*property)->refcount) {
    >
    > Did you test direct update/create/get on this objects?

    I tried update() with the DBA object and it produces the same backtrace.
    update() on the Midgard object is working, however.

    >
    >> If anybody has ideas, pls let me know.
    >
    > I would need MgdSchema and table schema ( description ) for this class.

    I put the files here:

    http://www.contentcontrol-berlin.de/mgdschema.xml

    http://www.contentcontrol-berlin.de/de_ccb_activities_activity_db.sql
    http://www.contentcontrol-berlin.de/de_ccb_activities_invoice_db.sql

    >
    > Piotras
    > _______________________________________________
    > user mailing list
    > user@lists.midgard-project.org
    > http://lists.midgard-project.org/mailman/listinfo/user

    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
Designed by Nemein, hosted by Anykey