Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: php segmentation fault
PostPosted: Sun Mar 29, 2009 1:03 pm 
Offline
Newbie

Joined: Sun Mar 29, 2009 1:00 pm
Posts: 3
I m getting segmentation faults from php sometimes and I have traced them back to the mysql.so and mysqli.so php extensions. This is on Debian Lenny.

My php version is:
PHP 5.2.6-1+lenny2 with Suhosin-Patch 0.9.6.2 (cli) (built: Jan 26 2009 22:41:04)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Segmentation fault

As you can see it even seg faults on a php -v.

I asked about this in the ISPConfig forums (as that is what I am running on my linode) and it was suggested that I check the hardware (ie memcheck), but that is a bit hard to do since it is a VPS.

Any ideas?

Thank you for any help you can provide.

Scott Blaydes


Top
   
 Post subject:
PostPosted: Sun Mar 29, 2009 2:40 pm 
Offline
Senior Member
User avatar

Joined: Sat Oct 16, 2004 11:13 am
Posts: 176
Are you using any sort of PHP cache? Such as eAccelerator, XCache or APC?

Random segmentation faults are characteristic of all three systems.


Top
   
 Post subject:
PostPosted: Sun Mar 29, 2009 3:37 pm 
Offline
Senior Member

Joined: Sun Nov 14, 2004 6:37 pm
Posts: 138
Website: http://oldos.org
WLM: jasonlfaulkner@hotmail.com
Yahoo Messenger: jasonfncsu
AOL: jaylfaulkner
Location: NC, USA
I've seen that if you've used something like pecl to recompile php-mysql[i], and it got compiled against an older version of the mysql libs

_________________
Jay Faulkner
http://oldos.org


Top
   
 Post subject:
PostPosted: Sun Mar 29, 2009 6:21 pm 
Offline
Newbie

Joined: Sun Mar 29, 2009 1:00 pm
Posts: 3
No, I am not using any type of cache.

I didn't compile the PHP or MySQL, they were installed via "apt-get install".

Any other ideas?

Thank you.


Top
   
 Post subject:
PostPosted: Mon Mar 30, 2009 11:54 am 
Offline
Senior Member

Joined: Sun Nov 30, 2008 3:40 pm
Posts: 109
Can you provide a backtrace?


Top
   
 Post subject:
PostPosted: Tue Mar 31, 2009 12:04 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Also, which kernel version?


Top
   
 Post subject:
PostPosted: Fri Aug 28, 2009 9:41 am 
Offline

Joined: Fri Aug 28, 2009 9:30 am
Posts: 1
I had same problem a week ago, (debian 5.0 w/ xcache)
I removed gd from php-cli, now it is ok.

hope it helps someone.

Rgrds.
S


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group