i tried to start sip router without loading my local module. crash still happens at the same point as before, i.e., when sip router tries to compile modparam that contains a regular expression:
modparam("auth_db|dialplan|domain|htable|lcr|msilo|mtree|permissions|usrloc", "db_url", "MYSQL_SIP_PROXY_URL")
(gdb) where #0 0xb78bd424 in __kernel_vsyscall () #1 0xb776f751 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0xb7772b82 in *__GI_abort () at abort.c:92 #3 0xb77b0484 in __malloc_assert (assertion=<value optimized out>, file=<value optimized out>, line=4636, function=0xb7867490 "_int_malloc") at malloc.c:352 #4 0xb77b2ed4 in _int_malloc (av=<value optimized out>, bytes=<value optimized out>) at malloc.c:4636 #5 0xb77b4c8c in *__GI___libc_malloc (bytes=0) at malloc.c:3661 #6 0xb77fb2cc in analyze (preg=<value optimized out>, pattern=<value optimized out>, length=67, syntax=4436732) at regcomp.c:1135 #7 re_compile_internal (preg=<value optimized out>, pattern=<value optimized out>, length=67, syntax=4436732) at regcomp.c:804 #8 0xb77fbe5e in __regcomp (preg=0xbff52264, pattern=0xb7358610 "^auth_db|dialplan|domain|htable|lcr|msilo|mtree|permissions|usrloc$", cflags=11) at regcomp.c:506 #9 0x0809a500 in set_mod_param_regex ( regex=0xb7358478 "auth_db|dialplan|domain|htable|lcr|msilo|mtree|permissions|usrloc", name=0xb7358500 "db_url", type=1, val=0xb7358588) at modparam.c:86 #10 0x0817e4fd in yyparse () at cfg.y:1733 #11 0x08095a1f in main (argc=18, argv=0xbff52944) at main.c:2084
i think regcomp.c is part of c library in debian squeeze.
-- juha