Running a python script intermittently (yet frequently) causes my Powerbook 12" 867MHz to crash - the following being dumped to my console. I'm not sure whether it's solely python causing this but that's what I happen to be developing in at the moment ;-) I've tried un-prelinking my python binary - but it still crashes frequently. -- kernel BUG at sched.c:564! Vector: 0 at pc = c0015cfc (T schedule+0x4d8), lr = c0015cfc (T schedule+0x4d8) msr = 9032, sp = e61e9910 [e61e9848] current = e61e8000, pid = 1392, comm = python mon> Reproducible: Sometimes Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r15 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ben2) ================================================================= System uname: 2.4.22-ben2 ppc Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="oss dvd xv jpeg nls mitshm gif mozilla png truetype ppc cups foomaticdb gnome-libs gdbm berkdb slang readline arts X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl cdr -gnome alsa java"
Thought I'd better add... The python script that I'm developing accesses devices on the USB bus. It is this that could be causing the crashes.
could you please tell me what script is causing the problem?
Created attachment 20304 [details] My python script, which appears to cause the crash
Luca, I have attached my Python script, which appears to be causing this crash. It may or may not be of use. Hamlib ( http://hamlib.sourceforge.net ) is a program to control a amateur radio tranciever over a serial port. I am using a Prolific USB-serial adaptor (pl2303) to connect the radio to my Powerbook. The kernel crashes perhaps once every ten times I try to access /dev/usb/tts/0 Hope this helps, Charlie
Created attachment 20309 [details] The backtrace
could you plz try a more recent kernel ?
BUG statement removed from code in a more recent kernel