This is the backtrace that suggests me it's from mysqlclient:
Program received signal SIGSEGV, Segmentation fault.
zval_mark_grey (pz=0x13539974) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:356
warning: Source file is more recent than executable.
356 p =
Also in dmesg i get these logs:
[341181.619018] php[10488]: segfault at ca88972a ip 08328de7 sp bfaf5c50 error
5 in php5[8048000+6d9000]
[341509.211242] php[11579]: segfault at 69396420 ip 08328ef9 sp bfcbada0 error
4 in php5[8048000+6d9000]
[341653.136945] php[11991]: segfault at 486dc821 ip
I though it was libmysqlclient or mysql related since it dies when
executing a query, but randomly, no specific query:
With strace:
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(4, \234\1\0\0\3SELECT TABLE.FKTABLEID..., 416) = 416
read(4,
Making more tests, some times the script finishes but also segfaults
when exiting with this backtrace:
Program received signal SIGSEGV, Segmentation fault.
zend_mm_remove_from_free_list (heap=0x, mm_block=0xb0908bc) at
/build/buildd/php5-5.3.2/Zend/zend_alloc_canary.c:889
889
A new backtrace with more information:
Program received signal SIGSEGV, Segmentation fault.
zval_mark_grey (pz=0x13539974) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:356
356 p = Z_ARRVAL_P(pz)-pListHead;
(gdb) bt
#0 zval_mark_grey (pz=0x13539974) at
I cant include the script at this time. Will try to make the same
functionality and test it.
--
php5 cli segmentation fault when executing script
https://bugs.launchpad.net/bugs/586898
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5
This still happens to me on Lucid 64 Bits. Will try with lucid 32 bits
and let you know
--
php-cli segmentation fault with mysql extension
https://bugs.launchpad.net/bugs/343870
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in
OK, tested on Lucid 32 bits, it still happens, segfaults while executing
a database query...
--
php-cli segmentation fault with mysql extension
https://bugs.launchpad.net/bugs/343870
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in
Here is attached the gdb session:
Program received signal SIGSEGV, Segmentation fault.
0x08329955 in gc_zval_possible_root (zv=0xa56a6e4) at
/build/buildd/php5-5.3.2/Zend/zend_gc.c:143
143 /build/buildd/php5-5.3.2/Zend/zend_gc.c: No such file or directory.
in
Kir, this happens when mysql is activated and at the time I issue a sql
query. If i disable mysql, (fetching everything from memcache) this does
not happens, only happens on php-cli not on the webservers not other
place.
--
php-cli segmentation fault with mysql extension
Public bug reported:
Binary package hint: php5-cli
Description:Ubuntu 10.04 LTS
Release:10.04
php5-cli:
Installed: 5.3.2-1ubuntu4.2
Candidate: 5.3.2-1ubuntu4.2
Version table:
*** 5.3.2-1ubuntu4.2 0
500 http://es.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
Public bug reported:
Binary package hint: php5
Executing php5-cgi with spawn-fcgi using nginx produces this error.
ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: php5-cgi 5.3.2-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-17-generic
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/43418040/Dependencies.txt
** Attachment added: Disassembly.txt
http://launchpadlibrarian.net/43418041/Disassembly.txt
** Attachment added: PHPConf.etc.php5.apache2.php.ini.txt
Again in php5-cli (5.3.2-1ubuntu3) readline/libedit support was removed.
--
php5-cli in lucid-beta1 missing readline/libedit support
https://bugs.launchpad.net/bugs/543212
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
14 matches
Mail list logo