[OpenSER-Users] SIGILL when starting openser
Christian Koch
chri.koch.vier at googlemail.com
Wed Apr 23 13:42:02 CEST 2008
Hi,
when starting openser 1.3.1 it doesn't really start, but stops after
processing a SIGILL. When perfoming
strace -f /usr/local/sbin/openser
I get the following output (these are only the last few lines):
time([1208951399]) = 1208951399
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
send(3, "<143>Apr 23 13:49:59 /usr/local/"..., 147, MSG_NOSIGNAL) = 147
--- SIGILL (Illegal instruction) @ 0 (0) ---
Process 12746 detached
I've compiled openser from source on the same machine. When starting
openser with -V everything works just fine. Output:
version: openser 1.3.1-notls (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST,
SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN
16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: unknown
@(#) $Id: main.c 3590 2008-01-28 17:46:56Z bogdan_iancu $
main.c compiled on 10:47:24 Apr 23 2008 with gcc 3.4.5
So I guessed the problem could occur inside a module. I removed auth.so
and auth_db.so from my config file, but openser still doesn't start.
But, it doesn't receive a SIGILL anymore, but SIGTERM. Output from strace:
time([1208951661]) = 1208951661
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
send(3, "<139>Apr 23 13:54:21 /usr/local/"..., 103, MSG_NOSIGNAL) = 103
kill(0, SIGTERM) = 0
--- SIGTERM (Terminated) @ 0 (0) ---
sigreturn() = ? (mask now [])
time([1208951661]) = 1208951661
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
[...]
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
send(3, "<143>Apr 23 13:54:21 /usr/local/"..., 113, MSG_NOSIGNAL) = 113
munmap(0xb5f58000, 33554432) = 0
exit_group(-1) = ?
Process 12752 detached
Any ideas how to fix this problem?
Thx,
Christian
More information about the sr-users
mailing list