# \[resolu\]Activer le core dump!

**URL:** <https://www.debian-fr.org/t/resolu-activer-le-core-dump/28554>\
**Category:** Programmation\
**Created:** [Février 20, 2016, 11:24 UTC](https://www.debian-fr.org/t/resolu-activer-le-core-dump/28554 "2016-02-20T23:24:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nunu](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/n/e5b9ba/32.png) [@Nunu](https://www.debian-fr.org/u/Nunu)\
**Post date:** [Février 20, 2016, 11:24 UTC](https://www.debian-fr.org/t/resolu-activer-le-core-dump/28554/1 "2016-02-20T23:24:25Z")

</div>

[Edit: J’ai mis ce post dans programmation, car il y avait un post similaire ici, et que le but, c’est du debug de pgm, mais on peut le déplacer si besoin]

Bonjour,

J’ai depuis qq jours des Segmentation Fault que m’envoie Apache.

Le problème c’est que je n’arrive pas à activer le core dump pour chercher la source de l’erreur.

J’aurais grand besoin d’un coup de pouce. Voici qq infos qui pourrais aider :

> [@](#):
>
> # ulimit -a
> 
> core file size (blocks, -c) unlimited  
> […]
> 
> # uname -a
> 
> Linux \ ***..** 2.6.34-xxxx-std-ipv4-64 #2 SMP Thu Jun 17 07:14:52 UTC 2010 x86\_64 GNU/Linux
> 
> # cat /proc/sys/fs/suid\_dumpable
> 
> 2
> 
> # cat /etc/security/limits.conf
> 
> […]
> 
> - hard core unlimited  
> […]
> 
> # cat /etc/apache2/envvars
> 
> export APACHE\_RUN\_USER=www-data  
> export APACHE\_RUN\_GROUP=www-data  
> […]
> 
> # ls -la /tmp/apache-dump/
> 
> total 8  
> drwxrwxrwx 2 www-data www-data 4096 sep 6 14:38 .  
> drwxrwxrwt 5 root root 4096 sep 7 16:21 ..  
> -rw-r–r-- 1 www-data www-data 0 sep 6 14:38 test

Voici une erreur apache :

[quote]  
[Tue Sep 07 15:46:53 2010] [notice] child pid 12724 exit signal Segmentation fault (11), possible coredump in /tmp/apache-dump[/quote]

C’est la première fois que je ramasse des segfault, vous avez une idée ?

---

<div class="post-metadata">

**Author:** ![Nunu](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/n/e5b9ba/32.png) [@Nunu](https://www.debian-fr.org/u/Nunu)\
**Post date:** [Février 20, 2016, 11:24 UTC](https://www.debian-fr.org/t/resolu-activer-le-core-dump/28554/2 "2016-02-20T23:24:49Z")

</div>

Bonjour!

Bon, sans rien modifié, ce matin j’ai trouvé un dump dans mon dossier… Etrange, mais peu importe!

Le souci maintenant, c’est que je pensais avoir quelque chose de plus explicite que ca :

quote bt  
#0 zend\_hash\_destroy (ht=0xffffffff)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_hash.c:710  
#1 0x00007fc389931bb2 in zend\_object\_std\_dtor (object=0xaa65f0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_objects.c:41  
#2 0x00007fc389931bf9 in zend\_objects\_free\_object\_storage (object=0xaa65f0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_objects.c:122  
#3 0x00007fc389934cef in zend\_objects\_store\_free\_object\_storage (objects=0x7fc389e147c0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_objects\_API.c:89  
#4 0x00007fc38990aa2c in shutdown\_executor ()  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_execute\_API.c:299  
#5 0x00007fc389915bf2 in zend\_deactivate ()  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend.c:941  
#6 0x00007fc3898d03c2 in php\_request\_shutdown (dummy=0xffffffff)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/main/main.c:1494  
#7 0x00007fc38998ad63 in php\_handler (r=0x0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/sapi/apache2handler/sapi\_apache2.c:486  
#8 0x0000000000438f73 in ap\_run\_handler (r=0xb14f38)  
at /build/buildd-apache2\_2.2.9-10+lenny8-amd64-OpzZ7v/apache2-2.2.9/server/config.c:159  
#9 0x000000000043c53f in ap\_invoke\_handler (r=0xb14f38)  
at /build/buildd-apache2\_2.2.9-10+lenny8-amd64-OpzZ7v/apache2-2.2.9/server/config.c:373  
#10 0x000000000044970e in ap\_process\_request (r=0xb14f38)  
at /build/buildd-apache2\_2.2.9-10+lenny8-amd64-OpzZ7v/apache2-2.2.9/modules/http/http\_request.c:258  
#11 0x0000000000446838 in ap\_process\_http\_connection (c=0xae1cd8)  
at /build/buildd-apache2\_2.2.9-10+lenny8-amd64-OpzZ7v/apache2-2.2.9/modules/http/http\_core.c:190  
#12 0x0000000000440493 in ap\_run\_process\_connection (c=0xae1cd8)  
at /build/buildd-apache2\_2.2.9-10+lenny8-amd64-OpzZ7v/apache2-2.2.9/server/connection.c:43  
#13 0x000000000044dd10 in child\_main (child\_num\_arg=)  
at /build/buildd-apache2\_2.2.9-10+lenny8-amd64-OpzZ7v/apache2-2.2.9/server/mpm/prefork/prefork.c:680  
#14 0x000000000044e064 in make\_child (s=0x675968, slot=1)  
at /build/buildd-apache2\_2.2.9-10+lenny8-amd64-OpzZ7v/apache2-2.2.9/server/mpm/prefork/prefork.c:777  
#15 0x000000000044eca6 in ap\_mpm\_run (\_pconf=, plog=, s=)  
at /build/buildd-apache2\_2.2.9-10+lenny8-amd64-OpzZ7v/apache2-2.2.9/server/mpm/prefork/prefork.c:912  
#16 0x0000000000425be5 in main (argc=3, argv=0x7fffc44a2458)  
at /build/buildd-apache2\_2.2.9-10+lenny8-amd64-OpzZ7v/apache2-2.2.9/server/main.c:732  
[/quote]

Ca parle à quelqu’un ? :’(

---

<div class="post-metadata">

**Author:** ![Nunu](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/n/e5b9ba/32.png) [@Nunu](https://www.debian-fr.org/u/Nunu)\
**Post date:** [Février 20, 2016, 11:24 UTC](https://www.debian-fr.org/t/resolu-activer-le-core-dump/28554/3 "2016-02-20T23:24:50Z")

</div>

Bon en fait, le core dump que je viens de poster venait d’un CRON, executé en root.

Je viens de m’apercevoir que les core dump générés par le client était placé dans le dossier ServerRoot au lieu de celui défini par la directive CoreDumpDirectory.

Bref, voici le resultat du core dump, qui cause des segmentation fault sur une utilisation normale :

quote bt  
#0 execute (op\_array=0x164f308)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:53  
#1 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca4bc0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#2 0x00007fc389939414 in execute (op\_array=0x17c4d58)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#3 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca54a0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#4 0x00007fc389939414 in execute (op\_array=0x17c7ba8)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#5 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca5c10)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#6 0x00007fc389939414 in execute (op\_array=0x1805d08)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#7 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca6440)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#8 0x00007fc389939414 in execute (op\_array=0x1805b68)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#9 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca6870)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#10 0x00007fc389939414 in execute (op\_array=0x17da250)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#11 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca6c10)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#12 0x00007fc389939414 in execute (op\_array=0x17c4a20)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#13 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca70d0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#14 0x00007fc389939414 in execute (op\_array=0x178a668)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#15 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca7640)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#16 0x00007fc389939414 in execute (op\_array=0x17bded8)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#17 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca7c90)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#18 0x00007fc389939414 in execute (op\_array=0x165b6e0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#19 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca7fd0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#20 0x00007fc389939414 in execute (op\_array=0x17c73a0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#21 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca84f0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#22 0x00007fc389939414 in execute (op\_array=0x2638278)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#23 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca8830)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#24 0x00007fc389939414 in execute (op\_array=0x25d2418)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#25 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca8bf0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#26 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#27 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca8fb0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#28 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#29 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca9370)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#30 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#31 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca9730)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#32 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#33 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca9af0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#34 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#35 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3ca9eb0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#36 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#37 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3caa270)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#38 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#39 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3caa630)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#40 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#41 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3caa9f0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#42 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#43 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3caadb0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#44 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#45 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cab170)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#46 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#47 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cab530)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#48 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#49 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cab8f0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#50 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#51 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cabcb0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#52 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#53 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cac070)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#54 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#55 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cac430)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#56 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#57 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cac7f0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#58 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#59 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cacbb0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#60 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#61 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cacf70)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#62 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#63 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cad330)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#64 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#65 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cad6f0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#66 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#67 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cadab0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#68 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#69 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cade70)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#70 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#71 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cae230)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#72 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#73 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cae5f0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#74 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#75 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cae9b0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#76 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#77 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3caed70)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#78 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#79 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3caf130)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#80 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#81 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3caf4f0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#82 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#83 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3caf8b0)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#84 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#85 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cafc70)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
#86 0x00007fc389939414 in execute (op\_array=0x1207f40)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:92  
#87 0x00007fc38994d7ee in zend\_do\_fcall\_common\_helper\_SPEC (execute\_data=0x7fffc3cb0030)  
at /build/buildd-php5\_5.2.6.dfsg.1-1+lenny9-amd64-jKyF3P/php5-5.2.6.dfsg.1/Zend/zend\_vm\_execute.h:234  
[etc… ca va jusque #10000 et plus, je ne suis pas allé au bout!][/quote]

Y’a-t-il un moyen de trouver le code PHP qui cause cela?  
:’(

---

<div class="post-metadata">

**Author:** ![Anthropo](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/9de053/32.png) [@Anthropo](https://www.debian-fr.org/u/Anthropo)\
**Post date:** [Février 20, 2016, 11:25 UTC](https://www.debian-fr.org/t/resolu-activer-le-core-dump/28554/4 "2016-02-20T23:25:59Z")

</div>

bouge pas je vais chercher ma boule de cristal.

---

<div class="post-metadata">

**Author:** ![Nunu](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/n/e5b9ba/32.png) [@Nunu](https://www.debian-fr.org/u/Nunu)\
**Post date:** [Février 20, 2016, 11:26 UTC](https://www.debian-fr.org/t/resolu-activer-le-core-dump/28554/5 "2016-02-20T23:26:01Z")

</div>

En fait il y avait un autre moyen, un peu plus efficace que la boule de cristal!

Pour ceux qui ont le même problème, il suffit de récupérer les sources php, et de copier le fichier .gdbinit dans le répertoire courant, lancer gdb, et exécuter la commande “zbacktrace”. ça vous donnera le fichier, la fonction, et la ligne ou le segfault a eu lieu!
