Hi,

This Segfault seems to occur occasionally and for different reasons.  It's 
possible that amlabel do not handle unknown devices gracefully.  But I'm still 
looking.  My tapedevice is "S3".

But I just built 3.3.5 on a Ubuntu desktop and now I get a segfault whenever I 
run amlabel...

$ perl -d /usr/local/sbin/amlabel --version

Loading DB routines from perl5db.pl version 1.33
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

Signal SEGV at /usr/local/share/perl/5.14.2/Amanda/Device.pm line 12
        require Amanda/Device.pm called at /usr/local/sbin/amlabel line 29
        main::BEGIN() called at /usr/local/share/perl/5.14.2/Amanda/Device.pm 
line 0
        eval {...} called at /usr/local/share/perl/5.14.2/Amanda/Device.pm line 0

Device.pm looks like....
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.4
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

package Amanda::Device;
use base qw(Exporter);
use base qw(DynaLoader);
require Amanda::Header;
package Amanda::Devicec;
bootstrap Amanda::Device;
package Amanda::Device;
@EXPORT = qw();

With the "bootstrap Amanda" line being line 12.

Should that line read "package Amanda::Devicec;"?

Any idea what the issue could be?

Best regards,
Kervin

Web Services Design, Development and Maintenance
http://adevsoft.com/


Reply via email to