Bug #15784
closedSInce RC1: segmentation fault (when using EM?)
Added by Thomas Hempel over 18 years ago. Updated over 18 years ago.
0%
Description
On one of my TYPO3 systems I have the problem that the extension manager doesn't appear when I click on the Icon in the module frame.
The server provides an empty file for download instead of executing the index.php.
A look at the error log of the webserver show up the following error:
[Wed Mar 8 12:29:21 2006] [notice] child pid 21175 exit signal Segmentation fault (11)
The system is:
Debian woody with
Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.1.2 DAV/1.0.3 configured -- resuming normal operations
(issue imported from #M2795)
Updated by Thomas Hempel over 18 years ago
On my dev system with debian unstable (PHP 4.2.1) it works as aspected.
Greets,
Thomas
Updated by Thomas Hempel over 18 years ago
Here is another hint from Martin Madsen:
"I had exactly the same problem. It has to do with the underlying system.
I'm running TYPO3 on Windows with Apache. Apache crashed each time I tried to enter the Extension Manager, so I tried different versions of Apache... Didn't help. Then I tried different versions of MySQL... Didn't help.
Almost giving up, I tried downgrading the PHP version... and it worked!!! I downgraded the php-version from the newest version of 4.4 to the newest version of 4.3, which currently is 4.3.11. I have no idea why it helped, but something in my version of PHP 4.4 apparently went wrong when loading the Extension Manager."
The comment is from my website http://www.typo3-unleashed.net/singleentry.html?&tx_ttnews[tt_news]=389&tx_ttnews[backPid]=24&cHash=d73f85af6f
Greets,
Thomas
Updated by Michael Stucki over 18 years ago
Sounds like an incompatibility with a modern PHP 4.4 version. Seems important to me.
Updated by Thomas Hempel over 18 years ago
Obvisiously not only with modern PHP versions because it don't work on older Versions (4.1.1) also!?
Greets,
Thomas
Updated by Karsten Dambekalns over 18 years ago
Ok, here we go: to track this down, I definitely need more input.
So it is not working for you on PHP
4.1.2
4.1.1
4.4.?
Is the reverse true, is it really only working on 4.3.x? Could more people check this?
Aside from the segfault, why is it not working with 4.1.1? Any error messages? Or the same segfault?
Updated by Volker R¶hl over 18 years ago
I have the same problem with:
OTHER: TYPO3_VERSION: 4.0rc1
OTHER: PHP_VERSION : 4.2.2
SERVER: SERVER_SOFTW: Apache/1.3.26 (Linux/SuSE) PHP/4.2.2 mod_perl/1.27
and get this in error.log
[Tue Mar 14 07:06:23 2006] [notice] child pid 9404 exit signal Segmentation fault (11)
Updated by J¶rg Wagner over 18 years ago
Just in case there could be a connection...
I just filed another bug report concerning Apache crashes under Typo3 RC1:
http://bugs.typo3.org/view.php?id=2947
That one happens under completely different circumstances though.
I takes place when using the clipboard functions out of TV's Page module.
I am reading a lot about Apache crashes since RC1. Could there be a common problem causing them?
Updated by J¶rg Wagner over 18 years ago
Ok, got it - at least for my installation:
There is a bug in PHP up to 4.4.2 that crashes Apache with file related PHP function calls used on HTTP urls like...
file_get_contents($url)
file($url)
fopen($url, 'rb')
See http://bugs.php.net/bug.php?id=36017 for details.
I installed PHP 4.4.3dev and the problem vanished instantly.
Snapshots of PHP dev versions are packaged every three hours:
http://snaps.php.net/
Hope this is the general solution for this problem and not only for my system (allthough I hardly recommend installing dev versions on a production system, as I did now!)...
Cheers,
Jörg.
Updated by Michael Stucki over 18 years ago
Seems like we are aware of the problem now, but cannot fix it. I think Karsten can just close it now.
Updated by Volker R¶hl over 18 years ago
I'm using two version from typo3 on the same machine with same mysql and php- version. In Typo3 3.8.0-dev all works fine, in Typo3 4.0rc2 (before 4.0rc1) i can't open the EM and get the described error ?!
Volker
Updated by J¶rg Wagner over 18 years ago
Smells as if we have only one symptom here but multiple causes!
Damn - that wouldn't make things easier.
Updated by Karsten Dambekalns over 18 years ago
After reading the comments and the entry for the mentioned PHP bug I tend to believe this might be the cause. Now here are two questions:
Those of you who experience this error, do you use the Apache2 with the worker model (i.e. multithreaded)? Does it go away when upgrading PHP?
Updated by Volker R¶hl over 18 years ago
After update to PHP 4.3.4 the EM appear!
Thanks, Volker
Updated by J¶rg Wagner over 18 years ago
Hi Volker,
did you really update to 4.3.4 or to 4.4.3dev?!?
Updated by Volker R¶hl over 18 years ago
Yes, we need also pdf- support for other php- projects on this system and have a self-compiled php- version running. Here are the recent DEBUG information from Typo3:
OTHER: TYPO3_VERSION: 4.0rc2
OTHER: PHP_VERSION : 4.3.4
Here is the configure command:
./configure' '--prefix=/usr/share' '--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--with-bz2' '--with-ftp' '--with-gdbm' '--with-gettext' '--with-gmp' '--with-iodbc' '--with-ldap=yes' '--with-mcal=/usr' '--with-mcrypt' '--with-mysql=/usr' '--with-ndbm' '--with-pgsql=/usr' '--with-snmp' '--with-openssl' '--with-mm' '--with-apxs=/usr/sbin/apxs' '--with-freetype-dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' '--with-curl' '--with-t1lib' '--with-ttf' '--with-gd' '--with-java' '--with-png-dir=/usr' '--with-jpeg-dir=/usr' '--with-tiff-dir=/usr' '--with-zlib-dir=/usr' '--with-zlib=yes' '--with-cyrus' '--with-pdflib=/usr/local/
Volker