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

Codekit hanging after each file compilation #695

Open
tenfef opened this issue Oct 31, 2013 · 8 comments
Open

Codekit hanging after each file compilation #695

tenfef opened this issue Oct 31, 2013 · 8 comments

Comments

@tenfef
Copy link

tenfef commented Oct 31, 2013

Hi, I rely on Codekit to compile JS and Less for a fairly large scale web app.
I've upgraded to Mavericks and it is now hanging for us after every script compile, and the only way to use it is to force quit and re-open Codekit to get it to work.

What can I send you to help debug what's going on?

@bdkjones
Copy link
Owner

First, make sure you don't have an infinite import loops in your code. That is, File A imports File B, which imports File A.

Second, reset the app by quitting it and then relaunching it while holding down the shift key. Continue to hold shift until the window appears.

@tenfef
Copy link
Author

tenfef commented Oct 31, 2013

After doing step 2 it now crashes on launch. :(

@bdkjones
Copy link
Owner

I need the crash report it's generating. If you click "Report", it should bring up a window that displays the full crash log. Copy and paste that into this thread.

@tenfef
Copy link
Author

tenfef commented Oct 31, 2013

I also tried deleting the app support files, and it still happens.

There was no crash report because it just dies on launch with no dialog.
But I dug this up from the console if it helps:

1/11/13 9:46:17.604 am CodeKit[13712]: Migrating old fileTypes to new, 1.3+ fileTypes
1/11/13 9:46:17.663 am CodeKit[13712]: An uncaught exception was raised
1/11/13 9:46:17.663 am CodeKit[13712]: Couldn't posix_spawn: error 9
1/11/13 9:46:17.664 am CodeKit[13712]: (
0   CoreFoundation                      0x00007fff8589441c __exceptionPreprocess + 172
1   libobjc.A.dylib                     0x00007fff8195ae75 objc_exception_throw + 43
2   CoreFoundation                      0x00007fff858942cc +[NSException raise:format:] + 204
3   Foundation                          0x00007fff83344214 -[NSConcreteTask launchWithDictionary:] + 3167
4   CodeKit                             0x000000010c9b508f __52-[LPCompiler initWithAppController:modelController:]_block_invoke + 216
5   libdispatch.dylib                   0x00007fff8903f1d7 _dispatch_call_block_and_release + 12
6   libdispatch.dylib                   0x00007fff8903c2ad _dispatch_client_callout + 8
7   libdispatch.dylib                   0x00007fff8903e09e _dispatch_root_queue_drain + 326
8   libdispatch.dylib                   0x00007fff8903f193 _dispatch_worker_thread2 + 40
9   libsystem_pthread.dylib             0x00007fff8c274ef8 _pthread_wqthread + 314
10  libsystem_pthread.dylib             0x00007fff8c277fb9 start_wqthread + 13

)

1/11/13 9:46:17.664 am CodeKit[13712]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Couldn't posix_spawn: error 9'
*** First throw call stack:
(
0   CoreFoundation                      0x00007fff8589441c __exceptionPreprocess + 172
1   libobjc.A.dylib                     0x00007fff8195ae75 objc_exception_throw + 43
2   CoreFoundation                      0x00007fff858942cc +[NSException raise:format:] + 204
3   Foundation                          0x00007fff83344214 -[NSConcreteTask launchWithDictionary:] + 3167
4   CodeKit                             0x000000010c9b508f __52-[LPCompiler initWithAppController:modelController:]_block_invoke + 216
5   libdispatch.dylib                   0x00007fff8903f1d7 _dispatch_call_block_and_release + 12
6   libdispatch.dylib                   0x00007fff8903c2ad _dispatch_client_callout + 8
7   libdispatch.dylib                   0x00007fff8903e09e _dispatch_root_queue_drain + 326
8   libdispatch.dylib                   0x00007fff8903f193 _dispatch_worker_thread2 + 40
9   libsystem_pthread.dylib             0x00007fff8c274ef8 _pthread_wqthread + 314
10  libsystem_pthread.dylib             0x00007fff8c277fb9 start_wqthread + 13
)

@ste7enm
Copy link

ste7enm commented Aug 12, 2019

Similar issue for me. Would love a way to turn off the "Server" functionality of CodeKit, as I believe it's a contributing factor in this. I want to monitor my files for compiling, but I don't need CodeKit to act as a local server for testing / preview. Turning that functionality off and just having it act as a low-key file monitor and compiler would probably give me better performance and reduce the number of crashes / hangs.

Edit: Whoa, didn't notice how old this open issue was... Well, my comment stands. Ha.

@bdkjones
Copy link
Owner

This is an archived repo for CodeKit 1.x, which was discontinued over 5 years ago. Are you running CodeKit 3.9.2?

@ste7enm
Copy link

ste7enm commented Aug 19, 2019

This is an archived repo for CodeKit 1.x, which was discontinued over 5 years ago. Are you running CodeKit 3.9.2?

Sorry, @bdkjones – I noticed that after I posted, this was the repo that came up in Google when I was searching whether or not there was a way to turn off the server functionality of CodeKit. I was actually running 3.6.1 (just noticed it wasn't updating because of that dumb error when you migrate to a new machine and it thinks the app isn't in the Applications folder).

The latest version is less temperamental, but it still hangs on start / occasionally. It struggles with big projects. I think I'd still like the ability to turn off the web server to hopefully improve performance... Even though this isn't the right place to make a request, after all.

@bdkjones
Copy link
Owner

bdkjones commented Aug 19, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants