You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On macOS, some usage of the Objective-C runtime can cause issues when forking. This is a known issue but is not specifically a bug in Falcon.
4
+
5
+
## Usage
6
+
7
+
### Run the server
8
+
9
+
```bash
10
+
bundle exec falcon host
11
+
```
12
+
13
+
It should start correctly with no errors.
14
+
15
+
Now, comment out the preload group:
16
+
17
+
```ruby
18
+
# group :preload do
19
+
gem 'rdkafka', '~> 0.21.0'
20
+
# end
21
+
```
22
+
23
+
If you run the server again, it will fail:
24
+
25
+
```
26
+
objc[9330]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
27
+
objc[9330]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
0 commit comments