#183 ✓fixed
Virgil Dupras

Hard crash on adding folder

Reported by Virgil Dupras | November 24th, 2011 @ 04:00 PM

I experienced a hard crash on adding a folder to dupeGuru PE 2.3.0 and I can reproduce it although I haven't identified the underlying cause yet.

  1. Launch the app with 2 restored folders: ~/Downloads and iPhoto Library. iPhoto Library is in an Excluded state.
  2. Select the ~/Download folder and click the "-" button.
  3. Select the iPhoto Library item and click the "<" button which replaced the "-" button (to un-exclude).
  4. Click on the "-" button.
  5. Click on the "+" button.
  6. In the file dialog, select the ~/Downloads folder and click open.
  7. Crash

The log is attached.

Comments and changes to this ticket

  • Virgil Dupras

    Virgil Dupras November 24th, 2011 @ 04:00 PM

    • Tag changed from bug to bug, cocoa
  • Virgil Dupras

    Virgil Dupras November 25th, 2011 @ 07:27 PM

    It really has something to do with two root folders with the second being the iPhoto Library in excluded state. I tried a couple of other possibilities (another folder in excluded state, the iPhoto Library in normal state, etc) and I didn't get the crash. On point 6 however, it's not important that it's the ~/Downloads folder that is being added. I tried another folder and it crashed too.

  • Virgil Dupras

    Virgil Dupras November 25th, 2011 @ 07:46 PM

    Oh, here's something interesting: This crash doesn't happen in 32-bit mode.

    It looks like I'll have to update to the latest version of pyobjc (I see in the changelogs that libffi was updated to fix x86_64 issues). I hope that it will not cause too much troubles.

  • Virgil Dupras

    Virgil Dupras November 25th, 2011 @ 08:48 PM

    I updated pyobjc on my dev machine to the repo's tip (eebec14eca41) and it fixed the problem. There have been many changes in pyobjc in between this version and the one that I was using before (namely a big and cool-looking change in the way metadata is handled) so I hope it will not cause new problems, but I'll try it for a while before I update pyobjc on my build machine (and I'll set the ticket as fixed after I've updated the build machine).

  • Virgil Dupras

    Virgil Dupras November 29th, 2011 @ 04:48 PM

    • State changed from “accepted” to “fixed”

    I've updated the OS X build machine to pyobjc's current tip.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket