On 05/15/2012 07:54 AM, Dennis Benndorf wrote:
Log file /usr/local/etc/amanda/daily/catalog/log.20120506180002.0
stamped 20120506180002, expecting 20120505180458!
I never saw amanda print this message.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5dcd7b0 in g_str_hash () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7ffff7fec700 (LWP 11663) "perl" 0x00007ffff5dcd7b0 in
g_str_hash () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) thread 1
[Switching to thread 1 (Thread 0x7ffff7fec700 (LWP 11663))]
#0 0x00007ffff5dcd7b0 in g_str_hash () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) where
#0 0x00007ffff5dcd7b0 in g_str_hash () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff5dcce33 in g_hash_table_lookup () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff5dfaee9 in g_string_chunk_insert_const () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff3dc594c in search_logfile (output_find=0x7fffffffdff8,
label=0x0, passed_datestamp=<optimized out>, logfile=0x15d3720
"/usr/local/etc/amanda/daily/catalog/log.20120505180458.0",
dynamic_disklist=0x7ffff3997890) at find.c:1030
Can you run gdb again and get the value of the second argument to
g_string_chunk_insert_const.
Send me /usr/local/etc/amanda/daily/catalog/log.20120506180002.0 and
/usr/local/etc/amanda/daily/catalog/log.20120505180458.0
Jean-Louis