Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187513 - dev-lang/php session_start() segfault
Summary: dev-lang/php session_start() segfault
Status: RESOLVED DUPLICATE of bug 187120
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-02 15:06 UTC by jc
Modified: 2007-08-02 15:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jc 2007-08-02 15:06:10 UTC
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<---
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-02 15:07:34 UTC

*** This bug has been marked as a duplicate of bug 187120 ***