Hi,

this is bacula 1.37.40.

I want to relabel a tape manually with btape, but it segfaults when I call

btape /dev/nst0

This is the stacktrace from gdb:

#0  edit_device_codes(DCR*, char*, char const*, char const*)
(dcr=0x80bf428, omsg=0x80cf9a8 "", imsg=0x0, cmd=0x808982a "loaded")
    at autochanger.c:444
#1  0x08065014 in get_autochanger_loaded_slot(DCR*) (dcr=0x80bf428) at
autochanger.c:159
#2  0x08057ce6 in DEVICE::open_tape_device(DCR*, int) (this=0x80beb30,
dcr=0x80bf428, omode=3) at dev.c:338
#3  0x08057634 in DEVICE::open(DCR*, int) (this=0x80beb30,
dcr=0x80bf428, omode=3) at dev.c:281
#4  0x0805d2fc in first_open_device(DCR*) (dcr=0x80bf428) at device.c:267
#5  0x08056358 in setup_to_access_device (jcr=0x80bd1e0,
dev_name=0xbffff91f "/dev/nst0", VolumeName=0x80be248 "", mode=0)
    at butil.c:173
#6  0x08056132 in setup_jcr(char const*, char*, BSR*, char const*,
int) (name=0x80cf9a8 "", dev_name=0x80cf9a8 "", bsr=0x0,
    VolumeName=0x0, mode=135068072) at butil.c:95
#7  0x0804aaa2 in main (margc=0, margv=0xbffff798) at btape.c:260




Any ideas?


Thanks,
Christian


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to