| Summary: | dev-lang/php session_start() segfault | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | jc <jc> |
| Component: | [OLD] Development | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | critical | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** This bug has been marked as a duplicate of bug 187120 *** |
when using session_start, php segfault (either in cli or in mod_php). Reproducible: Always Steps to Reproduce: 1. echo '<?php session_start() ?>' > test_session.php 2. php test_session.php Actual Results: php segfault, and an empty sess_ file created in session.save_path (usualy /tmp) Expected Results: a created session with datas in the sess_file last lines of a strace : --->8--- gettimeofday({1186064061, 960314}, NULL) = 0 gettimeofday({1186064061, 960342}, NULL) = 0 open("/tmp/sess_c9f8dd4007e743cfa29265a1c294d0f0", O_RDWR|O_CREAT, 0600) = 3 flock(3, LOCK_EX) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ ---8<---