IPhone SDK 2.2 memory corruption

Hello. I'm working on an application for iPhone SDK 2.2 and seem to be having weird memory corruption problems. Not necessarily leaks because using Instruments shows my memory stamp never going above about 1.8 megs. The nature of the app is a database of animals so I'm constantly loading and unloading sounds and images. None of the objects are very large (at most I'll have 4 800k pngs loaded at once) and I've checked and rechecked my alloc/retain/release and everything is in order (hence no memory usage increase). However...after using the application for a while I'll notice strange behavior. For example:
1) we have a UILabel as the title for each page. After a while the font size of this will change.
2) I have several screens with a subclassed UIScrollView where images are loaded and then added to. The problem shows itself here by the images not showing up. there's no crash, stepping through the debugger shows that the image loads up fine, it's just that the image is not there.
3) I have a UILabel at the top of an animal description screen, which in the nib file is called "Animal Name" by default. This will change to show "Animal Name" at the top.
I've removed all audio in our latest build so that isn't the problem. What I'm starting to suspect is that altering anything defined in a nib file will cause corruption. For example, the UIScrollView is defined in the nib file, and I constantly am reassigning the contents of that with a UIImageView. This UIImageView is handled within the subview class like :
UIImageView *imgView = [[UIImageView alloc] initWithImage: [ UIImage imageWithContentsOfFile:[[NSBundle mainBundle ] pathForResource:imageToLoad ofType:@"png" ]] ];
imgView.tag = 50;
[self addSubview:imgView ];
[ imgView release ];
Then later when moving away from the screen I'll find that view's tag and remove it from the superview (since addSubView increases the retain count, the alloc+addSubView is cancelled by release+removeFromSuperView)
I can't explain why titles that are never changed would be affected, but it must somehow be related. What I'm wondering is: are there any known issues involving modification of the contents of objects defined in Nib files? Perhaps the memory allocated when initWithNibName is restrained, then any modification of objects allocated within it can cause corruption. I'm starting to think I should just alloc and free anything modified in code and skip using nib files altogether (I reset the text on buttons for example). If this is a known issue please let me know. I'll give you more information if I can.
Thank you

Just download the huge SDK package and install. No need to uninstall the old SDK.

