From: Lionel B. <lio...@bo...> - 2008-07-11 12:22:56
|
Marco Favero a écrit, le 07/11/2008 01:43 PM : > Hi all, > I run daemon sqlgrey 1.6.8 with Mysql DBMS. DB access is "sync", not > "async". > > I have just installed it in test environment with no connections: > > Red Hat Enterprise Linux Server release 5.2 > Linux vm-greylist1 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 > x86_64 x86_64 x86_64 GNU/Linux > > I start sqlgrey and it works fine. I make SMTP session: it's ok, like > expected. > After a day, I made another smtp session: sqlgrey segfault! This is the > only log written: > > kernel:<6>sqlgrey[9861]: segfault at 0000000000000008 rip > 0000003d2ca489d5 rsp 00007fff031e68e0 error 4 > > Could you help me? > It's most probably hardware related. Segfaults happen when a process tries to access memory at an address it hasn't access too. SQLgrey is coded in Perl and doesn't deal with memory access at all leaving it to the Perl interpreter. So there's really two possible sources : - Buggy perl interpreter or native library (the DBD MySQL driver for example is probably coded with both Perl and C to interface with the MySQL client library), - Dodgy hardware. As you are the first to report such a problem it's far more likely that it's a problem specific to your installation : RedHat being used widely the only remaining possibility is the hardware. Running memtest86+ might confirm the problem. Lionel |