July 19, 2004 Re: Bogus thread termination under linux when blocked on a socket receive | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | "John Reimer" wrote in message
>> (Sorry, Kris, couldn't resist jumping in on this one).
You and I have both expended a lot of effort on this :-)
|
July 19, 2004 Re: Bogus thread termination under linux when blocked on a socket receive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kris | On Sun, 18 Jul 2004 19:06:28 -0700, Kris wrote:
> some socket state gets clobbered (I really need to get a linux box for
> Mango)
I'm sure you can find someone with a linux server that's willing to give you a shell account. I know a coupla guys you might try to contact.
|
July 22, 2004 Re: Bogus thread termination under linux when blocked on a socket receive | ||||
---|---|---|---|---|
| ||||
Posted in reply to teqDruid | I somehow missed your post Druid. Sorry, and thank you for the suggestion. I was given one in the meantime (for doing remote sanity checks). "teqDruid" <me@teqdruid.com> wrote in message news:pan.2004.07.19.09.09.26.816995@teqdruid.com... > On Sun, 18 Jul 2004 19:06:28 -0700, Kris wrote: > > some socket state gets clobbered (I really need to get a linux box for > > Mango) > > I'm sure you can find someone with a linux server that's willing to give you a shell account. I know a coupla guys you might try to contact. |
July 22, 2004 Re: Bogus thread termination under linux when blocked on a socket receive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kris | I got me a linux box too.. kinds.. VMware is really cool! I'll have a play with this tomorrow :) On Wed, 21 Jul 2004 22:43:59 -0700, Kris <someidiot@earthlink.dot.dot.dot.net> wrote: > I somehow missed your post Druid. Sorry, and thank you for the suggestion. I > was given one in the meantime (for doing remote sanity checks). > > "teqDruid" <me@teqdruid.com> wrote in message > news:pan.2004.07.19.09.09.26.816995@teqdruid.com... >> On Sun, 18 Jul 2004 19:06:28 -0700, Kris wrote: >> > some socket state gets clobbered (I really need to get a linux box for >> > Mango) >> >> I'm sure you can find someone with a linux server that's willing to give >> you a shell account. I know a coupla guys you might try to contact. > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ |
July 23, 2004 Re: Bogus thread termination under linux when blocked on a socket receive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Regan Heath | Ok.. trying to replicate the working case on my VMware linux machine I get: [root@linux mango]# ./mangotest looking up exception error code ... throwing socket exception: Unable to join multicast group. Error # 19 4 FATAL mango.unittest - Unable to join multicast group. Error # 19 socket cancel status now set closing resource via destructor closing socket handle ... socket handle closed Error #19 is "No such device" (according to strerror). From a brief look at the code the exception is thrown here: mango\io\MulticastSocket.d(121): exception ("Unable to join multicast group. Error # "); due to this call: if (! setGroup (groupAddress, Option.IP_ADD_MEMBERSHIP)) which returns whether setsockopt worked or not. According to the man pages on setsockopt it does not set that error code.. so something weird appears to be going on, perhaps due to the way VMware handles the networking. I found getError() is used to get the errno value, what about setting it? It would be good to set it to 0 before the setsockopt call to ensure setsockopt is really setting errno to this value. As a side note, how does getError work, it's not a C fn someone must have stubbed access to errno, right? but where/how :) Regan. On Thu, 22 Jul 2004 23:35:14 +1200, Regan Heath <regan@netwin.co.nz> wrote: > I got me a linux box too.. kinds.. VMware is really cool! > I'll have a play with this tomorrow :) > > On Wed, 21 Jul 2004 22:43:59 -0700, Kris <someidiot@earthlink.dot.dot.dot.net> wrote: >> I somehow missed your post Druid. Sorry, and thank you for the suggestion. I >> was given one in the meantime (for doing remote sanity checks). >> >> "teqDruid" <me@teqdruid.com> wrote in message >> news:pan.2004.07.19.09.09.26.816995@teqdruid.com... >>> On Sun, 18 Jul 2004 19:06:28 -0700, Kris wrote: >>> > some socket state gets clobbered (I really need to get a linux box >>> for >>> > Mango) >>> >>> I'm sure you can find someone with a linux server that's willing to give >>> you a shell account. I know a coupla guys you might try to contact. >> >> > > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ |
Copyright © 1999-2021 by the D Language Foundation