Sorry to keep replying to myself, but after 300MB of debuginfo, here's a
more complete backtrace:
Core was generated by `/usr/bin/perl /usr/lib64/amanda/amcheck-device math
math'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
106 movdqu (%rax), %xmm4
[Current thread is 1 (Thread 0x7fca1b365300 (LWP 8421))]
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x00007fca19ae3a47 in __regexec (preg=preg@entry=0x1d16f90,
string=string@entry=0x0, nmatch=nmatch@entry=0,
pmatch=pmatch@entry=0x0, eflags=eflags@entry=0) at regexec.c:240
#2 0x00007fca18f3f0d8 in try_match (regex=0x1d16f90, str=str@entry=0x0,
errbuf=errbuf@entry=0x7ffd26fd4490) at match.c:312
#3 0x00007fca18f3f8ef in do_match (regex=regex@entry=0x1cef980
"^C[0-9][0-9][0-9][0-9][0-9]$", str=str@entry=0x0,
match_newline=match_newline@entry=1) at match.c:344
#4 0x00007fca18f40706 in match_labelstr (labelstr=labelstr@entry=0x18e1640,
autolabel=autolabel@entry=0x1cf6f10,
label=label@entry=0x0, barcode=barcode@entry=0x1cf7fb0 "CLNU01L1",
meta=meta@entry=0x0, storage=<optimized out>) at match.c:1283
#5 0x00007fca12d37ef7 in _wrap_match_labelstr (my_perl=<optimized out>,
cv=<optimized out>) at Amanda/Util.c:3679
#6 0x00007fca1ae33c50 in Perl_pp_entersub (my_perl=0x893010) at pp_hot.c:3988
#7 0x00007fca1ae2c116 in Perl_runops_standard (my_perl=0x893010) at run.c:41
#8 0x00007fca1adac1ce in Perl_call_sv (my_perl=<optimized out>,
sv=sv@entry=0x1cfdc48, flags=flags@entry=12) at perl.c:2807
#9 0x00007fca119e71ef in amglue_source_callback_simple
(data=data@entry=0x1cf1730) at Amanda/MainLoop.c:1683
#10 0x00007fca183d789d in g_timeout_dispatch (source=0x1d03460,
callback=0x7fca119e70f0 <amglue_source_callback_simple>,
user_data=0x1cf1730) at gmain.c:4674
#11 0x00007fca183d6e52 in g_main_dispatch (context=0x1526aa0) at gmain.c:3203
#12 g_main_context_dispatch (context=context@entry=0x1526aa0) at gmain.c:3856
#13 0x00007fca183d71d0 in g_main_context_iterate
(context=context@entry=0x1526aa0, block=block@entry=1,
dispatch=dispatch@entry=1,
self=<optimized out>) at gmain.c:3929
#14 0x00007fca183d727c in g_main_context_iteration (context=0x1526aa0,
context@entry=0x0, may_block=1) at gmain.c:3990
#15 0x00007fca18f394d1 in event_loop_wait (wait_eh=0x0, nonblock=0,
return_when_empty=0) at event.c:427
#16 0x00007fca18f398c8 in event_loop_run () at event.c:336
#17 0x00007fca119e7bb5 in run_c () at Amanda/MainLoop.c:1572
#18 0x00007fca119e7c13 in _wrap_run_c (my_perl=<optimized out>, cv=<optimized
out>) at Amanda/MainLoop.c:2019
#19 0x00007fca1ae33c50 in Perl_pp_entersub (my_perl=0x893010) at pp_hot.c:3988
#20 0x00007fca1ae2c116 in Perl_runops_standard (my_perl=0x893010) at run.c:41
#21 0x00007fca1adb3e56 in S_run_body (oldscope=<optimized out>,
my_perl=<optimized out>) at perl.c:2483
#22 perl_run (my_perl=0x893010) at perl.c:2406
#23 0x0000000000400ce9 in main (argc=<optimized out>, argv=<optimized out>,
env=<optimized out>) at perlmain.c:116
So at least it's obvious that the problem is the CLNU01L1 label. But I
played with amanda.conf and it doesn't appear to matter what I put in my
labelstr setting; I still get the crash. Even ".*" or ".", or not having
labelstr in amanda.conf at all.
- J<