It doesn't happen very often, and it only happens to Windows XP (so far). The scenario is we have the trading terminal running on client's computers. During network lost, the terminal using Major Domo pattern trying to reconnect (connect, timeout, destroy) to a list of gateways. Terminals running on Windows 7 are OK, as soon as network is back, trading resumes. Instants on Windows XP have problem. After 10-20 times of trying to reconnect, the terminal crashes. We build transparent module to separate the network layer and business layer, therefore we could localize the problem is with the libzmq 3.1. However without console screen, we could not trace to the exact assertion.
I will try to reproduce the issue by running a small tests, connect/destroy sockets, on Windows XP. I will let you guys know later if I could reproduce. Cheers, Viet Viet Hoang | Chief Executive | Quant Edge Corp mobile: +849 8822 3399 email: [email protected] skype: viet.hoang.qe Floor 1A, Viet Hai Building, Block C2H Duy Tan Street, Cau Giay Dist Hanoi, Vietnam tel: +84 (4) 8587 6467 fax: +84 (4) 3795 9142 web: www.quant-edge.com --------------------- This message (including attachments, if any) is confidential, may be privileged and is intended for the above-named recipient(s) only. If you have received this message in error, please notify me by return email and delete this message from your system. Any unauthorized use or disclosure of this message is strictly prohibited. Quant Edge Corp assumes no responsibility for errors, inaccuracies or omissions in these materials, and does not warrant the accuracy or completeness of the information contained within these materials. Quant Edge Corp shall not be liable for any special, indirect, incidental, or consequential damages, including without limitation losses, lost revenues, or lost profits that may result from these materials. On May14, 2012, at 11:13 PM, Pieter Hintjens wrote: > On Mon, May 14, 2012 at 10:42 AM, Viet Hoang (Quant Edge) > <[email protected]> wrote: > >> When will assertions be removed? If I just remove the assertions myself, >> will that compromise anything in the lib? It is better to discard message >> rather than crashing the program. We have zeromq working good with our demo >> system, and we want to move it to our production, running on the internet. > > You do not want to remove the assertions. As Chuck says, if you are > getting assertions, these mean the application has errors that need to > be corrected (the assertions highlight the errors so if you remove the > assertion, the error will still be there and your code may not crash > immediately but it will crash later with worse results). > > If you can get reproducible assertions, make minimal test cases, and > help us fix the underlying problems. > > Thanks > Pieter > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
