|
|
| P is for Practical | |
| PerlMonks |
threads->new falling in a heap.by Steve_BZ (Hermit) |
| on May 11, 2012 at 11:21 UTC ( #969980=perlquestion: print w/ replies, xml ) | Need Help?? |
|
Steve_BZ has asked for the
wisdom of the Perl Monks concerning the following question:
Hi Guys, I have some issues here with threads->new. However, it only fails in Komodo IDE 5 and Kubuntu 11.10. If I run from the command prompt, everything is cool. If I run from Komodo in Kubuntu 10.04, also, everything is cool. I have an app that generates some background tasks like an email with some large attachments. I don't want to wait while it sends so sending is a background task. It works like this:
Everything then crashes with this sort of error message (I don't think you want my whole stack-dump):
I have also tried replacing use threads at the start of the program with require threads at call time. This doesn't help. My real issue is that this creates a blind-spot for debugging, in that issues in this area of code can't properly be debugged by single stepping through the code and examining variables, but only by print statments. What are your thoughts, please? Regards Steve
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||