Re: [Bacula-users] Problem with bat from Bacula 5.2.10
Zitat von lst_ho...@kwsoft.de: Zitat von Thomas Lohman thom...@mtl.mit.edu: bat ERROR in lib/smartall.c:121 Failed ASSERT: nbytes 0 This particular message is generated because some calling method is passing in a 0 to the SmartAlloc methods as the number of bytes to allocate. This is not allowed via an ASSERT condition at the top of the actual smalloc() method in the smartall.c file. I'd think that you'd need to do some kind of trace to see where the problem is originating. Hm, the question is what should i trace and how? Bat, the director or something other? The bat executable is the one that you'd trace to see what it is doing. I don't know how much info bat may put out if you run in some kind of debug mode but that may be enough assuming there is such a mode. But I suspect you'll need to somehow find out what it's exactly doing that is causing it to try and allocate 0 bytes of memory. If you can get a specific cause then the Bacula bug folks may be able to track it down/fix it easier. hope this helps, --tom The spefic cause is configuring an autochanger (verfied with btape its working), start bat and open Storage. Then double click the autochanger so the content/action and so on is visible (nothing in there BTW). With clicking on Update Slots bat is crashing like explained. This worked with the same config with the original Bacula 5.2.5 for the Ubuntu repository. I suspect that my source compile has ommitted something which should have been updated, but i'm lost what it could be. I finally managed to build 5.2.10 within the Ubuntu 12.04 build environment and this build does work as expected, so this case is closed for now. Thanks for any help Andreas -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with bat from Bacula 5.2.10
Hello List for testing an Upgrade i have compiled bacula-5.2.10 from source. Build and make install works fine and all service start as before with the same config as used for 5.2.5. But when testing bat we got a crash as soon as we try to access the tape auto loader in the storage tree bat ERROR in lib/smartall.c:121 Failed ASSERT: nbytes 0 The same happens in a remote Win32 bat which is not compiled from source so i suspekt this is more a problem at server side? Listing the auto loader in console works as expected: Device status: Autochanger Autochanger with devices: Drive-1 (/dev/nst0) Drive-2 (/dev/nst1) Device FileStorage (/var/lib/bacula/archive/dir) is not open. Device Drive-1 (/dev/nst0) is mounted with: Volume: 0044L2 Pool:*unknown* Media type: LTO-2 Drive 0 status unknown. Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 Device Drive-2 (/dev/nst1) is not open. Drive 1 status unknown. Used Volume status: 0044L2 on device Drive-1 (/dev/nst0) Reader=0 writers=0 devres=0 volinuse=0 Any idea whats going wrong? Many Thanks Andreas -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with bat from Bacula 5.2.10
bat ERROR in lib/smartall.c:121 Failed ASSERT: nbytes 0 This particular message is generated because some calling method is passing in a 0 to the SmartAlloc methods as the number of bytes to allocate. This is not allowed via an ASSERT condition at the top of the actual smalloc() method in the smartall.c file. I'd think that you'd need to do some kind of trace to see where the problem is originating. --tom -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with bat from Bacula 5.2.10
Zitat von Thomas Lohman thom...@mtl.mit.edu: bat ERROR in lib/smartall.c:121 Failed ASSERT: nbytes 0 This particular message is generated because some calling method is passing in a 0 to the SmartAlloc methods as the number of bytes to allocate. This is not allowed via an ASSERT condition at the top of the actual smalloc() method in the smartall.c file. I'd think that you'd need to do some kind of trace to see where the problem is originating. Hm, the question is what should i trace and how? Bat, the director or something other? The OS is Ubuntu 12.04 64 Bit BTW. Regards Andreas -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with bat from Bacula 5.2.10
bat ERROR in lib/smartall.c:121 Failed ASSERT: nbytes 0 This particular message is generated because some calling method is passing in a 0 to the SmartAlloc methods as the number of bytes to allocate. This is not allowed via an ASSERT condition at the top of the actual smalloc() method in the smartall.c file. I'd think that you'd need to do some kind of trace to see where the problem is originating. Hm, the question is what should i trace and how? Bat, the director or something other? The bat executable is the one that you'd trace to see what it is doing. I don't know how much info bat may put out if you run in some kind of debug mode but that may be enough assuming there is such a mode. But I suspect you'll need to somehow find out what it's exactly doing that is causing it to try and allocate 0 bytes of memory. If you can get a specific cause then the Bacula bug folks may be able to track it down/fix it easier. hope this helps, --tom -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with bat from Bacula 5.2.10
Zitat von Thomas Lohman thom...@mtl.mit.edu: bat ERROR in lib/smartall.c:121 Failed ASSERT: nbytes 0 This particular message is generated because some calling method is passing in a 0 to the SmartAlloc methods as the number of bytes to allocate. This is not allowed via an ASSERT condition at the top of the actual smalloc() method in the smartall.c file. I'd think that you'd need to do some kind of trace to see where the problem is originating. Hm, the question is what should i trace and how? Bat, the director or something other? The bat executable is the one that you'd trace to see what it is doing. I don't know how much info bat may put out if you run in some kind of debug mode but that may be enough assuming there is such a mode. But I suspect you'll need to somehow find out what it's exactly doing that is causing it to try and allocate 0 bytes of memory. If you can get a specific cause then the Bacula bug folks may be able to track it down/fix it easier. hope this helps, --tom The spefic cause is configuring an autochanger (verfied with btape its working), start bat and open Storage. Then double click the autochanger so the content/action and so on is visible (nothing in there BTW). With clicking on Update Slots bat is crashing like explained. This worked with the same config with the original Bacula 5.2.5 for the Ubuntu repository. I suspect that my source compile has ommitted something which should have been updated, but i'm lost what it could be. Regards Andreas -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users