LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-27-2002, 02:16 PM   #1
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
MySQL seg fault using TCP connection


I am running a source installation of MySQL 3.23.54a. The server
segfaults whenever it receives an incoming TCP connection but
otherwise works OK on Unix sockets. Has anyone else had a
similar experience or know how to fix this?

My setup....

PIII 500 Mhz, 128 MB RAM, 3 GB HDD

Kernel : 2.4.2-2 (i686, RH 7.1 stock kernel)
libc : glibc-2.2-93
gcc : 2.96

I compiled MySQL using the following settings....

CFLAGS=-O3 -mcpu=i586
CXXFLAGS=-O3 -mcpu=i586 -felide-constructors -fno-exceptions -fno-rtti
CXX=gcc
configure --prefix=/usr/local/opt/mysql --sysconfdir=/etc --localstatedir=/var --program-prefix="" --without-debug i586-pc-linux-gnu
 
Old 12-27-2002, 04:15 PM   #2
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
Had the same problem with Redhat 7.2 after running up2date and updating glibc this is the fix off of the redhats mailing list. Had to put this in my.cnf. I dont know if it will work for you since you are running different versions, but if you want to try it

set-variable=max_allowed_packet=16M
set-variable=thread_stack=1M
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C seg fault drigz Programming 5 10-01-2004 04:35 PM
ut2004 seg fault dopefish Linux - Games 3 04-11-2004 03:44 AM
MySQL connection over TCP/IP fails Rukawa Linux - Software 4 11-30-2003 12:30 AM
VIM via remote SSH connection causes seg fault nkendrick Linux - Software 1 11-08-2003 07:57 AM
gnome_app_create_menus seg fault in RH 7.3 Castro Programming 0 05-30-2003 09:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration