
Latest trunk: cannot import key
Reported by Alex (via GPGTools) | December 5th, 2011 @ 05:36 PM | in 1.7 (closed)
See http://gpgtools.lighthouseapp.com/projects/65684/tickets/100-cant-i... - try to import the second key.
Comments and changes to this ticket
-
Jeff burdges December 5th, 2011 @ 11:49 PM
Yup, definitely broken, both importFiles and importKeyFromText exhibit this problem.
We're seeing a invalid selector when dealing with the file data, seemingly around the call to [GPGController importFromData], but not obviously inside it.
05/12/2011 17:18:49.855 GPGServices: (
0 CoreFoundation 0x00007fff8d8c4286 __exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff8445ed5e objc_exception_throw + 43 2 CoreFoundation 0x00007fff8d9504ce -[NSObject doesNotRecognizeSelector:] + 190 3 CoreFoundation 0x00007fff8d8b1133 ___forwarding___ + 371 4 CoreFoundation 0x00007fff8d8b0f48 _CF_forwarding_prep_0 + 232 5 GPGServices 0x0000000100004fcb -[GPGServices importFiles:] + 413 6 GPGServices 0x00000001000056e9 -[GPGServices dealWithFilesPasteboard:userData:mode:error:] + 281
-
Jeff burdges December 7th, 2011 @ 10:37 PM
Interestingly, the keys actually imports correctly, but we still get a SIGABRT because some pointer is freed inappropriately.
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:
objc[33507]: garbage collection is OFF
*** error for object 0x100649dd0: pointer being freed was not allocatedThread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff852ffce2 pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8e5cd7d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff8e5bea7a abort + 143
3 libsystem_c.dylib 0x00007fff8e61d84c free + 389
4 libobjc.A.dylib 0x00007fff84456d53 object_dispose + 57
5 com.apple.CoreFoundation 0x00007fff8d8516e6 -[NSObject dealloc] + 102
6 com.apple.CoreFoundation 0x00007fff8d85166e -[NSArrayM dealloc] + 430
7 libobjc.A.dylib 0x00007fff8445703c (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 434
8 com.apple.CoreFoundation 0x00007fff8d851f75 CFAutoreleasePoolPop + 37
9 com.apple.Foundation 0x00007fff83f845cd -[NSAutoreleasePool release] + 154
10 org.gpgtools.gpgservices 0x0000000100005580 -[GPGServices dealWithPasteboard:userData:mode:error:] + 573
11 com.apple.AppKit 0x00007fff88d7d6b7 -[NSServiceListener doInvokeServiceIn:msg:pb:userData:error:unhide:] + 1020 -
steve December 9th, 2011 @ 12:17 PM
hey Jeff, nice to watch the progress on GPGServices. Do you need help with this specific issue?
-
Jeff burdges December 19th, 2011 @ 09:01 PM
- Tag set to bug
- Importance changed from to
108 looks liek a duplicate of this ticket. I'll spend some quality time with this one soon, but my initial inspection didn't reveal the precise problem.
If you notice any scenarios where it's behavior changes, then let me know.
-
Jeff burdges January 2nd, 2012 @ 02:37 AM
- State changed from open to fixed
I've just fixed this one in commit 39a4c777ae2456da077ca8d2b2cd3750f190e8d0 (2 Jan), but both importFiles and importKeyFromData still handle reporting the changes terribly. I should probably lift that code from GPG Keychain Access.
-
-
steve August 19th, 2013 @ 11:02 PM
- Tag cleared.
- Assigned user cleared.
- Importance changed from to Low
-
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Referenced by
-
108 Importing key: crash Duplicate of 104
-
112 Another problem with services If so, that feature is still broken. Import manually for ...