Hide Forgot
Description of problem: If xdebug.trace_output_dir is set to non existent dir in zts-php, results in seg fault. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.xdebug.trace_output_dir to nonexistent directory 2. run zts-php, or php ? 3. seg fault Actual results: seg fault Expected results: Warning about xdebug configuration, dir or similar Additional info:
Sorry, I cannot reproduce. Can you please open an upstream bug on http://bugs.xdebug.org/ ?
$strace zts-php zts-app.php ... stat("OUTDIR/trace.out..xt", 0x7fff1e79ba90) = -1 ENOENT (No such file or directory) open("OUTDIR/trace.out..xt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ENOENT (No such file or directory) --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} --- +++ killed by SIGSEGV (core dumped) +++ $ mkdir -p OUTDIR Run without problems # chown anotheruser:anotheruser OUTDIR $strace zts-php zts-app.php +++ killed by SIGSEGV (core dumped) +++
This has an Xdebug issue at http://bugs.xdebug.org/view.php?id=1215, which is resolved for the upcoming 2.4.0. You can consider this as "closed".
Thanks Derick As this bug doesn't seems critical, because of a result of a miss-configuration, I close it, the upstream fix will be part of next build.