Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #38310] src/nci.c:45: failed assertion `n < st->src.n' from examples/library/ncurses_life.pir

0 views
Skip to first unread message

Tim Bunce

unread,
Jan 22, 2006, 6:13:14 PM1/22/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Tim Bunce
# Please include the string: [perl #38310]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38310 >


---
osname= darwin
osvers= 8.0
arch= darwin-thread-multi-2level
cc= cc
---
Flags:
category=core
severity=high
ack=no
---
$ parrot examples/library/ncurses_life.pir
src/nci.c:45: failed assertion `n < st->src.n'


---
Summary of my parrot 0.4.1 (r11312) configuration:
configdate='Sun Jan 22 21:38:04 2006'
Platform:
osname=darwin, archname=darwin-thread-multi-2level
jitcapable=1, jitarchname=ppc-darwin,
jitosname=DARWIN, jitcpuarch=ppc
execcapable=1
perl=perl
Compiler:
cc='cc', ccflags='-fno-common -no-cpp-precomp -DDEBUGGING -pipe -I/opt/local/include -pipe -fno-common -Wno-long-double ',
Linker and Libraries:
ld='c++', ldflags=' -L/usr/local/lib -L/opt/local/lib -flat_namespace ',
cc_ldflags='',
libs='-lm'
Dynamic Linking:
share_ext='.dylib', ld_share_flags='-dynamiclib -undefined suppress',
load_ext='.bundle', ld_load_flags='-bundle -undefined suppress'
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=1 byteorder=4321,
nv=double, numvalsize=8, doublesize=8

---
Environment:
DYLD_LIBRARY_PATH HOME LANG LANGUAGE LD_LIBRARY_PATH LOGDIR PATH PERL5LIB SHELL

Leopold Toetsch

unread,
Jan 23, 2006, 7:33:29 AM1/23/06
to perl6-i...@perl.org, bugs-bi...@netlabs.develooper.com

On Jan 23, 2006, at 0:13, Tim Bunce (via RT) wrote:

> $ parrot examples/library/ncurses_life.pir
> src/nci.c:45: failed assertion `n < st->src.n'

Running it inside gdb with --trace (and stderr captured) revealed that
the call to 'wattron' was missing the screen argument. Fixed r11319.

Thanks for testing this.
leo

0 new messages