Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-24-2009, 11:59 PM
quwax quwax is offline
Registered User
 
Join Date: Apr 2007
Posts: 17
malloc error

Hello
SuperDuper! stops copying because of an malloc error:
08:09:15 AM | Error | SDCopy(96507) malloc: *** mmap(size=2097152) failed (error code=12)
| 08:09:15 AM | Error | *** error: can't allocate region
| 08:09:15 AM | Error | *** set a breakpoint in malloc_error_break to debug

the error occured now 2 days in a row.
This is a automatic copy.
any idea?
thanks
Reply With Quote
  #2  
Old 03-25-2009, 07:10 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
This is due to damage on the source drive. If you have Disk Warrior, use it to repair the source.
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 03-25-2009, 10:15 PM
quwax quwax is offline
Registered User
 
Join Date: Apr 2007
Posts: 17
Dave,
could you be a bit more specific, what might be broken?
The drive is the starup volume of my server and a SoftRAID drive.
I dont have diskwarrior.

Btw, how can a malloc error be related to an error on the drive?
A malloc error is a problem with an unreleased handle/pointer/object or addressing a pointer which doesn't exist or stuff like that and this has imho nothing to do with the hardware.

thanks
-mat

Last edited by quwax; 03-25-2009 at 10:19 PM.
Reply With Quote
  #4  
Old 03-26-2009, 07:10 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Mat,

You didn't give me much information here -- but I never said this was a "hardware" problem. I said you should repair the source drive. (And I know what a malloc error is, really.)

What's going on is that a structure in the file system has a bad/damaged size or invalid structure, typically in its extended attributes (which includes ACLs), and the OS X calls we're using to copy the data are getting confused by that and doing something wrong. The actual failure is pretty deep in the file system copy calls.

Are you running with 10.4.11 server? If so, there are a number of bugs in ACL handling in 10.4.11 that can cause this problem (Apple fixed these issues in Leopard, although in some situations they can still happen, hence the repair request).

But, try turning off the ACL copying checkbox in the Advanced tab of Options.
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 03-26-2009, 10:23 AM
quwax quwax is offline
Registered User
 
Join Date: Apr 2007
Posts: 17
Dave,
sorry, yes I should have given you more infos ...
So this is a Leopard Server installation (10.5.6), with updated amavis etc, the drive is mirrored with SoftRAID and it says there is no problem. I'll switch the ACL thing off for the moment.
Do you think that DiskWarrior is worth the price and would be able to fix such problems? Reinstalling would be a real pain, as the box is pretty old (G4 dual) and the Apple Software won't be able to fix a SoftRAID drive.
anyway thanks for the info and I was very sure you know what a malloc error is ;-)
all the best
-mat
Reply With Quote
  #6  
Old 03-26-2009, 10:56 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
In the few other situations we've seen this, Mat, Disk Warrior was able to locate and correct the problem (and Disk Utility wasn't). Of course, I can't guarantee that'll be the case, but it's nearly certain to be a problem with the source drive structure.

Turning off ACL copying might help, if the problem is in an ACL and not some other EA (ACLs are stored as EAs).
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 03-26-2009, 09:50 PM
quwax quwax is offline
Registered User
 
Join Date: Apr 2007
Posts: 17
Dave,
turning off ACLs dind't help. I meanwhile ordered DiskWarrior and will check that out next week. I'll let you know, as soon as I did it.
-mat
Reply With Quote
  #8  
Old 03-27-2009, 12:24 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Please do.
__________________
--Dave Nanian
Reply With Quote
  #9  
Old 04-08-2009, 06:59 AM
quwax quwax is offline
Registered User
 
Join Date: Apr 2007
Posts: 17
Hello,
DiskWarrior's DVD is hanging, if I start it from the FW drive it exits with an error .... so now I would need a Backup and then I could reformat the SoftRAID drive and copy my backup back.
Any idea to do that without data loss. The bos is still running without complains.
thanks
-mat
Reply With Quote
  #10  
Old 04-08-2009, 07:05 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
This is their brand new DVD? You should contact DW's support -- hopefully they'll be able to help you determine what's wrong.
__________________
--Dave Nanian
Reply With Quote
  #11  
Old 04-08-2009, 10:16 AM
quwax quwax is offline
Registered User
 
Join Date: Apr 2007
Posts: 17
Yes it is their brand DVD and I did contact them several times. First they answered in this standard technical support way, which sounded like from a knowledge base (on your harddisk you find a folder applications and inside blablabla) and now they don't answer at all
I should have reformatted that drive immediately and copy my harddisk back. But I errouniously thought this is a bug in SuperDuper! and went in a wrong direction. I still think it's a bug, an enduser shouldn't see such kind of error - it leads to wrong assumptions.
SuperDuper! just stops working with that malloc Error, it would be better, if SuperDuper! would report which file makes the trouble and just leaves the problematic thing out and continues copying.
The problem is that I now have a backup in an unknown state, which will cause me to do much more work on that then would have been initially necessary.
Maybe I should try it with CCC or rsync, the later I probably can also control with a cron job.
best
-mat
Reply With Quote
  #12  
Old 04-08-2009, 10:39 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
I'm sorry you're frustrated, Mat - it's frustrating at this end, too, since we call an API to copy the EAs and ACLs here and it crashes. But if you can get DW working (and they should be able to help you), it should fix the errors on the drive.
__________________
--Dave Nanian
Reply With Quote
  #13  
Old 04-08-2009, 11:05 AM
quwax quwax is offline
Registered User
 
Join Date: Apr 2007
Posts: 17
This is an unnecessary waste of time, but what frustrates me is, that I buy a software, which should fix the problem, the software is crashing and the support is unresponsive (opposite to you :-). Can't you maybe work around that crash, by putting the call in a separate thread and catch the exception? That would give you the possibility to log the problem as an error and continue work. I'm not sure, if this would be really possible with API you're using.
cheers,
-mat
Reply With Quote
  #14  
Old 04-08-2009, 11:14 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
We could probably catch the exception, but we'd still fail basically the same way. Continuing isn't really an option, because the error is due to damage to the source drive, and it's best to fix the problem rather than copy when you know there's some damage (which could affect the copy silently).
__________________
--Dave Nanian
Reply With Quote
  #15  
Old 04-08-2009, 11:51 AM
quwax quwax is offline
Registered User
 
Join Date: Apr 2007
Posts: 17
yes you're right. Therefore an interface would be required, like a confirm ... there's an error with this file blabla and ask the user what to do. An enhanced loggin option would maybe already be helpful. For example in the moment I don't know, which files were copied and which were not copied.
Btw, meanwhile the DW support wrote me, claiming my memory would be bad, because freshclam was crashing in one try (saturday) - it did, b/c the plist was bad - the last time I ran memtest everything was OK, now running it again.
good nite
-mat
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Time Machine stopped working - SuperDuper involved? adriansmith General 18 02-20-2008 03:48 PM
Errors when attempting to clone drive russb General 2 09-01-2007 07:46 AM
error code=3 ACL issue vudutu General 9 12-13-2006 02:32 PM
SuperDuper Error nvlagry General 3 10-09-2006 07:22 PM
Panther to Tiger with a bootable Lacie external dombort General 20 07-25-2005 02:06 PM


All times are GMT -4. The time now is 11:46 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.