The python examples x01 and x09 hang in an infinite loop on Fedora 7 on
ppc64. The loop is in plline.c in grdashline :
/* Update line style variables when alarm goes off */
while (plsc->timecnt >= plsc->alarm) {
if (plsc->pendn != 0) {
plsc->pendn = 0;
plsc->timecnt -= plsc->alarm;
plsc->alarm = plsc->space[plsc->curel];
}
else {
plsc->pendn = 1;
plsc->timecnt -= plsc->alarm;
plsc->curel++;
if (plsc->curel >= plsc->nms)
plsc->curel = 0;
plsc->alarm = plsc->mark[plsc->curel];
}
}
gdb shows that both plsc->timecnt and plsc->alarm are 0, so the loop
never exits. More info:
(gdb) print plsc->pendn
$1 = 1
(gdb) print plsc->space
$2 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
(gdb) print plsc->curel
$3 = 0
(gdb) print plsc->nms
$4 = 1
(gdb) print plsc->mark
$5 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
Not sure where to look next. Any help would be greatly appreciated.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane [EMAIL PROTECTED]
Boulder, CO 80301 http://www.cora.nwra.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel