Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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.


Comment on Re: Bus Error from threading IO::Socket
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://703791]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2015-07-05 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls