Drag-and-drop crashes

  • I have a Mac OS app that worked fine in Snow Leopard.  In moving up recently to Lion, I also moved up to Xcode 4.4 and recompiled the app, targeting 10.6 but without otherwise changing the source code.  I got two problems when running the resulting app under Lion.

    I fixed the first problem by deselecting the "restorable" checkbox in all the windows.

    My remaining problem is that drag-and-dropping an input file crashes the app.  Likewise, opening the app by double-clicking its input file also crashes.  Opening input files from within the app does not cause a crash; everything works perfectly in that case.

    Since the docs are voluminous, could anyone suggest where I should start looking?  Clearly, something here has changed since Snow Leopard.

    Thanks very much.

    --
    Michael P. McLaughlin
  • On Mon, Jul 30, 2012 at 10:31 PM, McLaughlin, Michael P.
    <mpmcl...> wrote:
    > I have a Mac OS app that worked fine in Snow Leopard.  In moving up recently to Lion, I also moved up to Xcode 4.4 and recompiled the app, targeting 10.6 but without otherwise changing the source code.  I got two problems when running the resulting app under Lion.
    >
    > I fixed the first problem by deselecting the "restorable" checkbox in all the windows.
    >
    > My remaining problem is that drag-and-dropping an input file crashes the app.  Likewise, opening the app by double-clicking its input file also crashes.  Opening input files from within the app does not cause a crash; everything works perfectly in that case.
    >
    > Since the docs are voluminous, could anyone suggest where I should start looking?  Clearly, something here has changed since Snow Leopard.

    I would tend to believe that you should do what BugReporter requires
    when a crash is being reported: provide the crash report (or the
    interesting part). Otherwise, it's difficult to guess where the
    problem is coming from.
previous month july 2012 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today