Similar Messages

  • Release memory in iPhone SDK

    Hi,
    1. I want to release previous memory before I redraw the screen. Is this the right way to do it using iPhone SDK?
    [self.securityCodeView release];
    self.securityCodeView = [[SecurityCodeView alloc] initWithFrame:Frame];
    [self addSubview:securityCodeView];
    [\b]
    2. How do I refresh the screen without having to ALLOC memeory again? For example, I draw the screen ([self addSubview:securityCodeView]) and after one second, the screen needs to be redrawn (what statement to use?).
    3. How do you retain some UIViews without redrawing since they don't need to be redrawn again (what statement to use)? For example, backgroundView needs not to be redrawn.
    Thank you.

    I would suggest you read the docs on Memory Management on Obj-C. Basically anything you allocate explicitly will remain allocated (with a ref count of 1) until you explicitly do a release:
    [myView release];
    When you add a view to another view's subview, that view's ref count is incremented. So you can safely release the added view and yet use the references to the object throughout the code (as long as the parent view is not released/deallocated).

  • [iPhone SDK] Nib vs. JIT allocation: memory pressure and programmer time

    I'm going to ask a question that there's no single answer to. Instead, I'm more interested to know how different people approach the same problem.
    Lately I've been finding I'm of two minds when I have a UI element or view controller that isn't always used. On the one hand, the iPhone is a fairly memory-constrained environment, and the rules for developing for it are pretty explicit: don't use memory until you need it. That suggests "just in time" or "lazy" allocation: don't allocate it until you actually need it for the first time. After that, hold onto it in case you need it again, but be ready to free it if you receive a memory warning. My code is full of methods with names like "ensureViewerLoaded" which I call just before I need the object in question to allocate it if necessary.
    (For context: my applications are generally UIKit-based utility or data-browsing/editing apps with little graphical or computational complexity and very little memory pressure overall. So far, I've only released one app; at its greediest, it consumes about 1 MB. This isn't because I'm a brilliant programmer--although I do try to be parsimonious--it's just because the app doesn't need much memory to do what it's supposed to do.)
    But on the other hand, allocating those same objects in nib files (or, in other cases, loading them from plists or object archives) makes me more nimble. I've found that it reduces the weight of my code, paring it down to the logic I really need to be paying attention to. That lets me code faster--which means I can modify faster and release faster. And one thing I'm finding is that on the App Store, more releases means more sales. And more sales means I get to buy a MacBook Air with an SSD sooner, and thus save my back a few pounds of strain and my patience a few seconds of compilation. ;^)
    I guess what I'm asking is, how are you resolving these sorts of trade-offs? Where are you trading phone resources for programmer resources, and where are you deciding not to? And how is the type of app you're writing influencing that decision?

    My applications don't need much memory either, so I let everything happen in the nib file. I typically have about three views to worry about, and nothing significantly graphical in any of them.

  • Iphone 4S photo import image corruption creates "color lines"

    Ever since I got the Iphone 4S, it's been corrupting my pictures occasionally during import. It's sad, because I usually have it set to delete the image after importing, so the uncorrupted image is lost forever. Below is an example of how the import destroyed a really nice picture of our newborn baby.
    I'm running snow leopard, with iphone version 5.1. Originally I was using iphoto to do the import, but I read somewhere that image capture might fix this problem. But the problem still occurs even with image capture. Sometimes there are multiple "color lines" through the picture, although the one below only has one. Also, sometimes the image doesn't just change color across the line. It can also become misaligned, so tweaking the color isn't enough.
    I'm not sure about this, but I think the problem may occur more frequently when I have a lot of apps sharing CPU. So I suspect it's a bug related to context switching. I'm not sure whether snow leopard or the iphone is the problem, although I don't remember it occuring with my older iphone 4.
    I have noticed the problem tends to occur in batches of consecutive photos, which is why I think it has to do with memory swapping due to concurrent applications.
    Does anyone have suggestions how to fix this problem?
    Thanks
    Justin

    Sorry, I'm not a Mac user, but I found this for you: http://www.macxdvd.com/mac-dvd-video-converter-how-to/mount-iphone-as-hard-disk- drive.htm
    I'm reasonably sure it will solve the problem, but not 100% sure.  It can't hurt to try.  You could also close other apps on your Mac when you do copy the pix.  Finally, you could try copying them to a friend's PC - which you would have to do manually (a piece of cake on a PC).

  • IPhone SDK: unrecognized selector

    I'm relatively new to Objective-C/iPhone SDK development. I have an issue that really seems to produce random (or at least nondeterministic) errors, all of which are "unrecognized selector" errors.
    I have a UITableViewController that is populated with table names from a MySQL database. When I select a table name, a second UITableViewController is created to display detailed data. I thought this was working just fine, but I discovered I have problems when I select a certain table name, (detailed results are displayed in second UITableViewController), go back, select the same table name, (...), go back, and select the same table name a third time. The Simulator explodes and gives me an error like:
    * -[UICGColor length]: unrecognized selector sent to instance 0x1050810
    Sometimes it's related to UICGColor, sometimes it's related to CALayerArray. Sometimes it doesn't produce any error at all and just terminates.
    What's also weird is that only some of the table names cause this to happen. Also, if I cycle through several table names (i.e., not select the same table over and over), the app is fine. I would tend to think that maybe something is wrong with my database or MySQL C API usage, but the fact that things are perfectly fine the first and second (and third and fourth and ... and nth for some tables) time baffles me. I'm not using any dynamic method calling either -- just straight
    [ object method: ] syntax, so I'm not sure how it suddenly can "lose" the selector reference that it was perfectly happy to use earlier. As far as I can tell, I'm releasing memory as necessary.
    Any clues why this seems to be so weird and unpredictable? I can provide source if it would help.

    Ugh. Problem solved. I was tampering with autorelease, and it got me into trouble. I had this:
    query = [ [ [ NSString alloc ] initWithFormat:@"...%@", [ [ tableView cellForRowAtIndexPath:indexPath ] text ] ] autorelease ];
    I thought that I should autorelease the "anonymous" object I created. It made sense at the time, but upon thinking about retain/release more closely, it's so clear now.

  • IPhone SDK - Download manager sample

    I need a download manager in my app. I want to have it download a bunch of files in a different thread so that user can keep working. Once the downloads are done the caller gets notified. Since the app cannot run in the background, the download should be restartable.
    Does anyone know if there is already something out there?
    Thanks in advance.
    -TRS

    Another victim here. Happily started downloading iphone SDK just after purchasing my new MacBook and it always stops at 2.1 GB. And of course it is corrupted.
    For those who are thinking about OS or firewalls, here are my trials:
    1. From my MacBook at home
    2. From my HP laptop at home
    3. From my desktop at home
    4. From my HP laptop at work
    5. From my Ubuntu at home
    6. From my Ubuntu virtual machine at work.
    Do you think it is still a client problem? Or the version on the server is corrupted?

  • IPhone SDK Download Problems

    I have just made the account and started the long download process for the iPhone SDK. When I download the file and it completes the process, I click on it and it says Disk Image not able to mount. I tried that three more times and it still won't open. Any suggestions?

    Another victim here. Happily started downloading iphone SDK just after purchasing my new MacBook and it always stops at 2.1 GB. And of course it is corrupted.
    For those who are thinking about OS or firewalls, here are my trials:
    1. From my MacBook at home
    2. From my HP laptop at home
    3. From my desktop at home
    4. From my HP laptop at work
    5. From my Ubuntu at home
    6. From my Ubuntu virtual machine at work.
    Do you think it is still a client problem? Or the version on the server is corrupted?

  • IPhone SDK - trouble working with iPod Touch 2G

    Hello, new Macbook OSX 10.5.4, new iPod Touch running iPhone OS 2.1. Just downloaded and installed xcode 3.1.1 and newest iPhone SDK.
    I read the iPhone OS Pre-Installation Advisory document found here:
    http://developer.apple.com/iphone/download.action?path=/iphone/iphoneos_software_preinstallation_advisory/iphone_os_2.1_preinstallationadvisory.pdf
    I created shortcut:
    .../iPhoneOS.platform/DeviceSupport/2.1.1/
    pointed to:
    .../iPhoneOS.platform/DeviceSupport/2.1/
    Checked the shortcut, it works.
    Start xcode, open Window->Orgnizer. "Xcode cannot find the software image to install this version" is showing up just below the "Software Version" line. Software version has a value of 2.1.1 (5F138).
    If I ignore this and continue to build, sign and try the application. I will receive an error message "Your mobile device has encountered an unexpected error (0xE800003A) during the install phase: Verifying application" I tried disconnect the iPod Touch, power off, power on. Same problem.
    I tried to make a complete copy in (not a shortcut):
    .../iPhoneOS.platform/DeviceSupport/2.1.1/
    Same problem.
    What should I do to trace this issue?

    I wanted to compile and upload the sample app Accelerometer Graph onto my brand new ipod touch 16.
    I got the notorious error (0xE800003A) during the install phase, verifying.
    i checked all the product id#'s which i just copied/pasted when creating the certificates etc.... so i don't know what's wrong... so what IS wrong?
    here's the logs:
    ==== Attached at 2008-09-25 17:04:27 -0400 ====
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: urn IOSDIOController::enumerateSlot(UInt8, bool): Found SDIO I/O device. Function count(2), memory(0)
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: IOReturn IOSDIOIoCardDevice::parseCIS(): Device manufacturer Id(4d50), Product Id(4d48)
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325::init(): Starting with debug level: 4, debug flags: 00000000
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325::start()
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325::initHardware(): BCM4325 revision D0
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: read new style signature 0x43313131 (line:281)
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: [FTL:MSG] VSVFL Register [OK]
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: [FTL:MSG] VFL Init [OK]
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleMultitouchZ2SPI: detected HBPP. driver will be kept alive
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleMultitouchZ2SPI: enabled power, scheduled bootloading
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: BCM4325 Firmware Version: wl0: Sep 1 2008 14:42:30 version 4.173.4.0
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325::initFirmware(): successful initialization
    Thu Sep 25 17:04:17 unknown com.apple.launchd[1] <Notice>: Bug: launchd.c:228 (23506):19: mount("fdesc", "/dev", MNT_UNION, NULL) != -1
    Thu Sep 25 17:04:18 unknown com.apple.launchctl.System[2] <Notice>: Bug: launchctl.c:2907 (23614):2: sysctl(nbmib, 2, &nb, &nbsz, NULL, 0) == 0
    Thu Sep 25 17:04:18 unknown com.apple.launchctl.System[2] <Notice>: /dev/disk0s1 on / (hfs, local, read-only, noatime)
    Thu Sep 25 17:04:18 unknown com.apple.launchctl.System[2] <Notice>: /dev/disk0s2 on /private/var (hfs, local, nodev, nosuid, noatime)
    Thu Sep 25 17:04:18 unknown com.apple.launchctl.System[2] <Notice>: launchctl: Couldn't stat("/etc/mach_init.d"): No such file or directory
    Thu Sep 25 17:04:19 unknown com.apple.launchd[1] <Warning>: open("/var/logs/BTServer/stdout", ...): No such file or directory
    Thu Sep 25 17:04:19 unknown com.apple.launchd[1] <Warning>: open("/var/logs/BTServer/stderr", ...): No such file or directory
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325: Ethernet address 00:22:41:c3:88:2c
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325::setPowerStateGated() : Powering On
    Thu Sep 25 17:04:19 unknown mDNSResponder mDNSResponder-178.2 (Aug 10 2008 22:56:13)[17] <Error>: starting
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleMultitouchZ2SPI: downloaded 128 bytes of prox calibration data ("built-in")
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleMultitouchZ2SPI: downloaded 256 bytes of calibration data ("built-in")
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleD1759PMUPowerSource: AppleUSBCableDetect 1
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleSynopsysOTG2::handleUSBCableConnect cable connected, but don't have device configuration yet
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleMultitouchZ2SPI: downloaded 48612 bytes of firmware data ("0x0051.bin") in 149ms.
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleS5L8720XFMSS::_fmssInitCmdsAndCEMaskCtrl: VendorSpecific: VSCMDSIMPLE
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: [FTL:MSG] VFL_Open [OK]
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: [FTL:MSG] YAFTL Register [OK]
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: [FTL:MSG] FTL_Open [OK]
    Thu Sep 25 17:04:19 unknown /usr/sbin/fairplayd[20] <Notice>: Vroum
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: Got boot device = IOService:/AppleARMPE/arm-io/AppleS5L8720XIO/flash-controller0@A00000/AppleS5L8 720XFMSS/disk@FF/AppleNANDFTL/IOFlashBlockDevice/IOBlockStorageDriver/unknown vendor unknown product Media/IOFDiskPartitionScheme/Untitled 1@1
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: BSD root: disk0s1, major 14, minor 1
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: Jettisoning kernel linker.
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: mDNSResponder[17] syscallbuiltinprofile: mDNSResponder (seatbelt)
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: mDNSResponder[17] Builtin profile: mDNSResponder (seatbelt)
    Thu Sep 25 17:04:20 unknown com.apple.BTServer[26] <Notice>: BTServer 1.2 () Modified on
    Thu Sep 25 17:04:20 unknown com.apple.BTServer[26] <Notice>: com.apple.server.bluetooth: Bluetooth Super Server Robot Destroyer
    Thu Sep 25 17:04:20 unknown com.apple.BTServer[26] <Notice>: com.apple.server.bluetooth: Got local-mac-address: 00:22:41:c1:42:29
    Thu Sep 25 17:04:20 unknown com.apple.BTServer[26] <Notice>: machport is com.apple.server.bluetooth
    Thu Sep 25 17:04:20 unknown lockdownd[15] <Error>: (0x3941d6d0) lookupimei: Could not get matching service for baseband
    Thu Sep 25 17:04:21 unknown mDNSResponder[17] <Error>: Note: SetDomainSecrets: no keychain support
    Thu Sep 25 17:04:21 unknown com.apple.BTServer[26] <Notice>: Cannot read termcap database;
    Thu Sep 25 17:04:21 unknown com.apple.BTServer[26] <Notice>: using dumb terminal settings.
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: Opening /dev/cu.bluetooth @ 115200 baud.
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: bluetooth wake is now ON
    Thu Sep 25 17:04:22 unknown com.apple.itunesstored[18] <Notice>: Couldn't open shared capabilities memory GSCapabilities (No such file or directory)
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: bluetooth reset was pulsed 100 ms
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: Issued HCI Reset
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: Sending UpdateUART_BaudRate
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: Setting local baud rate
    Thu Sep 25 17:04:23 unknown configd[21] <Notice>: CLTM: No thermal sensors detected, not registering for notifications
    Thu Sep 25 17:04:24 unknown kernel[0] <Debug>: en0: setting diversity to: -1
    Thu Sep 25 17:04:24 unknown lockbot[30] <Error>: copy_preference: Could not ssetgid to 501: Operation not permitted
    Thu Sep 25 17:04:24 unknown kernel[0] <Debug>: en0: setting tx antenna: -1
    Thu Sep 25 17:04:24 unknown lockbot[31] <Error>: copy_preference: Could not ssetgid to 501: Operation not permitted
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) sanitizedevicename: Could not convert device name into buffer
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80cc00) calculateapplicationusage: Calculating the application usage
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) ping_configd: Could not sanitize device name
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) load_systemversion: Could not lookup release type
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) extract_recordidentifier: Could not extract ICCID from account token
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) loadactivationrecords: Could not extract ICCID from record
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) loadactivationrecords: This is the iPod activation record
    Thu Sep 25 17:04:24 unknown configd[21] <Notice>: setting hostname to "iPod"
    Thu Sep 25 17:04:25 unknown lockdownd[15] <Error>: (0x80be00) determineactivationstate: The original activation state is Activated
    Thu Sep 25 17:04:25 unknown lockdownd[15] <Error>: (0x80be00) determineactivationstate: SIM status: kCTSIMSupportSIMStatusReady
    Thu Sep 25 17:04:25 unknown lockdownd[15] <Error>: (0x80be00) determineactivationstate: The activation state has not changed.
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 - Configuration: PTP
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 Interface: PTP
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 - Configuration: iPod USB Interface
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 Interface: USBAudioControl
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 Interface: USBAudioStreaming
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 Interface: IapOverUsbHid
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 - Configuration: PTP + Apple Mobile Device
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 Interface: AppleUSBMux
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction Register function USBAudioControl
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: IOAccessoryPortUSB::start
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction Register function IapOverUsbHid
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: virtual bool AppleUSBDeviceMux::start(IOService*) build: Aug 10 2008 22:34:20
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: init_waste
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction Register function USBAudioStreaming
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction Register function AppleUSBMux
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction Register function PTP
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction all functions registered- we are ready to start usb stack
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::handleUSBReset
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Current Device: UART - /dev/cu.bluetooth
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Setting speed to 115200
    Thu Sep 25 17:04:26 unknown /usr/libexec/ptpd[12] <Notice>: PTP interface bas been activated at high speed.
    Thu Sep 25 17:04:26 unknown SpringBoard[22] <Warning>: Not monitoring for AOS notifications since they are not enabled by user defaults.
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Sending UpdateUART_BaudRate
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Setting local baud rate
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Using env variable: BTDEVICEADDRESS = 00:22:41:c1:42:29
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Sending WriteBDADDR
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Using host name: iPod
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Sending WriteLocalName: iPod
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Sending SetSleepmodeParam
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: com.apple.server.bluetooth: Server attached, going into msg loop.
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: Cannot read termcap database;
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: using dumb terminal settings.
    Thu Sep 25 17:04:27 unknown afcd[35] <Error>: user mobile has uid 501
    Thu Sep 25 17:04:27 unknown afcd[35] <Error>: mode is 0x41e8
    Thu Sep 25 17:04:27 unknown configd[21] <Notice>: WiFi: Currently not associated. Beginning auto join sequence.
    Thu Sep 25 17:04:27 unknown configd[21] <Notice>: WiFi: External power source attached
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: Opening /dev/cu.bluetooth @ 2400000 baud.
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: bluetooth wake is now ON
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: Issued HCI Reset
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: Sending SetSleepmodeParam
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: bluetooth wake is now OFF
    Thu Sep 25 17:04:28 unknown lockdownd[15] <Error>: (0x81c200) set_timezone: Setting the time zone to /usr/share/zoneinfo/US/Eastern
    Thu Sep 25 17:04:28 unknown com.apple.mediaserverd[16] <Notice>: mediaserverd: 17:04:28.136 StreamUSBAspen.cpp[163]: GetCurrentPhysicalFormat(): ERROR: No HAL stream format corresponding to the current iAP digital audio sample rate 0 Hz
    Thu Sep 25 17:04:32 unknown itunesstored[18] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x10c620>. posting local notification for distributed notification: com.apple.itunes-mobdev.syncWillStart
    Thu Sep 25 17:04:32 unknown iapd[19] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x20b290>. posting local notification for distributed notification: com.apple.itunes-mobdev.syncWillStart
    Thu Sep 25 17:04:32 unknown afcd[56] <Error>: user mobile has uid 501
    Thu Sep 25 17:04:32 unknown afcd[56] <Error>: mode is 0x41e8
    Thu Sep 25 17:04:34 unknown SpringBoard[22] <Warning>: lockdown says the device is: [Activated], state is 3
    Thu Sep 25 17:04:34 unknown /System/Library/CoreServices/SpringBoard.app/SpringBoard[22] <Notice>: CLTM: initial thermal level is 0
    Thu Sep 25 17:04:35 unknown securityd[32] <Error>: misagent[60] SecItemCopyMatching: missing entitlement
    Thu Sep 25 17:04:36 unknown SpringBoard[22] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x232830>. posting local notification for distributed notification: com.apple.itunes-mobdev.syncWillStart
    Thu Sep 25 17:04:36 unknown SpringBoard[22] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x232830>. auto-generating notification 'com.apple.itunes-mobdev.syncWillStart' for (
    <SBSyncController: 0x2ad960>
    Thu Sep 25 17:04:36 unknown itunesstored[18] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x10c620>. posting local notification for distributed notification: com.apple.springboard.syncingUnblocked
    Thu Sep 25 17:04:36 unknown iapd[19] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x20b290>. posting local notification for distributed notification: com.apple.springboard.syncingUnblocked
    Thu Sep 25 17:04:37 unknown SpringBoard[22] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x232830>. posting local notification for distributed notification: com.apple.springboard.syncingUnblocked
    Thu Sep 25 17:04:37 unknown SpringBoard[22] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x232830>. auto-generating notification 'com.apple.itunes-mobdev.syncWillStart' for (
    <ABRingtoneManager: 0x2c5660>,
    <SBVODController: 0x2c5d70>
    Thu Sep 25 17:04:37 unknown SpringBoard[22] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x232830>. posting local notification for distributed notification: com.apple.itunes-mobdev.syncWillStart
    Thu Sep 25 17:04:37 unknown securityd[32] <Error>: mobileimagemou[54] SecItemCopyMatching: missing entitlement

  • Session Expired - iPhone SDk download

    hi,
    I am trying to download iPhone SDK but always get the Session Expired error.
    Even when I am logged in.
    How can I download the SDK?
    Regards
    Sajid

    Another victim here. Happily started downloading iphone SDK just after purchasing my new MacBook and it always stops at 2.1 GB. And of course it is corrupted.
    For those who are thinking about OS or firewalls, here are my trials:
    1. From my MacBook at home
    2. From my HP laptop at home
    3. From my desktop at home
    4. From my HP laptop at work
    5. From my Ubuntu at home
    6. From my Ubuntu virtual machine at work.
    Do you think it is still a client problem? Or the version on the server is corrupted?

  • IPhone SDK - What is the equivalent of a combo box

    I have a screen where there are quite a few items which are of the multiple-choice type. In other platforms i use a combo box (pick lists) to do this.
    On the iPhone SDK the only thing that comes close is the UIPicketView which is ugly IMHO. it takes too much real estate and too heavy.
    Is this is the only control available now?
    Also does the UIPicker come with an associated control which will launch the picker? What i mean is on other platforms and on the web there is a text field with a button with a down arrow next to it. Clicking either on the text field or the down arrow drops the list down. Is there a similar control on the iPhone which when clicked launches the picker OR do i have to create a button or a custom view which will launch the picker?
    Thanks for reading this and for your feedback.
    -TRS

    I do not believe there is an equivalent of -D in the DB JVM, a possible solution is:
    Load a properties file into the DB using Loadjava, then open this file from your Java code using Properties.load(), then iterate the properties calling System.setProperty().
    Chris

  • Learning iPhone SDK - Trying to draw an image

    Although I have programmed for Mac in the last years, I have never used Mac-specific technologies as Cocoa (I have programmed more in OpenGL, SDL, and the like).
    Now I am getting started with the iPhone SDK. I'd like to do some OpenGL|ES stuff, but since it is not supported in the Simulator, and you need to join the Developer Program to test stuff on directly on the device (and admission of new members is closed right now), I am focused on other stuff right now, like using Core Graphics for drawing images on the iPhone.
    My application is based on the Cocoa Touch Application template. I left the default code except for a few changes.
    In file "UntitledAppDelegate.m", I have changed the method applicationDidFinishLaunching to:
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    contentView = [[[MyView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease];
    [window addSubview:contentView];
    [window makeKeyAndVisible];
    Then, in the MyView interface file (MyView.h), I have added the attribute "UIImageView* image;" to the class, which is declared as a property, and synthesized.
    In the class implementation (MyView.m), I have changed the method initWithFrame to:
    - (id)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
    self.backgroundColor = [UIColor darkGrayColor];
    image = [self loadImageView:@"box01.png"];
    [self addSubview:image];
    return self;
    loadImageView is a private method I have implemented as:
    - (UIImageView *)loadImageView:(NSString *) imageName {
    UIImage *img = [UIImage imageNamed:imageName];
    UIImageView *theView = [[UIImageView alloc] initWithImage:img];
    return theView;
    Since I have loaded the UIImage, and initialized a UIImageView with it, and the image view is added as a subview of the main view attached to the window, I thought it should be everything needed to draw an image on the screen. But nothing is visible. The screen is simply black when I run this on the Simulator. It doesn't even set the background to dark gray.
    So I need some help with this, I sure that anyone with experience in Mac programming will know how to help me.
    Thank you in advance.
    Message was edited by: Jedive

    I removed the XIB file from the project, but that didn't help. It was a problem with my inexperience with Objective-C. When accessing class properties in a method of the same class, i was not putting "self." before the property (in C++ that's redundant). For example, in the line "window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];". After adding it, it works correctly.

  • ITunes could not restore the iPhone "___'s iPhone" because the backup was corrupt or not compatible

    Ok so bear with me here, it is somewhat of a long story.
         I had been using an iPhone 4 for a while, with an old iTunes account that has all my stuff from over the years on it, on my computer. A week ago, I dropped by iPhone 4 in the sink and it got covered with water, despite quickly pulling it out, putting it in rice under a lamp, the phone was shot, and I was without a phone. My Dad, who is on the same AT&T plan with me, was using an iPhone 3. He was available for an upgrade, so he got a new iPhone, and gave me the iPhone 3. Now i'm not an apple master or anything but I have a good idea of what I am doing, normally, I backup my phone to my computer every few months. Basically everytime I plug it in to my computer which isn't very often because I just charge it with the wall charger. So got my SIM card with the same phone number and all, and obviously, while still being my number, it had my dads apps, messages, contacts and photos on it. So I bring it home, and plug it into my computer, I cancel the intial sync, and right click on the phone on the left side of iTunes and hit "restore from backup" I look through the list of backups, and the most recent one I see is from Dec 11, 2011. Which is surprsing because i'm pretty sure I had backed up since then, but I say whatever i'll still get contacts apps and most pictures back etc. So I hit it, and go through with it, and it tells me there was a more recent date of backing up, relieved, I click on that and continue, the normal bar comes up it says something like estimated time 30 minutes, so I walk away, come back 5 minutes later, and I get an error message saying, "iTunes could not restore the iPhone "____'s iPhone" because the backup was corrupt or is not compatible with the iPhone." Confused, I go back and try again, however this time I click on "old backup (the dec 11th one rather than the newer one) and the same thing happens after a few minutes. I go back a third time, and select a time from August of 2011. And I hit restore, and it goes through. However, this happened to be a backup I made right when I got my new iPhone 4, and therefore I basically restored my phone, to having nothing. Thats where I sit right now, with none of my contacts or pictures. I'm not sure if I backed up to iCloud or not and i'm not sure how to retrieve that. Some extra things: When I try to sync my iTunes library and apps onto the new iphone 3, I need to greatly reduce the number of songs and apps beacuse this iPhone is only an 8gb while the old one was 16, (I don't think that is the reason I am getting the error message though because when I sync it clearly says "Your iPhone does not have enough space). Also, this is obviously an iPhone 3, not an iPhone 4, updated with the most recent iTunes software, which, I believe is 5.1.
    Any help would be greatly appreciated as I have over 1,400 pictures saved on my old phone (very important things to me) and a contact list of over 300 including important friends, coaches, teachers and workers.
    Thank you very much, if it doesn't say my email on here try me at [email protected]
    Thanks again
    -Drew
    Edit: The current phone is an iPhone 3G, not a 3Gs.

    ashleyfrg2,
    you will need to restore your phone as a new device and NOT from backup.  If you've been using your phone as recommended, you should have minimal data loss:  Photos should have been imported to your computer right after taking them; contacts should be safe in a cloud service or on your computer.  You CANNOT downgrade to 4.3.3.

  • HT4972 After upgrading iPhone 4 to iOS 5.1.1 getting the error "iTunes could not restore the iPhone because the backup was corrupt or not compatible with the iPhone that is being restored" HELP!

    I attempted to upgrade my iPhone 4 to iOS 5.1.1. I selected 'back up' from the phone in the device menu and iTunes confirmed that the phone had been backed up. I then installed iOS 5.1.1 which wiped everything on the phone & now I am getting the error "iTunes could not restore the iPhone because the backup was corrupt or not compatible with the iPhone that is being restored".
    I have tried restoring factory settings but iTunes simply will not restore from back up & I'm not sure what else to do!
    Any advice would be much appreciated.

    I have the same issue and I KNOW my backup IS good. What happen is when you try to restore your phone apple says something like can I check for new updates and if you choose no, it just takes you back to the restore screen and a loop from then on.  If you dont update from you phone then when you back up you will have the 5.0.1 back up and then when you update to 5.1.1 and then try to restore the backup from 5.0.1 it say it EITHER corrupt or incompatible.. It is incompatible and its hard as **** to restore back to 5.0.1. I followed the restore to a T and still getting errors. I lost all text history and have to reset up email. All just because I wanted a 1.2 Gigs of "other" space back.

  • I am getting error message "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone".  I have deleted the backup and restarted my computer, but continue to get this error message.  What do I need to do now?

    I have recently updated my phone and am attempting to sync it.  I got the error message "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone".  I deleted the backup, restarted my computer, and even restored the iPhone, but continue to get the same error message.  What do I need to do now?

    iTunes places the iPhone backup in the following location. Navigate there & delete everything in the backup folder, but not the folder itself. You will have to turn on "Show All Hidden Files & Folders" to see it:
    Mac:~/Library/Application Support/MobileSync/Backup/
    Windows XP:\Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Windows Vista and Windows 7:\Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\

  • Memory corruption detected with linux 3.9.2-1

    I have this message with dmesg and kernel 3.9.2-1, it disappears with kernel downgrade (3.8.11), what can i do ??
    p.s.
    the system seems to be stable.
    [   61.584649] Corrupted low memory at ffff880000006598 (6598 phys) = ff0000000000
    [   61.584695] ------------[ cut here ]------------
    [   61.584709] WARNING: at arch/x86/kernel/check.c:140 check_for_bios_corruption+0x10f/0x120()
    [   61.584712] Hardware name: HP Pavilion dv6 Notebook PC
    [   61.584714] Memory corruption detected in low memory
    [   61.584719] Modules linked in: fuse uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core joydev videodev media hp_wmi sparse_keymap iTCO_wdt iTCO_vendor_support arc4 snd_hda_codec_hdmi intel_powerclamp coretemp microcode psmouse serio_raw pcspkr i2c_i801 intel_ips acpi_cpufreq mperf ath9k ath9k_common ath9k_hw ath mac80211 cfg80211 r8168(O) rfkill thermal wmi snd_hda_codec_idt battery snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc hp_accel snd_timer lis3lv02d input_polldev snd ac evdev mei soundcore lpc_ich processor radeon ttm nfs lockd sunrpc fscache ext4 crc16 mbcache jbd2 sr_mod cdrom sd_mod ahci libahci ehci_pci ehci_hcd libata scsi_mod usbcore usb_common i915 video button i2c_algo_bit intel_agp intel_gtt drm_kms_helper drm i2c_core
    [   61.584832] Pid: 23, comm: kworker/0:1 Tainted: G           O 3.9.2-1-ARCH #1
    [   61.584835] Call Trace:
    [   61.584845]  [<ffffffff81058090>] warn_slowpath_common+0x70/0xa0
    [   61.584851]  [<ffffffff8105810c>] warn_slowpath_fmt+0x4c/0x50
    [   61.584858]  [<ffffffff8104543f>] check_for_bios_corruption+0x10f/0x120
    [   61.584865]  [<ffffffff8104545e>] check_corruption+0xe/0x40
    [   61.584873]  [<ffffffff81075e30>] process_one_work+0x170/0x440
    [   61.584880]  [<ffffffff81076905>] worker_thread+0x115/0x3d0
    [   61.584886]  [<ffffffff810767f0>] ? manage_workers+0x340/0x340
    [   61.584892]  [<ffffffff8107b5d0>] kthread+0xc0/0xd0
    [   61.584898]  [<ffffffff8107b510>] ? kthread_create_on_node+0x120/0x120
    [   61.584905]  [<ffffffff814d96ac>] ret_from_fork+0x7c/0xb0
    [   61.584910]  [<ffffffff8107b510>] ? kthread_create_on_node+0x120/0x120
    [   61.584914] ---[ end trace 1563130596fe98e7 ]---

    Nekos wrote:
    I have this message with dmesg and kernel 3.9.2-1, it disappears with kernel downgrade (3.8.11), what can i do ??
    p.s.
    the system seems to be stable.
    Well, the pithy answer would be to buy a computer from a vendor who supports free operating systems.
    Of course, I own and love my DV4.
    What does it mean?  Some BIOS implementations use areas of low memory without properly allocating it (letting the operating system know it is in use).  Windows just does not use that area of memory, and some vendors do a sloppy job in their software quality; it only has to work with Redmond code, so why fix it?
    Linux is forced to implement a bunch of ridiculous hacks to work around low quality hardware and firmware.  You found one.  The kernel was watching that memory to see if it could be trusted.  Something changed that memory when nothing (in the kernel's view) should have touched it.  Since it changed, the kernel has taken note that that memory should not be trusted.  Kind of analogous to finding a bad block on a disk drive and subsequently ignoring it by adding it to a list of bad blocks.
    So, aside from sucking it up because you lost some usable memory, you need do nothing.
    EDIT: BTW, it probably means the new kernel is more stable.
    Last edited by ewaller (2013-05-16 15:03:00)

Maybe you are looking for

  • OBIEE 11G: Issue with Agent

    Hello All, I am trying to make agent work in OBIEE 11G together with Active Directory settings but the agent are failling for some users. Some users are not able to send the ibots: We get the following message with Agent Failed: Agent ID: XXXXXXX No

  • Adobe Premiere Pro CC or media encoder MFX OP1a Bug

    Hi I'm outtputting for broadcast TV Commercial and getting a consistant audio issue with adobe premiere pro cc MFX OP1a using IMX30 pal export master. Orginial project is HD exported AVI from After effects, audio is .wav 48k. The audio has a glitch w

  • How to make the Photo Gallery module responsive?

    Hi, I am using Fondation and have a photo gallery on this page www.sunnysideinstantlawn.com.au/gallery made from the Photo Gallery Module in BC.  How do I make it responsive? I know there are alternatives out there using jquery but I would like to co

  • Adding objects into query Panel and no display report

    Hi Folks, I had an issue with WEBI . Iam running the report with few objects at first time , all objects are displayed in the  table format of report. I saved and closed the report . Later  i opened the report and edited the report by adding new obje

  • Array of UI component

    I am trying to use an array of DropDown components like this jsp code (vwp project) <ui:dropDown binding="#{scheduler.subjectDD[0]}" id="subjectDD1" items="#{scheduler.dropDown1DefaultOptions.options}"/> the java bean contains private DropDown subjec