Bug 136965

Summary: converters/php5-recode sigsegv
Product: Ports & Packages Reporter: Roman Melnikov <tot>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Roman Melnikov 2009-07-21 18:00:18 UTC
sunfire# php
Segmentation fault (core dumped)

sunfire# gdb php
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)...
(gdb) run
Starting program: /dist/local/amd64=FreeBSD_7.2/bin/php 
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New LWP 100077]
[New Thread 0x8012cf0b0 (LWP 100077)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x8012cf0b0 (LWP 100077)]
0x0000000806b20d72 in hash_lookup (hashtab=0x809e08560, key=0x7fffffffe4a0 "8\b\b")
    at misc.c:349
349     misc.c: No such file or directory.
        in misc.c

How-To-Repeat: php5 install from ports with default configuration , and this what I get ( sigsegv )
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2009-07-21 19:48:06 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-ports-bugs

Assume this is a ports bug at least initially. 

To submitter: can you explain how you ended up with things like this? 
Is the system a fresh install of 7.2, or is it an upgrade from a 
previous version (if so, how was it upgraded, and what version from?)
Comment 2 Roman Melnikov 2009-07-21 20:20:09 UTC
In addition to sigsegv. In more close look in gdb, I find that php get
sigsegv from php5-recode, so when I deinstall php5-recode, php start work
normally.

On Tue, Jul 21, 2009 at 20:00, <FreeBSD-gnats-submit@freebsd.org> wrote:

> Thank you very much for your problem report.
> It has the internal identification `amd64/136965'.
> The individual assigned to look at your
> report is: freebsd-amd64.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=136965
>
> >Category:       amd64
> >Responsible:    freebsd-amd64
> >Synopsis:       php5 sigsegv
> >Arrival-Date:   Tue Jul 21 17:00:18 UTC 2009
>



-- 

Ted Turner <http://www.brainyquote.com/quotes/authors/t/ted_turner.html>  -
"Sports is like a war without the killing."
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2009-07-21 21:10:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 4 Alex Dupre freebsd_committer freebsd_triage 2009-07-22 06:40:08 UTC
State Changed
From-To: open->closed

Have you read http://it.php.net/manual/en/recode.installation.php ?