Loading...
 
Skip to main content

[tikiwiki4] Tikiwiki-importer causes apache segfault on Debian Etch/lenny 64bit

Status
Closed
Subject
[tikiwiki4] Tikiwiki-importer causes apache segfault on Debian Etch/lenny 64bit
Version
4.x
Category
  • Error
Feature
Import-Export
Resolution status
Invalid
Submitted by
reaktor
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Uploading a Mediawiki-XML-Dump created by Mediwikis dumpBackup.php leads to an empty page and an apache segfault on debian etch 64bit.

From /var/log/messages

Copy to clipboard
apache2[3658]: segfault at 7fff3f74cef8 ip 7f3837b9d2f7 sp 7fff3f74ce00 error 6 in libpcre.so.3.12.0[7f3837b8e000+25000]


File is beeing uploaded correctly in /tmp, upload to File Galleries works correctly.
changed the following values in

Copy to clipboard
/etc/php5/apache2/php.ini post_max_size=128M upload_max_filesize = 128M max_execution_time = 600 max_input_time = 600 memory_limit = 32M (also tried 64M,128M,256M)

Copy to clipboard
/etc/apache2/apache2.conf Timeout 600


Running Debian Etch amd64 all packages actual version of the distri.

Ways to reproduce:

1.) create a XML-Dump from Mediawiki via
Copy to clipboard
php dumpBackup.php --full --contents > dump.xml

2.) use tikiwiki-importer via ->admin->tikiwiki-importer
3.) Upload in 1. created xml-dump

Neither changing export settings of dumpBackup.php --full or --current with or without --content nor changing import options in tikiwiki-importer changes outcome.


Addition:
-Upgraded to tikiwiki4, upgraded to debian stable (lenny) as suggested
Problem still exists:

Copy to clipboard
apache2[2231]: segfault at 7fff2184eec0 ip 7f9019c1bf6b sp 7fff2184edc0 error 6 in libpcre.so.3.12.1[7f9019c0b000+28000]
Solution

PHP applications shouldn't cause apache2 segfaults. This looks like a libpcre or apache2 bug. I suggest you upgrade to Debian stable.


> Does not help!

Workaround
Importance
3
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2853
Created
Wednesday 11 November, 2009 10:34:50 UTC
by reaktor
LastModif
Monday 01 June, 2026 15:56:16 UTC


Show PHP error messages