On Sun, 15 Apr, 2007 at 12:20:00PM +0200, Thomas Dybdahl Ahle wrote: > s??n, 15 04 2007 kl. 15:31 +0530, skrev Varun Hiremath: > > Hi Thomas, > > > > On Sat, 14 Apr, 2007 at 11:26:26PM +0200, Thomas Dybdahl Ahle wrote: > > > l??r, 14 04 2007 kl. 23:10 +0530, skrev Varun Hiremath: > > > > Please find attached the deb package for the final version. > > > Thanks. > > > > > > > But, sorry to say it still freezes on my comp :-( > > > Dammit. Don't you have a file called /etc/debian-release > > > or /etc/debian_version? > > > > I have /etc/debian_version file. > > ok. Then exporting manually should make do difference. > > > > Could you try to run export LD_ASSUME_KERNEL=2.4.1 just before you start > > > pychess? > > > > Actually yesterday I upgraded my computer to the latest Debian > > unstable. Now pychess refuses to start and gives this error. Before > > this upgrade pychess final version didn't give this error. > > > > $$ python: error while loading shared libraries: libpthread.so.0: cannot > > open shared object file: No such file or directory > > > > I changed the export LD_ASSUME_KERNEL to 2.6.1 in pychess file and > > then the main window loaded but still it freezes when I start playing > > the game. > > > > What exactly does this export statement do? Is the problem with the > > new kernels or the old kernels? > > It seams to be related to some pthreads 2.4->2.6 stuff. > http://www.daa.com.au/pipermail/pygtk/2005-October/011246.html > > I get the same error when using the line on fedora, so probably debian > has now switched to theo same kernel configuration on the point. > > I guess we should the remove the auto calling on debian, and instead > write it in some "known errors" article... > > What I just don't seam to understand is why pychess still crashes on you > computer... > idle_add and source_remove seams to be a common reason for crashes: > http://www.google.com/search?q=idle_add+freeze but everybody else seams > to solve it by using ASSUME_KERNEL on debian. > > Perhaps we could recode PyChess to not use source_remove. I might not be > too hard. Not sure.
Hi Thomas, I am CCing this mail to debian-devel. Lets see if we can get some help there. Hi all, Please have a look at this bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407872 Pychess freezes during a game and the problem seems to be with pyGTK and the threading library in kernel 2.6. I have not yet tried it with kernel 2.4. I just wanted to know if this is a known issue and is there is any fix for this. export LD_ASSUME_KERNEL=2.4.1 doesn't seem to work. Any help would be appreciated. Thanks Varun
signature.asc
Description: Digital signature