We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

MySQL - mysqld got signal 4


bob123
18-06-2008, 12:19
1. Sprobuj skompilowac bez optymalizacji i flag.
2. Mozesz zainstalowac mysql z galezi testowej.
3. Podepnij sie pod:
http://bugs.gentoo.org/show_bug.cgi?id=177128

marcin_chylek
18-06-2008, 11:45
Witam,

Po zainstalowaniu wersji mysql 5.0.54 - System Gentoo 2007 (64 bit)
/tmp - ustawione na 777, po uruchomieniu uslugi mysql dostaje blad:

/var/log/messages

signal 4 sent to /usr/sbin/mysqld[mysqld:19363] uid/euid:60/60 gid/egid:60/60, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0

/var/log/mysql/mysqld.err

080618 11:45:04 - mysqld got signal 4;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=0
read_buffer_size=262144
max_used_connections=0
max_connections=100
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 76800 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=(nil)
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
frame pointer is NULL, did you compile with
-fomit-frame-pointer? Aborting backtrace!
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.

Problem tylko pojawia sie na serwerze z CPU

cat /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Celeron(R) CPU 2.66GHz
stepping : 9
cpu MHz : 2659.996
cache size : 256 KB
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc up pebs bts sync_rdtsc pni monitor ds_cpl tm2 cid cx16 xtpr lahf_lm
bogomips : 5324.46
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:


Znalazl ktos rozwiazanie tego problemu??

Jesli ustawie chmod 666 /tmp to serwer sie uruchamia ale mysql nie moze zapisywac plikow tymczasowych.