Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Bus Error from threading IO::Socket

by snoopy (Deacon)
on Aug 12, 2008 at 02:35 UTC ( #703791=note: print w/replies, xml ) Need Help??

in reply to Bus Error from threading IO::Socket

I also get the bus error on OSX 10.5.1. Runs fine for me on Debian.

I notice that the bus error goes away when you don't detach the thread, ie, works fine when I change the last line to:

threads->create( \&do_stuff, $lsn->accept, ) while 1;

Detached threads seem to be a contributing factor.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://703791]
[Discipulus]: sometimes the client dies for extra content </chatter><span class="error" style="color: #cc0000">Server Error (Error ID 9162
[Discipulus]: the span is considered extra content by the parser
[Corion]: Mhmm - that would be some internal error, but I can't look into that right now as I don't have access to the logs from here ;)
[Discipulus]: ah, but it can be skipped by the client (?)
[Corion]: I think so, but I wonder what error might be there...
[Discipulus]: raining in germany? ;=)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2017-07-25 08:13 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (366 votes). Check out past polls.