Ticket #1822 (new defect)

Opened 5 years ago

Last modified 4 years ago

Segfault when importing subscribers on PHP5

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

Description

When importing a rather large CSV file of subscribers in org.openpsa.directmarketing on PHP 5.3, I get the following error:

(process:22096): midgard-core-DEBUG: query=SELECT pageelement.name,pageelement_i.value FROM pageelement,pageelement_i,cache WHERE pageelement.id=pageelement_i.sid AND pageelement_i.lang=0 AND cache.page=305 AND cache.type=0 AND cache.id=pageelement.id AND pageelement.sitegroup IN (0, 1)  AND pageelement.metadata_deleted=0 

Program received signal SIGSEGV, Segmentation fault.
0xb78f74c2 in ?? () from /usr/lib/apache2/modules/libphp5.so
(gdb) backtrace
#0  0xb78f74c2 in ?? () from /usr/lib/apache2/modules/libphp5.so
#1  0xb78f78cd in ?? () from /usr/lib/apache2/modules/libphp5.so
#2  0xb78b72b8 in _efree () from /usr/lib/apache2/modules/libphp5.so
#3  0xb78e29aa in zend_hash_destroy () from /usr/lib/apache2/modules/libphp5.so
#4  0xb78d5686 in _zval_dtor_func () from /usr/lib/apache2/modules/libphp5.so
#5  0xb78c8e7d in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp5.so
#6  0xb78e25fa in ?? () from /usr/lib/apache2/modules/libphp5.so
#7  0xb78e2897 in zend_hash_graceful_reverse_destroy () from /usr/lib/apache2/modules/libphp5.so
#8  0xb78c9443 in ?? () from /usr/lib/apache2/modules/libphp5.so
#9  0xb78d639f in ?? () from /usr/lib/apache2/modules/libphp5.so
#10 0xb787ad58 in php_request_shutdown () from /usr/lib/apache2/modules/libphp5.so
#11 0xb7967b1c in ?? () from /usr/lib/apache2/modules/libphp5.so
#12 0x00148031 in ap_run_handler (r=0x88ae88) at /build/buildd/apache2-2.2.14/server/config.c:159
#13 0x0014be17 in ap_invoke_handler (r=0x88ae88) at /build/buildd/apache2-2.2.14/server/config.c:373
#14 0x0015b728 in ap_process_request (r=0x88ae88)
    at /build/buildd/apache2-2.2.14/modules/http/http_request.c:282
#15 0x00158258 in ap_process_http_connection (c=0x886dc0)
    at /build/buildd/apache2-2.2.14/modules/http/http_core.c:190
#16 0x001508a1 in ap_run_process_connection (c=0x886dc0)
    at /build/buildd/apache2-2.2.14/server/connection.c:43
#17 0x00160bea in child_main (child_num_arg=<value optimized out>)
    at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:662
#18 0x00160f21 in make_child (s=<value optimized out>, slot=0)
    at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:702
#19 0x001616af in ap_mpm_run (_pconf=0x17b0a8, plog=0x1ad170, s=0x17f8e8)
    at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:978
#20 0x00132a92 in main (argc=2, argv=0xbffff834) at /build/buildd/apache2-2.2.14/server/main.c:742

Kubuntu 10.04 with self-compiled 8.09.99 midgard from today's SVN

Change History

05/22/10 13:19:41 changed by flack

Update: It seems that this only happens when selecting specific mappings (especially to organization fields)

08/02/10 17:06:36 changed by flack

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