<div>Hello,</div>
<div>Yesterday my system segfault, this is the information i got from the dump. The thing is I dont have enable any logrotate or something like that, it seems is controlled internally in asterisk.</div>
<div> </div>
<div>Other strange thing is the system did the log rotate several times on the same hour.</div>
<div> </div>
<div>Thanks in advance for any help you can give.</div>
<div> </div>
<div>Wilmar</div>
<div> </div>
<div>/var/log/asterisk directory:</div>
<div><a href="mailto:root@ss_development:/var/log/asterisk">-rw-r--r-- 1 root root 1147131 2006-03-23 12:00 messages.0<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.1<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.10
<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.11<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.12<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.13<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.14
<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.15<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.16<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.17<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.18
<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.19<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.2<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.20<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.21
<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.22<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.23<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.24<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.25
<br>-rw-r--r-- 1 root root 71401 2006-03-23 13:02 messages.26<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.3<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.4<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.5
<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.6<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.7<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.8<br>-rw-r--r-- 1 root root 0 2006-03-23 12:01 messages.9
<br></a></div>
<div>CORE:</div>
<div> </div>
<div>#0 0x4015725e in vfprintf () from /lib/libc.so.6<br>(gdb) bt<br>#0 0x4015725e in vfprintf () from /lib/libc.so.6<br>#1 0x40177860 in vsnprintf () from /lib/libc.so.6<br>#2 0x40160134 in snprintf () from /lib/libc.so.6
<br>#3 0x0805e1e1 in config_text_file_load (database=0xbd3c29a4 "\024¼\027@\017", table=0xbd3c28a4 "", filename=0x80ed721 "logger.conf", cfg=0x41782a58) at config.c:549<br>#4 0x0805d661 in ast_config_internal_load (filename=0x811505c "wü\016\bpá\005\b", cfg=0xbd3c28a4) at
config.c:959<br>#5 0x0805e06c in ast_config_load (filename=0xbd3c2754 "") at config.c:976<br>#6 0x08057f81 in init_logger_chain () at logger.c:311<br>#7 0x08056d6b in reload_logger (rotate=1) at logger.c:434<br>
#8 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#9 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at
logger.c:898<br>#10 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#11 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at
logger.c:805<br>#12 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#13 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#14 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c
", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#15 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#16 0x08057090 in reload_logger (rotate=1) at
logger.c:457<br>#17 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#18 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at
logger.c:898<br>#19 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#20 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at
logger.c:805<br>#21 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#22 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#23 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c
", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#24 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#25 0x08057090 in reload_logger (rotate=1) at
logger.c:457<br>#26 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#27 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at
logger.c:898<br>#28 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#29 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at
logger.c:805<br>#30 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#31 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#32 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c
", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#33 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#34 0x08057090 in reload_logger (rotate=1) at
logger.c:457<br>#35 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#36 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at
logger.c:898<br>#37 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#38 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at
logger.c:805<br>#39 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#40 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#41 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c
", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>---Type <return> to continue, or q <return> to quit---<br>#42 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at
logger.c:898<br>#43 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#44 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at
logger.c:805<br>#45 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#46 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#47 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c
", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#48 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#49 0x08057090 in reload_logger (rotate=1) at
logger.c:457<br>#50 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#51 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at
logger.c:898<br>#52 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#53 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at
logger.c:805<br>#54 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#55 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#56 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c
", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#57 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#58 0x08057090 in reload_logger (rotate=1) at
logger.c:457<br>#59 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#60 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at
logger.c:898<br>#61 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#62 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at
logger.c:805<br>#63 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#64 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#65 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c
", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#66 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at logger.c:898<br>#67 0x08057090 in reload_logger (rotate=1) at
logger.c:457<br>#68 0x08057566 in ast_log (level=5, file=0x80ed5f2 "logger.c", line=898, function=0x80ed6eb "ast_verbose", fmt=0x81003a6 "%s") at logger.c:805<br>#69 0x08057b9b in ast_verbose (fmt=0x81003a6 "%s") at
logger.c:898<br>#70 0x08057090 in reload_logger (rotate=1) at logger.c:457<br>#71 0x08057566 in ast_log (level=0, file=0x80efab8 "channel.c", line=2041, function=0x80efc62 "ast_indicate", <br> fmt=0x80f1120 "Driver for channel '%s' does not support indication %d, emulating it\n") at
logger.c:805<br>#72 0x08061fcb in ast_indicate (chan=0x41440e50, condition=0) at channel.c:2041<br>#73 0x40f8645a in wait_for_answer (in=0x41440e50, outgoing=0x417a9d88, to=0xbd3f7cc4, peerflags=0xbd3f861c, sentringing=0xbd3f7cc8, status=0xbd3f7e64 "NOANSWER",
<br> statussize=256, busystart=0, nochanstart=0, congestionstart=0, priority_jump=0, result=0xbd3c2754) at app_dial.c:584<br>#74 0x40f82da4 in dial_exec_full (chan=0x41440e50, data=0xbd3f7cc8, peerflags=0xbd3f861c) at app_dial.c:1162
<br>#75 0x40f81c15 in dial_exec (chan=0xbd3c2754, data=0xbd3c2754) at app_dial.c:1601<br>#76 0x0808c13d in pbx_exec (c=0x41440e50, app=0xbd3c2754, data=0xbd3f86e4, newstack=1) at pbx.c:544<br>#77 0x40f9f6d0 in lcdial_dial (chan=0x41440e50, data=0xbd3f86e4, providerid=6) at
lcdial.c:156<br>#78 0x40f9f20b in lcdial_exec (chan=0x41440e50, data=0xbd3f8a74) at lcdial.c:277<br>#79 0x0808c13d in pbx_exec (c=0x41440e50, app=0xbd3c2754, data=0xbd3f8a74, newstack=1) at pbx.c:544<br>#80 0x40c0a3ca in callingcard_pbx_dial (chan=0x41440e50, cd=0xbd3f9214) at app_prepaid_call.c:439
<br>#81 0x40c0932f in callingcard_exec (chan=0x41440e50, data=0xbd3fd754) at app_prepaid_call.c:966<br>---Type <return> to continue, or q <return> to quit---<br>#82 0x0808e172 in pbx_extension_helper (c=0x41440e50, con=0xbd3c2754, context=0x41440fa0 "callingcard", exten=0x41441094 "98898096815505", priority=203, label=0x0,
<br> callerid=0x0, action=0) at pbx.c:544<br>#83 0x0808ed9f in __ast_pbx_run (c=0x41440e50) at pbx.c:2218<br>#84 0x0808fa8f in pbx_thread (data=0xbd3c2754) at pbx.c:2505<br>#85 0x4002a54e in pthread_start_thread () from /lib/libpthread.so.0
<br>#86 0x401d6b8a in clone () from /lib/libc.so.6<br> </div>