Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppBox 2 crashes while generating shareable link #79

Closed
Otterslidestudio opened this issue Nov 1, 2017 · 6 comments
Closed

AppBox 2 crashes while generating shareable link #79

Otterslidestudio opened this issue Nov 1, 2017 · 6 comments
Assignees
Labels

Comments

@Otterslidestudio
Copy link

I'm trying AppBox 2 but the program "quits unexpectedly" every time it gets to the end and attempts to generate the shareable link. I did not have this problem with AppBox 1. I am running under MacOS 10.11.6

@vineetchoudhary
Copy link
Member

Hi, I got the crash report and I'll fix this next release (probably this weekend).

Crash Report

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x7fff86cbb4da __exceptionPreprocess
1  libobjc.A.dylib                0x7fff9916373c objc_exception_throw
2  CoreFoundation                 0x7fff86cb6d84 -[NSSet intersectsSet:]
3  Foundation                     0x7fff911c15c2 NSKeyValueWillChangeBySetMutation
4  Foundation                     0x7fff9111b65d NSKeyValueWillChange
5  Foundation                     0x7fff911c14c7 -[NSObject(NSKeyValueObserverNotification) willChangeValueForKey:withSetMutation:usingObjects:]
6  CoreData                       0x7fff981e2e92 _sharedIMPL_addObjectToSet_core
7  AppBox                         0x103fb596a +[Project addProjectWithXCProject:andSaveDetails:] (Project+CoreDataClass.m:166)
8  AppBox                         0x103fa022e -[ShowLinkViewController viewDidLoad] (ShowLinkViewController.m:28)
9  AppKit                         0x7fff92069dd1 -[NSViewController _sendViewDidLoad]
10 CoreFoundation                 0x7fff86c31cef -[NSSet makeObjectsPerformSelector:]
11 AppKit                         0x7fff91fe3df9 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:]
12 AppKit                         0x7fff920f45a7 -[NSNib _instantiateNibWithExternalNameTable:options:]
13 AppKit                         0x7fff920f41f7 -[NSNib _instantiateWithOwner:options:topLevelObjects:]
14 AppKit                         0x7fff920f348c -[NSViewController loadView]
15 AppKit                         0x7fff920609a6 -[NSViewController _loadViewIfRequired]
16 AppKit                         0x7fff92060911 -[NSViewController view]
17 AppKit                         0x7fff927f1182 +[NSWindow windowWithContentViewController:]
18 AppKit                         0x7fff92656885 -[NSViewControllerSheetTransition animatePresentationOfViewController:fromViewController:]
19 AppKit                         0x7fff92510368 -[NSViewController presentViewControllerAsSheet:]
20 AppKit                         0x7fff925105d7 -[NSViewController performSegueWithIdentifier:sender:]
21 AppBox                         0x103fab7a2 -[HomeViewController logAppUploadEventAndShareURLOnSlackChannel] (HomeViewController.m:815)
22 AppBox                         0x103fbda85 __47-[UploadManager createManifestShortSharableUrl]_block_invoke_2 (UploadManager.m:467)
23 libdispatch.dylib              0x7fff9bbfc93d _dispatch_call_block_and_release
24 libdispatch.dylib              0x7fff9bbf140b _dispatch_client_callout
25 libdispatch.dylib              0x7fff9bc04c1c _dispatch_main_queue_callback_4CF
26 CoreFoundation                 0x7fff86c709e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
27 CoreFoundation                 0x7fff86c2f8dd __CFRunLoopRun
28 CoreFoundation                 0x7fff86c2eed8 CFRunLoopRunSpecific
29 HIToolbox                      0x7fff8806b935 RunCurrentEventLoopInMode
30 HIToolbox                      0x7fff8806b76f ReceiveNextEventCommon
31 HIToolbox                      0x7fff8806b5af _BlockUntilNextEventMatchingListInModeWithFilter
32 AppKit                         0x7fff92017df6 _DPSNextEvent
33 AppKit                         0x7fff92017226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
34 AppKit                         0x7fff9200bd80 -[NSApplication run]
35 AppKit                         0x7fff91fd5368 NSApplicationMain
36 libdyld.dylib                  0x7fff8be0c5ad start
37 ???                            0x1 (Missing)

@vineetchoudhary vineetchoudhary self-assigned this Nov 2, 2017
@vineetchoudhary vineetchoudhary added this to Completed (Task+Issues) in AppBox for Mac Nov 2, 2017
@Otterslidestudio
Copy link
Author

Otterslidestudio commented Nov 2, 2017

Okay. Thanks.

I have another issue that has happened in both versions. I have a 300 mb app that has videos in it. Most are less than 10 mb, but one video is 46 mb and when I try to upload the app with that video in it, the upload stalls out at 12%, then AppBox restarts the upload before stalling out at 12% and restarting again. It will loop like this forever until I cancel the upload.

If I remove this one video, or replace it with a smaller video (100k for example) with the same name, the app uploads without stalling or restarting. Any ideas?

@vineetchoudhary
Copy link
Member

Hi, I resolved this issue.

I'm trying AppBox 2 but the program "quits unexpectedly" every time it gets to the end and attempts to generate the shareable link. I did not have this problem with AppBox 1. I am running under MacOS 10.11.6

Please download the updated version 2.0.2 and let me know if you still facing that issue or not.

@vineetchoudhary
Copy link
Member

I know dropbox sdk have completely different approach to handle large file upload/download. I need to implement that in AppBox. Also, at this point dropbox objective-c sdk only reliable for file with size 150MB.

@Otterslidestudio
Copy link
Author

The new version does not crash at the end of the upload. Thank you.

@vineetchoudhary
Copy link
Member

vineetchoudhary commented Jan 14, 2018

I know dropbox sdk have completely different approach to handle large file upload/download. I need to implement that in AppBox. Also, at this point dropbox objective-c sdk only reliable for file with size 150MB.

Merge with #88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
AppBox for Mac
  
Done (Task+Issues)
Development

No branches or pull requests

2 participants