1 2 3 Previous Next 105 Replies Latest reply: Sep 2, 2013 7:41 AM by iFan1701 Branched to a new discussion.
Strider G7 Level 1 Level 1 (0 points)

Hello,

this morning my iPad 2 with iOS 6 started preventing me from making any action on bookmarks in Safari. I noticed that my long reading list had all "downloads" pending.

 

Waited but nothing changed. Plugged in my power outlet and waited but nothing changed.

So I tried to disable bookmarks sync, iCloud altogether, delete sites data, history and cookies, disabled and re-enabled private browsing, I restored my iPad from an iCloud backup deleting data and settings from iPad itself (that took some time). I obtained always the same result: other services are disabled flawlessly (my contacts, notes and so on are deleted and reloaded without any negative effect) but bookmarks no, they are still there.

Still now that I restarted a few times also with home and power button pressed for those 15 seconds and I'm logged out of iCloud, those bookmarks are there looking at me with a distinct grin between the lines. Last thing I tried was to sync with iTunes enabling that checkbox used to replace iPad bookmarks with those on my iMac; my beloved iPad canceled the operation, every time I tried (just to be sure, you know).

 

Is there any way to hard reset just Safari? Something I didn't try? I'd really, really, really like to avoid a full restore "as new device".

 

How wonderful would be if I could turn a switch and initialize Safari just like on the desktop version... also a selective backup option wouldn't be bad or a way to export specific app backups through iTunes.

 

Thank you very much for your time and in advance for any hint you could give me.


iPad 2 Wi-Fi + 3G, iOS 6
  • 1. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    anthonyfromrehovot Level 1 Level 1 (0 points)

    I have exactly the same problem but my battery is also draining very fast since I upgraded to ios6. Could it be that Safari is trying to download the reading list and that is what is draining the battery?

  • 2. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    Strider G7 Level 1 Level 1 (0 points)

    I stressed my iPad a lot since my last message and recharged it irregurably so I can't really say anything reliable about battery life; at least I didn't notice anything terribly strange. Sorry.

     

    Anyway I'm sure Safari is trying to download the reading list and/or sync my bookmarks and I'm saying this after I looked at diagnostic logs (in Settings -> General -> Info -> Use and Diagnostics if I translated correctly): there's a really big number of files split roughly in two categories: webbookmarksd exceptions and LowMemory alerts (mainly caused by webbookmarksd). It seems like an unhandled exception caused by the webbookmarks deamon.

     

    Could you check if you have the same kind of logs? Thanks.

  • 3. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    mef613 Level 1 Level 1 (15 points)

    I am having exactly the same issue, on an iPhone 4S rather than an iPad. I also ahve the webbookmarksd crashlogs and the LowMemoryAlerts.

     

    I am finding that webbookmarksd does not launch until the first time after restarting the iPhone that you run Safari. Battery life is great, all is well with the world for many hours. But 1 Safari launch, and the crashing starts all over again, and with it the battery drain.

     

    My interim workaround is to use Chrome, but I would really like Apple to fix this, or at least give me a way to blow away the iCloud copy of my Safari bookmarks and start over.

  • 4. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    Strider G7 Level 1 Level 1 (0 points)

    Last night (I'm from Italy) I left my iPad completely drained to check if, with no power at all, the hanging processes restarts from a clean state. My plan is, this evening, to power on the iPad connecting it to my iMac and do a sync ASAP with that "overwrite bookmarks" checkbox selected. If the webbookmarksd don't start the iPad shouldn't cancel the operation. The problem is I think that, since we are talking about a deamon, all this plan won't probably work. For the same reason it seems quite strange to me that opening Safari or not should have an effect on a probably scheduled process.

     

    Blowing away bookmarks from iCloud, IMHO, may not solve the problem; I already managed to disconnect entirely my iPad from the cloud and all my other devices are working flawlessly with a new perfectly synced Reading List (I lost the original one experimenting); so the copy on the server is in good shape; the problem must be strictly local.

     

    The "funny" thing is I'm positive that, with admin and shell access, killing the webbookmarks deamon would be enough to let me clean bookmarks and Reading List entries and stop this mutiny.

  • 5. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    mef613 Level 1 Level 1 (15 points)

    I am quite sure that the webbookmarksd daemon does not get launched when the device starts up - it only does so when Safari is launched. I have confirmed this using the System Stats app (which is crashy under iOS 6 when viewing the system log, but does let you view the running processes like Activity Monitor. Can't kill them, though.

    The process is absent as long as Safari is not run. Once it's run, the process starts up, but never runs for more than a couple of minutes before dying and launching a new one.

     

    I just tried the iTunes bookmark overwriting now, and got a nasty error message: "iTunes could not sync bookmarks to the iPhone "Mike's iPhone" because the iPhone canceled the sync."

     

    I bet there is a lockfile in place from when the daemon died that is preventing the sync from happening - it thinks that there is a network sync going on still.

  • 6. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    Strider G7 Level 1 Level 1 (0 points)

    Nice! You must be right, the culprit is probably a lock file or something functionally equivalent. Strange thing is that it isn't deleted when we reboot our devices.

    The nasty error message you're talking about is the same I got too.

  • 7. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    mef613 Level 1 Level 1 (15 points)

    Just ran XCode while my iPhone was connected by USB, so I could see the console logs. Webbookmarksd was apparently turned on by the attempted Safari sync.

     

     

    Here's some of what I'm seeing:

     

     

    Sep 24 08:47:42 Michael-iPhone com.apple.launchd[1] (com.apple.WebBookmarks.webbookmarksd[1358]) <Notice>: (com.apple.WebBookmarks.webbookmarksd) Idle-exit job was jettisoned while dirty. Will respawn.

    Sep 24 08:47:42 Michael-iPhone com.apple.launchd[1] (com.apple.WebBookmarks.webbookmarksd[1358]) <Notice>: (com.apple.WebBookmarks.webbookmarksd) Exited: Killed: 9

    Sep 24 08:47:42 Michael-iPhone com.apple.launchd[1] (com.apple.WebBookmarks.webbookmarksd) <Notice>: (com.apple.WebBookmarks.webbookmarksd) Throttling respawn: Will start in 10 seconds

    Sep 24 08:47:42 Michael-iPhone ReportCrash[1371] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary

    Sep 24 08:47:42 Michael-iPhone ReportCrash[1371] <Notice>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2012-09-24-084742.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0

    Sep 24 08:47:49 Michael-iPhone backboardd[52] <Notice>: ALS: SetDisplayFactor: factor=0.0500

    Sep 24 08:47:53 Michael-iPhone kernel[0] <Debug>: launchd[1373] Builtin profile: webbookmarksd (sandbox)

    Sep 24 08:47:54 Michael-iPhone webbookmarksd[1373] <Notice>: BUG in libdispatch client: kevent[EVFILT_MEMORYSTATUS] add: "Operation not permitted" - 0x1

     

     

    ....

    Sep 24 09:03:29 Michael-iPhone ReportCrash[1451] <Notice>: Formulating crash report for process webbookmarksd[1447]

    Sep 24 09:03:29 Michael-iPhone com.apple.launchd[1] (com.apple.WebBookmarks.webbookmarksd[1447]) <Notice>: (com.apple.WebBookmarks.webbookmarksd) Idle-exit job exited while dirty. Will respawn.

    Sep 24 09:03:29 Michael-iPhone com.apple.launchd[1] (com.apple.WebBookmarks.webbookmarksd[1447]) <Warning>: (com.apple.WebBookmarks.webbookmarksd) Job appears to have crashed: Segmentation fault: 11

    Sep 24 09:03:29 Michael-iPhone ReportCrash[1451] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary

    Sep 24 09:03:29 Michael-iPhone ReportCrash[1451] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/webbookmarksd_2012-09-24-090329_Michael- iPhone.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

    Sep 24 09:03:30 Michael-iPhone kernel[0] <Debug>: launchd[1452] Builtin profile: webbookmarksd (sandbox)

    Sep 24 09:03:30 Michael-iPhone webbookmarksd[1452] <Notice>: BUG in libdispatch client: kevent[EVFILT_MEMORYSTATUS] add: "Operation not permitted" - 0x1

    Sep 24 09:03:38 Michael-iPhone profiled[1448] <Notice>: (Note ) profiled: Idled.

    Sep 24 09:03:38 Michael-iPhone profiled[1448] <Notice>: (Note ) profiled: Service stopping.

    Sep 24 09:04:40 Michael-iPhone ReportCrash[1454] <Notice>: Formulating crash report for process webbookmarksd[1452]

    Sep 24 09:04:40 Michael-iPhone ReportCrash[1454] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary

    Sep 24 09:04:40 Michael-iPhone com.apple.launchd[1] (com.apple.WebBookmarks.webbookmarksd[1452]) <Notice>: (com.apple.WebBookmarks.webbookmarksd) Idle-exit job exited while dirty. Will respawn.

    Sep 24 09:04:40 Michael-iPhone com.apple.launchd[1] (com.apple.WebBookmarks.webbookmarksd[1452]) <Warning>: (com.apple.WebBookmarks.webbookmarksd) Job appears to have crashed: Segmentation fault: 11

    Sep 24 09:04:40 Michael-iPhone ReportCrash[1454] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/webbookmarksd_2012-09-24-090440_Michael- iPhone.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

    Sep 24 09:04:41 Michael-iPhone kernel[0] <Debug>: launchd[1455] Builtin profile: webbookmarksd (sandbox)

    Sep 24 09:04:41 Michael-iPhone webbookmarksd[1455] <Notice>: BUG in libdispatch client: kevent[EVFILT_MEMORYSTATUS] add: "Operation not permitted" - 0x1

     

     

    I am wondering what happens if I remove the iCloud account from this phone completely. May try that next...

  • 8. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    Strider G7 Level 1 Level 1 (0 points)

    Maybe the problem is not webbookmarksd but the problem is causing webbookmarksd to crash; it could be anything and I'm not enough informed about those processes (from a developer point of view I mean) to correctly interpret log data. Just an hypothesis.

     

    My reading list was really long, yours? I abused it, now I changed my habits, just in case. In addition many of those sites don't usually load correctly leaving resources unloaded on desktop too. Anyway, don't get me wrong, this is a bug, Safari should be resilient enough to assure "service" availability.

     

    As I said I already tried to delete iCloud account from my iPad before posting the first message. In my case all data was correctly removed but the bookmarks resisted since it's simply impossible to edit that area of resources (bookmarks and reading list data). So Safari says I can't edit my bookmarks because they are syncing but they can't be syncing because I'm effectively logged out of iCloud. It's clearly stuck somewhere.

  • 9. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    mef613 Level 1 Level 1 (15 points)

    Ah,, I had missed the fact that  you had deleted the iCloud account completely from your device. I had thought that you had simply disabled bookmark syncing in Safari, not the whole account.


    I bet you're right that deleting the iCloud account will not fix the Safari problem. It's making me think that my only alternative is to set up my phone as a new device, then restore from iCloud backup. (Looks like the iCloud version of my bookmarks is OK)

     

    My reading list was very short, but I had a couple of thousand bookmarks including some pretty hairy JavaScript bookmarklets. One of those could be interacting with a bug in Safari's sync code.

     

    Really annoying not to be able to restore from a local iTunes backup. I will have to see what will be missing before I decide to do it... 

     

    (Hmm, I wonder if it is possible to do a local iTunes backup and then edit it before restoring it? Hmmm)

  • 10. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    Strider G7 Level 1 Level 1 (0 points)

    At first I disabled syncing just for bookmarks, then disabled everything.

     

    I also erased settings and data from my iPad and then restored my iCloud backup; the procedure evidently restored the problem too. Keep in mind that you can restore backup only during first setup before actually using the device. If you setup the device as new and don't restore anything I'm positive the problem won't be there waiting for you.

     

    If you disable iCloud, iTunes will automatically backup the device locally; then you could edit it somehow and restore. I never tried, maybe there's some helping tool on the web.

  • 11. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    mef613 Level 1 Level 1 (15 points)

    Hmph. I tried editing the local backup with a tool called iBackupBot - all it appeared to do, on restoring, was brick my phone. I am now setting the phone up as new, and will see what happens now.

     

    I was able to confirm that Library/Safari/Bookmarks.db might contain the problematic data - there is stuff in the "bookmarks" and "sync_data" tables that suggest a sync in progress.

  • 12. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    mef613 Level 1 Level 1 (15 points)

    Oh, well. I did an iCloud restore, foolishly, and the result was as expected - the bug is still there. I do not have time in the next few days to do a truly clean install of my phone, reinstall and reconfigure everything, etc. For now, I have disabled Safari in Settings, and am using Chrome - so far, so good, and battery life is terrific, better than 5.1.1. I will try to call Apple with a bug report later this week and let them know about my use case - I can even send them a copy of my bookmarks.db for debugging purposes.

  • 13. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    Strider G7 Level 1 Level 1 (0 points)

    Ok, let me know how it goes with the bug submitting procedure.

    I'm going to try what I planned, didn't have time till now. Crossing fingers.

     

    I hope that all the people experiencing this kind of problem is already automatically sending diagnostic data to Apple mothership thanks to that option in Settings.

  • 14. Re: iOS 6 iCloud bookmarks sync stuck in limbo... any idea?
    Shawn Lebbon Level 1 Level 1 (55 points)

    I have this same bookmarks issue apparently.  Interestingly I had a very similar and related bookmarks sync issue when I upgraded my iPhone 3GS to IOS 5 and Mac to Lion last year.  I ended up tracking it down to an old folder in my bookmarks menu that was an import of an import of an import from my macs over the years from IE 5 on Mac OS 8!  That folder displayed in safari on my computer as having a few thousand identical bookmarks with invalid URLs.  At the time I was having issues with the syncing of icloud to my phone as well as with safari on my computer hanging up and using lots of CPU time for the bookmarks sync on both my phone and Mac!  I ended up following a complex process to clear out icloud by turning everything on and off and always selecting to remove from device, and each time manually going into safari on the Mac and on the phone and deleting all the bookmarks each time.  After I got everything 'empty' i turned icloud off on my Mac, then restored my safari bookmarks xml file from timemachine, and manually went through and deleted all old junk folders and dead bookmarks.  Once that was all clear and much smaller (the bookmarks file went from 35MB to 300KB (yes MB), I re-enabled sync and everything has been OK unitl I upgraded to IOS6.

     

    I've been noticing that battery life was very poor and at various time of the day I'd notice the phone was warm, even though it was just in my pocket not being used.  I checked the diagnostic logs and see the same messages as above.  Loe and behold my Safari bookmarks are unable to be deleted.  I turned off sync on the phone for bookmarks and they didn't clear off the device.  I can't even delete any individual bookmarks or folders from inside safari itself.  It just does nothing when I press the delete button. 

     

    I also tried editing a backup using iBackupBot to replace the bookmarks.db file with another I got from my wife's iphone backup file, but that also bricked my phone (restored 'ok' but restarted the phone and it just turns off after the apple logo boot screen every time it's turned back on).  I restored it, and then re-applied an un-edited backup to it, and I'm back where I started. 

     

    Interestingly the 'bad' bookmarks.db I extracted from my iTunes backup which isn't working is 2.7MB and doesn't load properly in SQLite browser.  It's not seen as a valid database file.  My Safari bookmarks XML file on the Mac that it was syncing with is only 300KB.  For kicks I checked the 72KB bookmarks.db file I grabbed out of my Wife's iPhone backup.  It opens in SQLite browser just fine and shows the table structure and all rows correctly, so the 3MB bookmarks.db file is definately corrupted.  I just can't figure out a way to DELETE or reset it without wiping the WHOLE phone... very frustrating.

1 2 3 Previous Next