Lost events bug in kqueue?

Hi all,
I have been trying to track down some odd behavior in a multithreaded mac os x program in which the program gets stuck waiting for events on files forever.  I wrote a small C program that exhibits the same problem and I think that this may be causing the problem in my original program, too.
The test program is a tiny "web server" and you can find it here: https://github.com/AndreasVoellmy/epollbug/blob/master/kqueueserver.c
The test program simply creates NUM_WORKER+1 threads where 1 thread runs a loop to accept new connections and the other NUM_WORKER "worker" threads actually serve the connections. Note that the accept thread distributes the accepted TCP connections among the different workers and the workers serve disjoint sets of connections.  Each worker thread runs a loop that uses kevent64 to wait for any of its sockets to be readable and uses the EV_ONESHOT flag when adding sockets to the watched files.
I test the program using the http server benchmarking program weighttp (http://redmine.lighttpd.net/projects/weighttp/wiki). I run it like this:
./weighttp -n 100 -c 10 -t 4 -k "10.12.0.8:8080"
where the IP address and port are where my test program are runnning. -n is the number of requests to make, -c is the number of concurrent requests to make and -t is the number of threads that weighttp will use to generate the http requests. weighttp makes the requests but gets stuck with some responses never coming back. For example, on a run with the above parameters, I get:
weighttp - a lightweight and simple webserver benchmarking tool
starting benchmark...
spawning thread #1: 3 concurrent requests, 25 total requests
spawning thread #2: 3 concurrent requests, 25 total requests
spawning thread #3: 2 concurrent requests, 25 total requests
spawning thread #4: 2 concurrent requests, 25 total requests
progress:   8% done
progress:  16% done
progress:  24% done
progress:  32% done
progress:  40% done
progress:  48% done
progress:  56% done
progress:  64% done
progress:  72% done
progress:  80% done
progress:  88% done
progress:  96% done
finished in 728 sec, 373 millisec and 310 microsec, 0 req/s, 0 kbyte/s
requests: 100 total, 100 started, 100 done, 95 succeeded, 5 failed, 0 errored
status codes: 95 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 30685 bytes total, 16340 bytes http, 14345 bytes data
In other words, 5 requests failed to get responses. On the test program (i.e. server) side, after 10 seconds, the test program prints out (using ioctl) which sockets have any data ready. Sure enough, I see that 5 sockets have a request waiting (weighttp requests are 90 bytes long):
socket 6 has 90 bytes of data ready
socket 8 has 90 bytes of data ready
socket 10 has 90 bytes of data ready
socket 12 has 90 bytes of data ready
socket 14 has 90 bytes of data ready
I would really appreciate getting some advice and help on this problem. I may be misunderstanding the semantics of kqueue operations and flags, or this may be a kernel bug.  By the way, this program is based on a very similar program I wrote, which uncovered a bug in Linux, which has since been fixed (http://lkml.indiana.edu/hypermail/linux/kernel/1301.0/00065.html).  To Linux's credit, the bug only appeared using lots of cores, whereas on os x it appears to occur using just two cores and two threads!
Regards,
Andi
P.S. in case it helps I also took a "sample" of the kqueueserver program at the point that it was waiting on the sockets while the sockets have data ready. Here is the result:
Sampling process 17982 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling kqueueserver (pid 17982) every 1 millisecond
Process:         kqueueserver [17982]
Path:            /Users/andre/repos/epollbug/kqueueserver
Load Address:    0x10b22b000
Identifier:      kqueueserver
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [17853]
Date/Time:       2013-02-06 17:22:26.909 -0500
OS Version:      Mac OS X 10.8.2 (12C3012)
Report Version:  7
Call graph:
    2665 Thread_568458   DispatchQueue_1: com.apple.main-thread  (serial)
    + 2665 start  (in libdyld.dylib) + 1  [0x7fff9099c7e1]
    +   2665 main  (in kqueueserver) + 85  [0x10b22cb15]
    +     2665 acceptLoop  (in kqueueserver) + 334  [0x10b22c6ee]
    +       2665 __accept  (in libsystem_kernel.dylib) + 10  [0x7fff8eff9996]
    2665 Thread_568459
    + 2665 thread_start  (in libsystem_c.dylib) + 13  [0x7fff85c63181]
    +   2665 _pthread_start  (in libsystem_c.dylib) + 327  [0x7fff85c76742]
    +     2665 workerLoop  (in kqueueserver) + 95  [0x10b22c8cf]
    +       2665 kevent64  (in libsystem_kernel.dylib) + 10  [0x7fff8effad2a]
    2665 Thread_568460
      2665 thread_start  (in libsystem_c.dylib) + 13  [0x7fff85c63181]
        2665 _pthread_start  (in libsystem_c.dylib) + 327  [0x7fff85c76742]
          2665 workerLoop  (in kqueueserver) + 95  [0x10b22c8cf]
            2665 kevent64  (in libsystem_kernel.dylib) + 10  [0x7fff8effad2a]
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
        kevent64  (in libsystem_kernel.dylib)        5330
        __accept  (in libsystem_kernel.dylib)        2665
Binary Images:
       0x10b22b000 -        0x10b22cfff +kqueueserver (??? - ???) <10550045-081D-3F86-A765-EE0D08E3F398> /Users/andreas/repos/epollbug/kqueueserver
    0x7fff6ae2b000 -     0x7fff6ae5f93f  dyld (210.2 - ???) <A40597AA-5529-3337-8C09-D8A014EB1578> /usr/lib/dyld
    0x7fff857d2000 -     0x7fff85800ff7  libsystem_m.dylib (??? - ???) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
    0x7fff859c0000 -     0x7fff859c0fff  libkeymgr.dylib (25.0.0 - compatibility 1.0.0) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
    0x7fff85ac4000 -     0x7fff85b13ff7  libcorecrypto.dylib (??? - ???) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
    0x7fff85c62000 -     0x7fff85d2efe7  libsystem_c.dylib (825.25.0 - compatibility 1.0.0) <8CBCF9B9-EBB7-365E-A3FF-2F3850763C6B> /usr/lib/system/libsystem_c.dylib
    0x7fff8614d000 -     0x7fff86158fff  libsystem_notify.dylib (98.5.0 - compatibility 1.0.0) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
    0x7fff86159000 -     0x7fff86161fff  liblaunch.dylib (442.26.2 - compatibility 1.0.0) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
    0x7fff87246000 -     0x7fff8724dfff  libcopyfile.dylib (89.0.0 - compatibility 1.0.0) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
    0x7fff87437000 -     0x7fff8745cff7  libc++abi.dylib (24.4.0 - compatibility 1.0.0) <E7BD9363-1D25-3551-A68A-2E2FF6ABECD7> /usr/lib/libc++abi.dylib
    0x7fff89df0000 -     0x7fff89df8ff7  libsystem_dnssd.dylib (??? - ???) <F0AE5B8E-C7CC-3393-927F-B65DB04016AA> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff89df9000 -     0x7fff89e61ff7  libc++.1.dylib (65.1.0 - compatibility 1.0.0) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
    0x7fff8a2a7000 -     0x7fff8a3bf92f  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
    0x7fff8a8ff000 -     0x7fff8a901fff  libquarantine.dylib (52.0.0 - compatibility 1.0.0) <4BE2E642-A14F-340A-B482-5BD2AEFD9C24> /usr/lib/system/libquarantine.dylib
    0x7fff8af64000 -     0x7fff8af65ff7  libremovefile.dylib (23.1.0 - compatibility 1.0.0) <DBBFAF35-AC78-3856-92F6-6E4FD9DF14A2> /usr/lib/system/libremovefile.dylib
    0x7fff8bc91000 -     0x7fff8bc9ffff  libcommonCrypto.dylib (50000.0.0 - compatibility 1.0.0) <DA98AE56-BC3F-3AD0-9660-8CC79E4AECE6> /usr/lib/system/libcommonCrypto.dylib
    0x7fff8c0db000 -     0x7fff8c111fff  libsystem_info.dylib (??? - ???) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
    0x7fff8c61d000 -     0x7fff8c61eff7  libSystem.B.dylib (169.3.0 - compatibility 1.0.0) <365477AB-D641-389D-B8F4-A1FAE9657EEE> /usr/lib/libSystem.B.dylib
    0x7fff8c6a9000 -     0x7fff8c6abff7  libunc.dylib (25.0.0 - compatibility 1.0.0) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
    0x7fff8c6ac000 -     0x7fff8c6b2ff7  libunwind.dylib (35.1.0 - compatibility 1.0.0) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
    0x7fff8c9de000 -     0x7fff8ca00ff7  libxpc.dylib (140.41.0 - compatibility 1.0.0) <FAC04D8B-680E-325F-8F0C-DD69859D0E01> /usr/lib/system/libxpc.dylib
    0x7fff8de1f000 -     0x7fff8de25fff  libmacho.dylib (829.0.0 - compatibility 1.0.0) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
    0x7fff8efe8000 -     0x7fff8f003ff7  libsystem_kernel.dylib (2050.20.9 - compatibility 1.0.0) <EC0A9F5B-C9F5-336B-A7DD-49A718042F39> /usr/lib/system/libsystem_kernel.dylib
    0x7fff8f02e000 -     0x7fff8f033fff  libcache.dylib (57.0.0 - compatibility 1.0.0) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
    0x7fff8f14e000 -     0x7fff8f15cff7  libsystem_network.dylib (??? - ???) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
    0x7fff8f1aa000 -     0x7fff8f1abfff  libsystem_blocks.dylib (59.0.0 - compatibility 1.0.0) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
    0x7fff8f71c000 -     0x7fff8f731ff7  libdispatch.dylib (228.23.0 - compatibility 1.0.0) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
    0x7fff8f732000 -     0x7fff8f733ff7  libsystem_sandbox.dylib (??? - ???) <3C3B03CF-C525-3CB3-8557-62E91B93AC95> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8f742000 -     0x7fff8f747fff  libcompiler_rt.dylib (30.0.0 - compatibility 1.0.0) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
    0x7fff8fd39000 -     0x7fff8fd85ff7  libauto.dylib (??? - ???) <73CDC482-16E3-3FC7-9BB4-FBA2DA44DBC2> /usr/lib/libauto.dylib
    0x7fff9099a000 -     0x7fff9099dff7  libdyld.dylib (210.2.3 - compatibility 1.0.0) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
    0x7fff91130000 -     0x7fff91131ff7  libdnsinfo.dylib (453.18.0 - compatibility 1.0.0) <E7595861-ECF9-336E-9901-BED2620FAA80> /usr/lib/system/libdnsinfo.dylib
Sample analysis of process 17982 written to file /dev/stdout

You'll need to do a manual rebuild.
To create and populate a new *iPhoto 09* library:
Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
I stress: this is a brand new, green-field starting over. The only thing left from your previous library are the original photos.
In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
Move the iPhoto Library to the desktop
Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
When you're sure all is well you can delete the iPhoto Library on your desktop.
Regards
TD

Similar Messages

  • LabVIEW 8.2 Multicolumn Listbox Edit Cell Event Bug

    I've observed an odd behavior with the "Edit Cell?" event with multicolumn listboxes. If the "Edit Position" is set when clicking on the listbox and the "Edit Cell?" event is trapped with discard set to false, when clicking outside of the list box, previous edits are lost.   I have attached a simple example of this bug.
    Attachments:
    Listbox Edit Cell Event Bug.vi ‏19 KB

    Thank you for the update Fran.
    I lost my bet and you earned your stars.
    So it sounds like the issue was the multiple event structures alone.
    I just like to keep track of what the final fixes are.
    Ben
    Message Edited by Ben on 12-06-2006 04:50 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Question re installing Leopard/Time Machine and my lost Events

    I posted a question about my lost Events the other day. I've tried to rebuild my library using Library Manager but so far I still have one event with over 5,000 photos and the few events I've created or re-created since that mysteriously happened.
    I really really don't want to go through and organize these over again.
    Wondering if I would be able to use Time Machine to go back and restore my events if I were to install Leopard now.

    No that wouldn't work. Time machine will not know about anything from before it is installed.
    Regards
    TD

  • Lost Events in Library

    I only have one event in my library, I used have more. When I open finder and look at the library file, its almost 40GiGs. But only 16 photos show up, when I open it. Any ideas why this is happening or how to recover those lost events?

    You'll need to do a manual rebuild.
    To create and populate a new *iPhoto 09* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    I stress: this is a brand new, green-field starting over. The only thing left from your previous library are the original photos.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    Regards
    TD

  • How do i recover lost events in iPhoto?

    how do i recover lost events in iPhoto?

    We need to know more to be able to help. What caused your events to be lost? What happened?
    And in what way are the events lost? Does your iPhoto Library show less events all of a sudden? Did events accidentally get merged?

  • Event Handler/Cr​eate User Event bug

    This is a problem I've run into a few times on my system (Win2k) so I finally went back and reproduced it step by step since it wasn't too hard. It causes LabVIEW to crash and exit without saving.
    - Create an Event Handler
    - Place 'Register Events', wire output to dynamic event terminal
    - Place 'Create User Event', wire output to 'Register Events'/User Event
    - Place an Empty String Constant [""], wire to input of 'Create User Event'
    - Set empty string property -> Visible Items > Label = True
    - Rename label from "Empty String Constant" to other such as "Event"
    OR
    - Create a cluster constant with something in it
    OR
    - Place a boolean constant
    - Set boolean property -> Visible Items > Label = True
    - Name label something su
    ch as "Event"
    - 'Add Event Case...' to the Event Handler, select Dynamic / : User Event
    - Delete the constant wired to 'Create User Event'.
    - Place a constant of a different data type and wire it to the input of 'Create User Event'
    LabVIEW immediately disappears (all changes are lost) and this error is displayed:
    ================================
    LabVIEW.exe has generated errors and will be closed by
    Windows. You wlil need to restart the program.
    An error log is being created.
    ================================
    If there is a more appropriate place to post things of this nature that don’t really add to the discussion group, but need to be brought to the attention of NI, please post a URL or submittal method. Thanks...

    Thanks for the detailed request. We are aware of this exact issue, and the problem was actually fixed for LabVIEW 7.0 for Mac/Unix. Unfortunately, it did not get fixed for the initial release of LabVIEW 7.0 for Windows, but we have plans to include the fix in the first LabVIEW patch for 7.0.
    Also, the Discussion Forum is great for notifications of this kind. For future reference, you also have the options of emailing NI engineers directly, or calling us with suspected bug fixes, if you would like more direct communication.
    Thanks again, and have a great day!
    Liz Fausak
    Applications Engineer
    National Instruments
    www.ni.com/support

  • Recurring calendar event bug from Exchange

    In Outlook, we can create a recurring meeting for things like the first Monday of the month, or the 5th of every month.  But if we schedule a meeting to occur the second weekday of every month, it appears wrong on our phones for every date except the very first one.  In other words, each subsequent month is wrong.  For what it's worth, we also get incorrect results on Android phones.  But Windows phones handles it properly. 
    Has anybody else run into this on their iPhone, and if so, did anybody find a solution other than creating a bunch of individual meetings to hit the proper dates??

    Just following up if anybody else has run into this bug in the way the iOS interprets certain recurring calendar events synched from Exchange?
    To experience this bug, create a recurring event in Exchange (via Outlook) and set it to occur the second weekday of every month.  The first month on your iPhone/iPad will be correct, and every month after it will be very wrong. 
    Hopefully Apple can fix this at some point. 

  • 5700 battery events - bug or restriction?

    i wanted to assign a tone to the battery recharge event on my 5700 but it just allows me to choose between options Silent and Tone. Unlike the the other events in the audio themes section the battery events doesn't open a list of audio files when the Tone option is checked. Tried changing the Audio Theme from Nokia to another, Hip-Hop(for ex.) but it didn't help at all. So i wonder is that on purpose or it's a bug?! If bug i hope it would be fixed in the incoming new firmware(i pray) along all the other annoying thingies. Regards.

    I have had your exact problem with my old 3GS, now I cannot even get it to turn on, I still see that it is supposed to be charging though, but it never charges any so it seems.
    I replaced the Lower Dock Connector Assembly back when it still charged while hooked to my PC, and it found it made no real difference.
    http://www.amazon.com/gp/product/B003Y5YXLK/ref=oh_details_o05_s00_i00?ie=UTF8&p sc=1 
    At this point I am not sure if I should replace the battery and hope for the best, or just junk the phone, I cannot really sell it if I cannot reset it...

  • -NEED HELP- iOS 6.1.2 in Calendar App for Adding Events BUG (And Spelled Incorrectly: Invitees)

    Dear Everyone, When I just add the events, I type the name and location, adjusting the time start and end, when I sliding up it looks like for spelled incorrectly: Invitees (Invites), and need bug fixes. I already feedback iPod Touch Team from my computer. I know Apple will fix it. Thanks, 1004blueAppleSupportCommunties (1004blueAppleSupportCommunities)

    "Invitee" means an invited Person. This is the section where you list your "Invitees." It's not a bug, nor a spelling error. It's 100% correct as it is.

  • I-Photo: Lost events

    Hello to everybody.
    In the preceeding question, I asked how to delete the addresses from I photo. I received the information to delete the file com.apple.iphoto.plist from Your user and library. I made a mistake. I deleted this file plus another similar file. After re-opened I-photo, he starts from the begin. All the events are DISAPPEARED. Did I lost all the events with the photo???
    I have an external hard disk, I did the last backup with time machine, but after backup, the events in I-photo are not there again.
    How I have to do??
    Thank you very much for your support.
    Marco

    If you've been doing TM backups they should be there from several days ago.  Start iPhoto and have it as the frontmost app.  Now start TM.  iPhoto has a special interface in TM.  Look at the tick marks on the right indicating previous backups and click on one.  You should see the events/photo reappear.   Select what you need and click restore.
    Regards,
    Captfred

  • Signed applet event bug for JTextFields

    Suppose you have a simple applet with two text fields. One is created in the Applet.init method, the other when a custom public method is called from the browser.
    When the applet is not signed, both fields are editable.
    Once signed, only the the first field (the .init one) is editable, the other one doesn't catch keyboard events anymore.
    Note: this custom method is called by javascript when clicking on a HTML button.
    Is there a workaround?

    I am experiencing the same problem - I notice it does not happen on OS9.2 using IE but appears a problem on all browsers on OSX
    Apple gave me the following reply.....
    Re: Bug ID# 3268633: cannot load applet class under https connection
    Hello Andrew,
    Thank you for bringing this problem to our attention. We have received feedback
    from engineering on your
    reported issue.
    Please know that to get Java to recognize the certificate you will need to do
    one of two things, depending
    on which VM you are using. Since you want it to work with Internet Explorer, we
    will assume Java 1.3.1.
    In Java 1.3.1 you'll need to add the certificate to
    /Library/Java/Home/lib/security/cacerts using
    /usr/bin/keytool to import the certificate into the certificate database.
    In Java 1.4.1 you should be able to just add the certificate to the keychain
    using certtool. For more
    details on how to do this, please refer to the information found at
    <http://java.sun.com/j2se/1.4.1/docs/tooldocs/solaris/keytool.html>. After
    doing so, if you should require
    further help from Apple in resolving this issue, we recommend that you request
    assistance from Developer
    Technical Support. This must be done by filing a Technical Support Incident.
    So I am supposed to tell every Mac user to do the above am I?!!!

  • Lost Events

    I keep a daily journal.  Each days journal is a reoccuring weekly event with no end date.  Each day I edit that days Journal and save as "Save for this event only".  This approach works very well except some events get lost.  I just noticed most Journal events from last month have been lost.  It seems they are lost due to the sync services between iCloud the Mac computers and iPhone.  I have seen new events entered in the iPhone become lost just after entering them.  Is there an inherent problem with the iCloud calendar sync that occurs with reoccuring events?  Is there a workaround to avoid loosing events?

    I am not sure what is causing this to happen, but you may want to try an application that is meant for daily journaling like Day One.

  • Lost events in the calender

    I lost all the events, reminders and notes from my iphone's(4s) calender and even from the icloud. Recently I updated the software to 7.1. How can I get all the data back?

    I have a similar problem on my new 4S. Syncing with Google calendars successfully for 2 years with my previous iPhone 3G, the newer handset has recently delivered the error you mentioned in your post - events being listed one day earlier than on my Day View, but worse than that, everything shifted to a Day before in all views.
    I seem to have recovered it now and it did this...
    Hard reset of iphone (made no difference actually).
    Backed up iPhone via Itunes.
    Switched off Calendar Sync under Google account on iphone (Settings/General) - deleted calendar on iphone as prompted onscreen.
    Switched Calendar sync back on iphone (under Settings/General/etc).
    Set my timezone on the iPhone to Manual for where I live (although on Auto is was already set correctly anyway)
    Result? I got my Day and Month view back properly but NOTHING appeared in List view until I did teh following:
    Under iPhoen Calendar - viedwed the list fo Calendars and unchecked mine (only one in my case which was Google Calendar). Re-checked it and then looked at list view and its all back correctly.
    Itrs true to say that this all started going wrong when I travelled into a different time zone two weeks ago, but that does not explain why when back in my own timezone it failed to correct itself. Another one of Apple's flakey implementations I guess. I moved away from using Mobile Me for calendar sync and will not use iCloud because it lost all my work calendar info and deleted my calendars on MobileME and Outlook on my PC. Since swicthing to Google calendar sync I have had no issues other than this recent thing above which I seem to have corrected.

  • Lost events in pictures

    Hi all,
    I had many "events" in my pictures folders, with time stamp of the pictures date.
    I connected my iPad to my pc, to copy pictures from iPad to the pc.
    After re opening the pictures, all the events were lost and replaced by number+ "IMPRT"
    Any Idea how to restore the time stamp ?
    Thanks,
    Yoav.

    OldVill:
    Rebuild the library as follows: launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select the first three options.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Lost Events from Time Machine

    I've lost some Events from a Time Machine backup and I'm pretty sure that I'm never going to get them back but I wondered if anyone else has had this experience and whether you were able to explain what happened.  I want to make sure it doesn't happen again.
    I regularly make time machine backups, and last year the following happened:
    12 July 2012 - Time Machine Backup
    29 July 2012 - Import a new event to IPhoto
    30 August 2012 - Import a new event to IPhoto
    29 September 2012 - Time Machine Backup
    19 October 2012 - Time Machine Backup
    I know the two events imported successfully because I used them to upload a select few photo's to FB and I also ordered a few from photobox.
    This week I viewed the 19 October backup and the two events are missing, they are also missing from the September backup.  I have noticed that both the iphoto backup files in Sep and Oct say last modified on 12 July 2012 which is a bit wierd.
    I've tried TestDisk and PhotoRecovery, and also bought DiskDrill, I recovered over 60,000 jpegs but these two events have completely disappeared.  I ran the software recovery on the MacBook HardDrive, the TimeMachine Harddrive and my camera. No luck on any of them.
    The camera is a Lumix Panasonic DMC-FZ38 in case that matters.
    If anyone has any idea whats gone wrong, I'd be grateful of some help so I dont lose any more photos.  I've tried the Genius Bar at Apple but my helper didn't know what to suggest.
    Cheers

    A couple of things as you note TM is not an archive system. It is a back up system and anything removed from the computer will eventually be removed from the backup
    Also TM is not designed to be run occasionally. It should always be running doing hourly backups. Running it the way you do totally defeats it purpose and because each run has so many changes makes it much more likely to have problems are for you to lose track of what you have. Based on your dates I'm guessing that for some reason a number of your runs failed and you missed or ignored the failure notices
    And note that TM could not delete an event. It could fail to complete a backup so the latest library is not backed up or it can delete so  older library so old events go away but is can not parse the iPhoto library and remove an event
    I strongly suggest you use TM the way it was designed and leave it always running
    LN

Maybe you are looking for

  • How to get the bound object of an external table with OMB

    Hello, I try to find it but without success. So may be one of you, know this secret information. I want to synchronize with the help of an OMB script my external tables. OMBSYNCHRONIZE FLAT_FILE '/MY_PROJECT/MY_FLAT_FILE_MODULE/MY_FLAT_FILE' RECORD '

  • Disconnection problem need to find an email addres...

    I'm trying to get a problem with my disconnection resolved. Basically, my husband lost his job in January and as I don't work due to ill health we were living off jobsekkers. This meant we struggled to pay the BT bill and as we needed a phone line an

  • Mac OS X hanging randomly (namely freezing, needing a hard reset)

    Hi, I'll present my problem as straightforward as possible: ever since August 2nd (when I installed a number of updates, including Airport Extreme Update 2007-004 and Security Update 2007-007 Intel), my machine started to freeze needing a hard reboot

  • Airdrop discovery takes ages

    Hi, I'm posting a question here because every-time I want to use AirDrop, wether it be from my iPhone to my MacBook Air or vice-versa, AirDrop's searching of a device takes a really long time, and sometimes it doesn't even work at all. Both my device

  • Central User Management Implementation

    H In one of our customer landscape, there are 10 prod instances and Virsa is checking the conflicts against each system. Now the customer would like to adopt to Central User Management (where users and roles are maintained centrally from one instance