Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [webmaster33] can't loop for over 16 times when debug_level set to 1

Quote Reply
Re: [webmaster33] can't loop for over 16 times when debug_level set to 1 In reply to
Aha. Mmm I'm actually using 2.1.0 and had debug level set to 1 which works successfully, but I just raised that to 2 and I did experience the hang.

This is actually something I experienced whilst writing one of my own scripts but I never put two and two together....or perhaps I just forgot about this bug report.

The problem stems from printing to STDERR in GT::Base. When implementing my own debugging routine I found the same problem. Then printing to STDERR it would hang. You can see my thread here which I posted when having trouble:

http://gossamer-threads.com/...tring=STDERR;#218922

Now, I've just opened up GT::Base...if you comment out line 271 which is:

print STDERR "$pkg ($$): $msg";

...you will find the hang stops. I'm looking for a fix.
Subject Author Views Date
Thread Debug Hanging webmaster33 4592 Mar 19, 2003, 6:04 PM
Thread Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4367 Mar 20, 2003, 1:36 AM
Thread Re: [Paul] can't loop for over 16 times when debug_level set to 1
webmaster33 4377 Mar 20, 2003, 4:56 AM
Thread Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4371 Mar 20, 2003, 5:00 AM
Thread Re: [Paul] can't loop for over 16 times when debug_level set to 1
webmaster33 4363 Mar 20, 2003, 6:08 AM
Thread Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4358 Mar 20, 2003, 6:27 AM
Post Re: [Paul] Debug Hanging
webmaster33 4376 Mar 20, 2003, 6:54 AM
Post Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4351 Mar 20, 2003, 6:34 AM
Thread Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4341 Mar 20, 2003, 6:39 AM
Thread Re: [Paul] Debug Hanging
webmaster33 4337 Mar 20, 2003, 6:58 AM
Thread Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4328 Mar 20, 2003, 7:00 AM
Thread Re: [Paul] Debug Hanging
webmaster33 4336 Mar 20, 2003, 10:58 AM
Thread Re: [webmaster33] Debug Hanging
Paul 4300 Mar 20, 2003, 11:18 AM
Post Re: [Paul] Debug Hanging
webmaster33 4313 Mar 23, 2003, 4:41 PM
Post Re: [Paul] Debug Hanging
webmaster33 4329 Mar 23, 2003, 2:10 PM