in reply to Bus Error from threading IO::Socket
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.
|
|---|