I'm running CentOS 4.3 x86_64 on a dual opteron 246 system with 1 gig of ram, kernel 2.6.9-34.ELsmp.
Ser runs fine with quite a few modules, but when I enable acc.so, I immediately get a segfault.
I ran it under gdb and was able to obtain this information:
#0 0x0000002a9578516f in insert_tmcb (cb_list=0x0, types=1, f=0x2a955675c7 <acc_onreq>, param=0x0) at t_hooks.c:99 #1 0x0000002a95785494 in register_tmcb (p_msg=0x0, t=0x0, types=1, f=0x2a955675c7 <acc_onreq>, param=0x0) at t_hooks.c:166 #2 0x0000002a955674c7 in mod_init () at acc_mod.c:308 #3 0x0000000000430d79 in init_mod (m=0x5d5228) at sr_module.c:474 #4 0x0000000000430ce8 in init_mod (m=0x5d52e8) at sr_module.c:471 #5 0x0000000000430ce8 in init_mod (m=0x5d53a8) at sr_module.c:471 #6 0x0000000000430ce8 in init_mod (m=0x5d5468) at sr_module.c:471 #7 0x0000000000430ce8 in init_mod (m=0x5d5528) at sr_module.c:471 #8 0x0000000000430ce8 in init_mod (m=0x5d55e8) at sr_module.c:471 #9 0x0000000000430ce8 in init_mod (m=0x5d56a8) at sr_module.c:471 #10 0x0000000000430ce8 in init_mod (m=0x5d5768) at sr_module.c:471 #11 0x0000000000430e05 in init_modules () at sr_module.c:497 #12 0x0000000000416f3c in main (argc=3, argv=0x7fbffffa18) at main.c:1577
---------------------------------------------
Starting program: /usr/local/sbin/ser -V version: ser 0.9.6 (x86_64/linux) flags: STATS: Off, EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, 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 @(#) $Id: main.c,v 1.197.2.1 2005/07/25 16:56:24 andrei Exp $ main.c compiled on 09:19:06 Jun 28 2006 with gcc 3.4.5
Program exited normally.
---------------------------------------------------
I also did a bt full:
(gdb) bt full #0 0x0000002a9578516f in insert_tmcb (cb_list=0x0, types=1, f=0x2a955675c7 <acc_onreq>, param=0x0) at t_hooks.c:99 cbp = (struct tm_callback *) 0x2a96010a78 #1 0x0000002a95785494 in register_tmcb (p_msg=0x0, t=0x0, types=1, f=0x2a955675c7 <acc_onreq>, param=0x0) at t_hooks.c:166 cb_list = (struct tmcb_head_list *) 0x0 #2 0x0000002a955674c7 in mod_init () at acc_mod.c:308 load_tm = 0x2a9578d4a0 <load_tm> #3 0x0000000000430d79 in init_mod (m=0x5d5228) at sr_module.c:474 No locals. #4 0x0000000000430ce8 in init_mod (m=0x5d52e8) at sr_module.c:471 No locals. #5 0x0000000000430ce8 in init_mod (m=0x5d53a8) at sr_module.c:471 No locals. #6 0x0000000000430ce8 in init_mod (m=0x5d5468) at sr_module.c:471 No locals. #7 0x0000000000430ce8 in init_mod (m=0x5d5528) at sr_module.c:471 No locals. #8 0x0000000000430ce8 in init_mod (m=0x5d55e8) at sr_module.c:471 No locals. #9 0x0000000000430ce8 in init_mod (m=0x5d56a8) at sr_module.c:471 No locals. #10 0x0000000000430ce8 in init_mod (m=0x5d5768) at sr_module.c:471 No locals. #11 0x0000000000430e05 in init_modules () at sr_module.c:497 No locals. #12 0x0000000000416f3c in main (argc=3, argv=0x7fbffffa18) at main.c:1577 cfg_stream = (FILE *) 0x6cd010 c = -1 r = 4224491 tmp = 0x39d1014c40 "" tmp_len = 0 port = 0 proto = 0 options = 0x46d4e8 "f:cm:b:l:n:N:rRvdDETVhw:t:u:g:P:G:i:x:" ret = -1 seed = 4256706975 rfd = 7