Bug#512366: eboard hangs up and use 100%CPU on PowerPC

2009-01-26 Thread Simon Valiquette
Patrik Fimml un jour écrivit: Okay, I think I found the real culprit. In various places, network.cc limits output to non-control characters by comparing with 0x20. On x86, char is signed and 0xFF will be (-1), thus being treated as control character. On ppc, chars are unsigned AFAIK, and 0xFF wi

Bug#512366: eboard hangs up and use 100%CPU on PowerPC

2009-01-22 Thread Patrik Fimml
On Thu, Jan 22, 2009 at 02:16:18PM -0500, Simon Valiquette wrote: > By the way, I noticed that the compiler warned that eboard was linked > with a number of apparently unnecessary libraries like libpango. For > Lenny, it is best to keep it like it is now, but it would be a good idea > to lo

Bug#512366: eboard hangs up and use 100%CPU on PowerPC

2009-01-22 Thread Simon Valiquette
Patrik Fimml un jour écrivit: Okay, I found out that it was looping inside NText::formatLine exactly between the following lines in the file ntext.cc: 320 while(k-j > 0) { 321 fit = false; 322 323 // try full-fit for for unwrapped of last chunk of wrapping 324 325 if (j=

Bug#512366: eboard hangs up and use 100%CPU on PowerPC

2009-01-21 Thread Patrik Fimml
>>> If you need any more information or want me to try a patch, just ask me. >> >> Please try to get a backtrace with debugging symbols after the freeze >> occurs and you hit CTRL-C. > > Okay, I found out that it was looping inside NText::formatLine exactly > between the following lines in the

Bug#512366: eboard hangs up and use 100%CPU on PowerPC

2009-01-21 Thread Simon Valiquette
Patrik Fimml un jour écrivit: >> More exactly, it start as usual, but when connecting to a chess server, it hangs and consume 100% CPU once the user have entered a user name. [...] If I press 'return here, the screen draw an additionnal '>' on the next line, and the window hangs (it cannot be clo

Bug#512366: eboard hangs up and use 100%CPU on PowerPC

2009-01-20 Thread Patrik Fimml
On Tue, Jan 20, 2009 at 02:19:59AM -0500, Simon Valiquette wrote: > After upgrading from Etch to Lenny, eboard stopped working on PowerPC. > Since it works fine on x86, my guess is that there is maybe an > endianness issue somewhere in the networking code of eboard. > > More exactly, it start as u

Bug#512366: eboard hangs up and use 100%CPU on PowerPC

2009-01-19 Thread Simon Valiquette
Package: eboard Version: 1.1.1-2 Severity: grave -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 After upgrading from Etch to Lenny, eboard stopped working on PowerPC. Since it works fine on x86, my guess is that there is maybe an endianness issue somewhere in the networking code of eboard.