Benches macOS

6

Strange Tilde (~) file

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi

Yesterday I received my brand new iMac. Already at the first start I was confused by some kind of console showing up some commands and data. This console was shown at every start and shut-down of the iMac. I managed to fix this by fill 'sudo nvram boot-args=""' in the terminal.

But now I'm confused again: In the Macintosh HD there is a file called "~" (553kb in size). I tried renaming it but then extern hard disks weren't recognized anymore. But I can't keep it like that: iTunes doesn't start. It says the installation is corrupted.

I have to say that I took the whole system from a TimeMachine backup at the first start. But in my old backup there was no tilde file in Macintosh HD.

I found some persons who have the same problems:

http://discussions.apple.com/thread.jspa?messageID=8261580

http://forums.macrumors.com/showthread.php?t=704570

Unfortunately I found no solution for these problems.

Any help out there?

Thanks in advance

6 replies

Sign in or join Beachball Help to reply.

  1. 0

    etresoft

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    stmb wrote:


    http://forums.macrumors.com/showthread.php?t=704570

    Are you running virex like the poor person above? If not, you might want to post some content from Console.app and your bug might be as easy to track down.

  2. 0

    stmb

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    etresoft wrote:

    Are you running virex like the poor person above? If not, you might want to post some content from Console.app and your bug might be as easy to track down.

    What do you mean by virex? McAfee Virex? No I'm not using that one.

    Here is the log from today (DB search => all reports):

    Or do you need something different?

    27.01.10 09:50:32 kernel npvhash=4095

    26.01.10 23:58:46 com.apple.SecurityServer[21] Session 0x214a4f destroyed

    27.01.10 09:50:32 kernel PAE enabled

    27.01.10 09:50:32 kernel 64 bit mode enabled

    27.01.10 09:50:32 kernel Darwin Kernel Version 10.2.0: Tue Nov 3 23:08:29 PST 2009; root:xnu-1486.2.11~3/RELEASE_I386

    27.01.10 09:50:32 kernel vm
    pagebootstrap: 901826 free pages and 81214 wired pages

    27.01.10 09:50:32 kernel standard timeslicing quantum is 10000 us

    27.01.10 09:50:32 kernel mig
    table_maxdispl = 73

    27.01.10 09:50:32 kernel AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled

    27.01.10 09:50:32 kernel AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled

    27.01.10 09:50:32 kernel calling mpo
    policyinit for TMSafetyNet

    27.01.10 09:50:32 kernel Security policy loaded: Safety net for Time Machine (TMSafetyNet)

    27.01.10 09:50:32 kernel calling mpo
    policyinit for Quarantine

    27.01.10 09:50:32 kernel Security policy loaded: Quarantine policy (Quarantine)

    27.01.10 09:50:32 kernel calling mpo
    policyinit for Sandbox

    27.01.10 09:50:32 kernel Security policy loaded: Seatbelt sandbox policy (Sandbox)

    27.01.10 09:50:32 kernel Copyright (c) 1982, 1986, 1989, 1991, 1993

    27.01.10 09:50:32 kernel The Regents of the University of California. All rights reserved.

    27.01.10 09:50:32 kernel MAC Framework successfully initialized

    27.01.10 09:50:32 kernel using 16384 buffer headers and 4096 cluster IO buffer headers

    27.01.10 09:50:32 kernel IOAPIC: Version 0x11 Vectors 64:87

    27.01.10 09:50:32 kernel ACPI: System State [S0 S3 S4 S5] (S3)

    27.01.10 09:50:32 kernel Sleep failure code 0x00000000 0x11000000

    27.01.10 09:50:32 kernel mbinit: done (64 MB memory set for mbuf pool)

    27.01.10 09:50:32 kernel rooting via boot-uuid from /chosen: 91742330-2258-3813-92E6-C560461E005F

    27.01.10 09:50:32 kernel Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>

    27.01.10 09:50:32 kernel com.apple.AppleFSCompressionTypeZlib load succeeded

    27.01.10 09:50:32 kernel AppleIntelCPUPowerManagementClient: ready

    27.01.10 09:50:32 kernel Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@B/AppleMCP79AHCI/PR T0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageD river/WDC WD5000AAKS-40V2B0 Media/IOGUIDPartitionScheme/Customer@2

    27.01.10 09:50:32 kernel BSD root: disk0s2, major 14, minor 2

    27.01.10 09:50:32 kernel FireWire (OHCI) TI ID 823f built-in now active, GUID 0026bbfffe66f41e; max speed s800.

    27.01.10 09:50:32 kernel USBMSC Identifier (non-unique): 000000009833 0x5ac 0x8403 0x9833

    27.01.10 09:50:28 com.apple.launchd[1]
    * launchd[1] has started up.
    *

    27.01.10 09:50:33 kernel NVEthernet: Ethernet address 00:26:bb:66:f4:1e

    27.01.10 09:50:33 kernel AppleIntelCPUPowerManagement: initialization complete

    27.01.10 09:50:33 kernel systemShutdown false

    27.01.10 09:50:33 mDNSResponder[18] mDNSResponder mDNSResponder-214.0.2 (Dec 15 2009 16:58:04) starting

    27.01.10 09:50:33 com.apple.SecurityServer[21] Session 0x5fbff962 created

    27.01.10 09:50:33 com.apple.SecurityServer[21] Entering service

    27.01.10 09:50:34 kernel Previous Shutdown Cause: 0

    27.01.10 09:50:34 kernel NVDANV50HAL loaded and registered.

    27.01.10 09:50:34 kernel DSMOS has arrived

    27.01.10 09:50:34 kernel NVEthernet::setLinkStatus - Valid but not Active

    27.01.10 09:50:34 kernel Atheros: mac 128.2 phy 13.0 radio 12.0

    27.01.10 09:50:34 configd[15] network configuration changed.

    27.01.10 09:50:34 configd[15] setting hostname to "STIM.local"

    27.01.10 09:50:35 kernel AirPort_AthrFusion21: Ethernet address d4:9a:20:57:11:d6

    27.01.10 09:50:35 kernel IO80211Controller::dataLinkLayerAttachComplete(): adding AppleEFINVRAM notification

    27.01.10 09:50:35 kernel IO80211Interface::efiNVRAMPublished():

    27.01.10 09:50:35 kernel AirPort: Link Down on en1. Reason 1 (Unspecified).

    27.01.10 09:50:37 kernel en1: 802.11d country code set to 'CH'.

    27.01.10 09:50:37 kernel en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140

    27.01.10 09:50:38 bootlog[47] BOOT_TIME: 1264582228 0

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VBoxDD2GC.gc => /Applications/VirtualBox.app/Contents/MacOS/VBoxDD2GC.gc-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VBoxDDGC.gc => /Applications/VirtualBox.app/Contents/MacOS/VBoxDDGC.gc-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless => /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VBoxManage => /Applications/VirtualBox.app/Contents/MacOS/VBoxManage-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VBoxNetAdpCtl => /Applications/VirtualBox.app/Contents/MacOS/VBoxNetAdpCtl-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VBoxNetDHCP => /Applications/VirtualBox.app/Contents/MacOS/VBoxNetDHCP-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VBoxSVC => /Applications/VirtualBox.app/Contents/MacOS/VBoxSVC-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VBoxXPCOMIPCD => /Applications/VirtualBox.app/Contents/MacOS/VBoxXPCOMIPCD-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VMMGC.gc => /Applications/VirtualBox.app/Contents/MacOS/VMMGC.gc-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VirtualBox => /Applications/VirtualBox.app/Contents/MacOS/VirtualBox-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM => /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/vboxwebsrv => /Applications/VirtualBox.app/Contents/MacOS/vboxwebsrv-x86

    27.01.10 09:50:40 com.apple.SystemStarter[30] Loading VBoxDrv.kext

    27.01.10 09:50:40 com.apple.SystemStarter[30] Loading VBoxUSB.kext

    27.01.10 09:50:40 com.apple.SystemStarter[30] Loading VBoxNetFlt.kext

    27.01.10 09:50:40 com.apple.SystemStarter[30] Loading VBoxNetAdp.kext

    27.01.10 09:50:41 kernel vboxdrv: fAsync=0 offMin=0x8a0 offMax=0x1859

    27.01.10 09:50:41 kernel VBoxDrv: version 3.0.12 r54655; IOCtl version 0x110000; IDC version 0x10000; dev major=19

    27.01.10 09:50:41 kernel VBoxFltDrv: version 3.0.12 r54655

    27.01.10 09:50:41 kernel VBoxAdpDrv: version 3.0.12 r54655

    27.01.10 09:50:41 com.apple.usbmuxd[29] usbmuxd-176 built for iTunesNine on Jul 20 2009 at 13:06:53, running 32 bit

    27.01.10 09:50:42 kernel AirPort: Link Up on en1

    27.01.10 09:50:42 blued[48] Apple Bluetooth daemon started

    27.01.10 09:50:42 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[36] Login Window Application Started

    27.01.10 09:50:43 kernel Warning - com.apple.driver.InternalModemSupport declares no kernel dependencies; using com.apple.kernel.6.0.

    27.01.10 09:50:45 Firewall[52] krb5kdc is listening from :::88 proto=6

    27.01.10 09:50:45 Firewall[52] krb5kdc is listening from 0.0.0.0:88 proto=6

    27.01.10 09:50:46 kernel AirPort: RSN handshake complete on en1

    27.01.10 09:50:47 com.apple.SecurityServer[21] Session 0x404954 created

    27.01.10 09:50:47 com.apple.SecurityServer[21] Session 0x404954 attributes 0x30

    27.01.10 09:50:49 configd[15] network configuration changed.

    27.01.10 09:50:49 loginwindow[36] Login Window Started Security Agent

    27.01.10 09:50:49 WindowServer[141] kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

    27.01.10 09:50:49 com.apple.WindowServer[141] Wed Jan 27 09:50:49 STIM.local WindowServer[141] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

    27.01.10 09:50:49 SecurityAgent[160] Showing Login Window

    27.01.10 09:50:52 Firewall[52] krb5kdc is listening from :::88 proto=6

    27.01.10 09:50:52 Firewall[52] krb5kdc is listening from 0.0.0.0:88 proto=6

    27.01.10 09:54:22 SecurityAgent[160] User info context values set for silvan

    27.01.10 09:54:23 SecurityAgent[160] Login Window Showing Progress

    27.01.10 09:54:23 SecurityAgent[160] Login Window done

    27.01.10 09:54:23 loginwindow[36] Login Window - Returned from Security Agent

    27.01.10 09:54:23 loginwindow[36] USER_PROCESS: 36 console

    27.01.10 09:54:23 com.apple.launchd.peruser.501[173] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self

    27.01.10 09:54:27 kernel USBF: 239.351 IOUSBHIDDriver(AppleIRController)[0x829d400]::RearmInterruptRead returning error 0xe00002ed, not issuing any reads to device

    27.01.10 09:54:28 pbs[184] Malformed Services entries in Info.plist for Service at URL /Applications/TeX/LaTeXiT.app

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    27.01.10 09:54:30 com.apple.launchd.peruser.501[173] (com.apple.Kerberos.renew.plist[193]) Exited with exit code: 1

    27.01.10 09:54:32 com.apple.launchd.peruser.501[173] ([email protected][199]) Exited with exit code: 1

    27.01.10 09:54:53 Firewall[52] Dropbox is listening from 0.0.0.0:17500 proto=6

    27.01.10 09:54:58 Firewall[52] Dropbox is listening from 127.0.0.1:26164 proto=6

    27.01.10 09:54:58 osascript[228] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:

    /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper

    27.01.10 09:58:35 [0x0-0x17017].org.mozilla.firefox[232] Debugger() was called!

    27.01.10 10:00:38 Firewall[52] Allow smbd connecting from 192.168.2.100:49310 to port 139 proto=6

    27.01.10 10:02:49 kernel IOHIDSystem::relativePointerEventGated: VBL too high (22333217), capping to 20000000

    27.01.10 10:04:30 /System/Library/CoreServices/CCacheServer.app/Contents/MacOS/CCacheServer[203] No valid tickets, timing out

    27.01.10 10:06:37 Firewall[52] Allow smbd connecting from 192.168.2.100:49440 to port 139 proto=6

    27.01.10 10:09:39 Firewall[52] Allow smbd connecting from 192.168.2.100:49573 to port 139 proto=6

    27.01.10 10:12:38 Firewall[52] Allow smbd connecting from 192.168.2.100:49637 to port 139 proto=6

  3. 0

    etresoft

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This is from a 2-day old Mac? If so, you need to return it because it has problems and has some non-standard stuff on it. I don't know which one is causing the ~ but one of them is. Basically, there is some UNIX script in there that is incorrect. It is using '~' in the wrong context. It is supposed to refer to your home directory, but whomever wrote the script doesn't know that one should use $(HOME) instead of '~' in a non-interactive script. I will identify the likely candidates for you...

    27.01.10 09:50:40 com.apple.SystemStarter[30] /Applications/VirtualBox.app/Contents/MacOS/VBoxDD2GC.gc => /Applications/VirtualBox.app/Contents/MacOS/VBoxDD2GC.gc-x86

    VirtualBox is definitely a possibility.

    27.01.10 09:54:23 com.apple.launchd.peruser.501[173] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self

    Not related to the '~' issue, but not good either.

    27.01.10 09:54:28 pbs[184] Malformed Services entries in Info.plist for Service at URL /Applications/TeX/LaTeXiT.app

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber

    TeX. Strong candidate for ~ screw up.

    27.01.10 09:54:58 osascript[228] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:

    /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper

    Adobe, another possibility.

    Try removing those possibilities and see if it goes away. I think it is TeX, but it could be VirtualBox too. Maybe Adobe.

  4. 0

    stmb

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    etresoft wrote:

    This is from a 2-day old Mac?

    Yes, it was shipped to me the day before yesterday.

    But I migrated a whole TimeMachine backup from my old mac (which hadn't this issue). Do you think this behaviour can be caused by the applications you listed anyway?

    etresoft wrote:

    If so, you need to return it because it has problems and has some non-standard stuff on it. I don't know which one is causing the ~ but one of them is. Basically, there is some UNIX script in there that is incorrect. It is using '~' in the wrong context. It is supposed to refer to your home directory, but whomever wrote the script doesn't know that one should use $(HOME) instead of '~' in a non-interactive script. I will identify the likely candidates for you...

    Thank you very much for your explication and the potential issue causing applications. I will try to uninstall VirtualBox, TeX and Adobe Reader/Photoshop/Flash (I think that's all from Adobe) now and see whether that helps.

    I hope I haven't to bring back the iMac again, it's already the third one now that doesn't work correctly...

  5. 0

    etresoft

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    stmb wrote:

    But I migrated a whole TimeMachine backup from my old mac (which hadn't this issue). Do you think this behaviour can be caused by the applications you listed anyway?

    Yes. That could do it. Migration is one of those things that works great 90% of the time. Unfortunately, restoring from Time Machine is one of those mass, brute-force jobs where sometimes a bit of subtly is more appropriate. Basically, anything that has system extensions will always run better if it is installed properly on the machine it is meant to run on. Just uninstall those applications I listed (using the approved uninstallers!) and reinstall them. That should fix the problem.

    Thank you very much for your explication and the potential issue causing applications. I will try to uninstall VirtualBox, TeX and Adobe Reader/Photoshop/Flash (I think that's all from Adobe) now and see whether that helps.

    I hope I haven't to bring back the iMac again, it's already the third one now that doesn't work correctly...

    Were you restoring from Time Machine on all of them? Restoring from backup is good to "restore" from a crash or failure, but it isn't meant to carry entire OS installs from machine to machine. That will just make it really flaky over time. MacOS X is extremely complex. It is best to start fresh every now and then. Otherwise, you risk taking all sorts of corrupted preference files, old code, and various little bugs and propagating them to your new system.

  6. 0

    stmb

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    etresoft wrote:

    Yes. That could do it. Migration is one of those things that works great 90% of the time. Unfortunately, restoring from Time Machine is one of those mass, brute-force jobs where sometimes a bit of subtly is more appropriate. Basically, anything that has system extensions will always run better if it is installed properly on the machine it is meant to run on. Just uninstall those applications I listed (using the approved uninstallers!) and reinstall them. That should fix the problem.

    I will remember that for the next time a new Mac finds my home 🙂

    Were you restoring from Time Machine on all of them?

    No. The first iMac had a defective screen so I didn't install everything. On the second machine I installed everything from scratch (loud hard disk and some bright blurs on the screen).

    It is best to start fresh every now and then. Otherwise, you risk taking all sorts of corrupted preference files, old code, and various little bugs and propagating them to your new system.

    That's what I have just done.

    First I uninstalled Adobe Photoshop, deleted the tilde file and restarted. Then I was able to successfully access an extern hard disk (I wasn't able to do that before). So I guess Photoshop caused that weird behaviour. Unfortunately iTunes, Xcode and potentially some other applications weren't working correct, though. So I decided to make a fresh install of the whole system.

    Until now everything works just fine 🙂

    Thank you for your help.