News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Geen idee waarom steeds core dump bestanden aangemaakt worden

Started by jacbier, March 12, 2017, 08:37:17 AM

Previous topic - Next topic

jacbier

Al ruim een week heb ik last van het aanhoudend aanmaken van core dump bestanden ter grootte van 10 MB die geplaatst worden in de rootmap van het forum. Het probleem is gaan ontstaan op vrijdag 3 maart. Het eerste core bestand werd aangemaakt om 16:14 uur. Ik was die dat pas om 17:30 online. Vooraf zijn door mij geen wijzigingen doorgevoerd. Ik heb daarom geen idee waardoor er steeds sprake is van een PHP crash.

GNU gdb geeft de volgende melding
Core was generated by `********/forum/index.php'.
Program terminated with signal 7, Bus error.
#0 0x00000000007a57d4 in ?? ()


Vervolgens heeft de hoster PHP een core laten maken met debuginfo. Dat gaf het volgende:

Program terminated with signal 7, Bus error.
#0 0x000000000098a9ff in lex_scan (zendlval=0x7ffcf5c044d8) at Zend/zend_language_scanner.l:2005
2005 if (*YYCURSOR == '\'') {
Missing separate debuginfos, use: debuginfo-install MySQL56-shared-5.6.35-1.cp1156.x86_64 aspell-0.60.6-12.el6.x86_64 audit-libs-2.4.5-3.el6.x86_64 bzip2-libs-1.0.5-7.el6_0.x86_64 freetype-2.3.11-17.el6.x86_64 glibc-2.12-1.192.el6.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-57.el6.x86_64 libX11-1.6.3-2.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libXpm-3.5.10-2.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libgcc-4.4.7-17.el6.x86_64 libidn-1.18-2.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 libpng-1.2.49-2.el6_7.x86_64 libselinux-2.0.94-7.el6.x86_64 libstdc++-4.4.7-17.el6.x86_64 libtool-ltdl-2.2.6-15.5.el6.x86_64 libxcb-1.11-2.el6.x86_64 nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 openssl-1.0.1e-48.el6_8.4.x86_64 pam-1.1.1-22.el6.x86_64 zlib-1.2.3-29.el6.x86_64
#0 0x000000000098a9ff in lex_scan (zendlval=0x7ffcf5c044d8) at Zend/zend_language_scanner.l:2005
#1 0x00000000009c5d01 in zendlex (zendlval=0x7ffcf5c044d0) at /usr/src/php-5.4.45/Zend/zend_compile.c:6545
#2 0x000000000097c0c3 in zendparse () at /usr/src/php-5.4.45/Zend/zend_language_parser.c:3471
#3 0x000000000098425c in compile_file (file_handle=0x7ffcf5c048d0, type=2) at Zend/zend_language_scanner.l:585
#4 0x000000000072986b in phar_compile_file (file_handle=0x7ffcf5c048d0, type=2) at /usr/src/php-5.4.45/ext/phar/phar.c:3414
#5 0x000000000098440f in compile_filename (type=2, filename=0x7fe8fffd48a8) at Zend/zend_language_scanner.l:628
#6 0x0000000000a2dc02 in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x7fe8fffd3e08)
at /usr/src/php-5.4.45/Zend/zend_vm_execute.h:7039
#7 0x0000000000a1e759 in execute (op_array=0x2601dc0) at /usr/src/php-5.4.45/Zend/zend_vm_execute.h:410
#8 0x00000000009e0160 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/php-5.4.45/Zend/zend.c:1329
#9 0x000000000094b1a5 in php_execute_script (primary_file=0x7ffcf5c070a0) at /usr/src/php-5.4.45/main/main.c:2502
#10 0x0000000000a908cd in main (argc=2, argv=0x7ffcf5c07318) at /usr/src/php-5.4.45/sapi/cgi/cgi_main.c:2454

Iemand enig idee wat er mis is en wat gedaan moet worden om dit probleem op te lossen.

NanoSector

Ik zou eens in je error log kijken. Baat dit niet, dan zul je naar je host moeten gaan.

Core dumps zijn bestanden die aangemaakt worden wanneer een programma crasht. In dit geval lijkt het alsof PHP crasht.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

jacbier

Ja het is bekend dat deze bestanden aangemaakt worden als PHP crasht. We hebben echter geen idee waardoor.

De error log heb ik ook bekeken.

Daar zie ik:

[11-Mar-2017 10:00:58 Europe/Brussels] PHP Warning:  PHP Startup: PDO: Unable to initialize module
Module compiled with build ID=API20100525,NTS
PHP    compiled with build ID=API20100525,NTS,debug
These options need to match
in Unknown on line 0
[11-Mar-2017 10:00:58 Europe/Brussels] PHP Warning:  PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with build ID=API20100525,NTS
PHP    compiled with build ID=API20100525,NTS,debug
These options need to match
in Unknown on line 0
[11-Mar-2017 10:00:58 Europe/Brussels] PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with build ID=API20100525,NTS
PHP    compiled with build ID=API20100525,NTS,debug
These options need to match
in Unknown on line 0
[11-Mar-2017 10:00:58 Europe/Brussels] PHP Warning:  PHP Startup: PDO: Unable to initialize module
Module compiled with build ID=API20100525,NTS
PHP    compiled with build ID=API20100525,NTS,debug
These options need to match
in Unknown on line 0
[11-Mar-2017 10:00:58 Europe/Brussels] PHP Warning:  PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with build ID=API20100525,NTS
PHP    compiled with build ID=API20100525,NTS,debug
These options need to match
in Unknown on line 0
[11-Mar-2017 10:00:58 Europe/Brussels] PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with build ID=API20100525,NTS
PHP    compiled with build ID=API20100525,NTS,debug
These options need to match
in Unknown on line 0

Xarkurai

Hebben ze iets veranderd aan je php versie? Of aan de modules?
Ook: heb je zelf controle over je php of niet (eigen server of hosted)?
Useful paid mod: Badge Awards - Award members for actions

jacbier

De site wordt gehost.

Ik heb begrepen dat men niets heeft veranderd aan de PHP versie. Het een een ander maakt het ook onbegrijpelijk wat er gebeurt.

Xarkurai

Dit lijkt toch op een probleem van je php, voornamelijk omdat je errors refereren naar php modules.

php 5.4 is eveneens niet de laatste versie in deze rij, php 5.6 wel.
Wanneer de modules zich op een ander versie bevinden dan de php versie zelf, kan het wel mogelijk zijn dat er errors ontstaan.
Ik zou me toch eens goed bevragen bij je host, deze is ergens verantwoordelijk voor deze foutmeldingen.

Ik raad je aan een backup te nemen van je database en forum vooraleer je contact legt.
Ze zouden misschien eens een fresh install kunnen doen van je php.
Useful paid mod: Badge Awards - Award members for actions

Advertisement: