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
Crash while using Mojolicious and Proc::Async #5429
Comments
From @zoffixznetI wrote a websocket Mojolicious app that interfaces with a shell it pops open with Proc::Async. The problem is it crashes about 50% of the the time with either "Segmentation fault" message or a wall of output (attached) and "Aborted" message; even that output seems to vary as some of it contains mentions of "NativeCall::Types::Pointer<-1272678512> in p5_to_p6" (also attached). The program is two files (websocket.p6 and templates/index.html.ep) available here: https://github.com/zoffixznet/mu/tree/6c7a3db5b2fd63c9efa3cfa0e2fd12ae4a0ba570/mojo-websocket The app is started with perl6 websocket.p6 daemon To produce the crash, just type "ls" into the text box in the browser and hit enter. If it doesn't happen, restart the app and attempt again. I get the crash about 50% of the time. Curiously, the crashes seem to have stopped when I made the app single-file (available here: https://github.com/zoffixznet/mu/blob/829ff70e64647f0a2892fd882115bf1951676211/mojo-websocket/websocket.p6 ). I was unable to reproduce even a single crash. |
From @zoffixznet[Wed Jul 6 09:34:13 2016] [info] Listening at "http://*:3000" Unsupported type NativeCall::Types::Pointer<-1272678512> in p5_to_p6 panic: del_backref, svp=0 during global destruction. |
From @zoffixznet[Wed Jul 6 09:40:32 2016] [info] Listening at "http://*:3000" |
From @zoffixznetI can no longer reproduce this with bleed rakudo, so I'm assuming recent async improvements fixed this issue. |
@zoffixznet - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#128558 (status was 'resolved')
Searchable as RT128558$
The text was updated successfully, but these errors were encountered: