Crashes if I resize the window #133
Comments
hmmm... This is odd. I will have a go a reproducing later tonight (I'm not near a dev machine, at the moment). But, based of a cursory glance, I see that you're carrying disposable state on an F# record. I've never had any luck with getting record types to properly implement At any rate, I'll investigate as soon as I can. Thanks. |
@haf So I was unable to compile the code (some weirdness with |
I think the problem is that ZeroMQ subscribes to a number of signals from the shell and the resize operation is one of those signals. The docs of ZMQ states that if you pass SIGINT to a process that is blocking in ZMQ recv, it will yield and return null from the call. However, in this case, we're not passing SIGINT, but another interrupt code. Perhaps ZeroMQ tries to load libsodium or some other dependency like PGM at this point, and fails causing the above exception. I would love it if you could tell me what command you ran when you tried to build and what error message you received? |
Hmmm... you might be right about the signal being misinterpreted. Dealing with signal differences is one of the thornier bits in wrapping cross-platform code. As for the code errors, when I try to build the solution in Xamarin Studio, it fails because I'm missing several dependencies. However, whenever I try to execute any Rake tasks, I get:
|
Run:
And it should work just fine |
No luck. I needed to run At this point, if you truly suspect the issue is with signalling, perhaps you can make a simpler repro? |
I will, come Monday. But the short answer is to create a pull socket in a .Net 4.5 console app and resize in iTerm/zsh (oh-my-zsh to be exact). Thank you for looking into this for me. I really appreciate the support =) |
This behavior is 100% reproducible using OS X's defaults (Terminal running bash). It will take time to investigate further. But as of right now, is looks like an issue inside of Thanks for bringing this to my attention. |
Just a quick update. I'm not getting the actual error you reported (my bad for not realizing sooner). However, I am getting an Anyway, after doing a bit of experimentation and research, I've determined it's NOT an issue with I will keep you posted, but I'm not optimistic for an easy solution. |
I've been unable to make any progress on this. I'm going to unassign myself in the hopes that someone smarter than me can be of help |
So, I've made an interesting discovery relative to this issue. First, it definitely still exists (thanks, mono). However, it does appear to be constrained to running sockets on the primary thread. Simply moving things to an |
Environment: OS X, iTerm, zsh
Repro code: causiq/logary@16cda96
Repro cmd:
mono --debug bin/Debug/rutta.exe --router tcp://127.0.0.1:6111 --router-target influxdb://user:pass@host:8086/write?db=databaseName --health 127.0.0.1 8889
from src/services/Logary.Services.Rutta.The text was updated successfully, but these errors were encountered: