From:             garrote at dm dot com dot br
Operating system: linux 2.4.20
PHP version:      4.3.2
PHP Bug Type:     Unknown/Other Function
Bug description:  ncurses and panel

Segmentation fault using the ncurses_del_panel(resource id).
the code
ncurses_init();
$window=ncurses_newwin(10,10,1,1);
$pan=ncurses_new_panel($window);
ncurses_wmove($window,1,1);
ncurses_waddstr($window,"example");
ncurses_update_panels();
ncurses_do_update();
........
ncurses_del_panel($pan);  -> Segmentation error here
ncurses_delwin($window);

ncurses_delwin($window); run ok, but the del_panel report segmentation
error.

the modules compiled are:
[PHP Modules]
bcmath
bz2
calendar
ctype
gd
mysql
ncurses
openssl
overload
pcre
pgsql
posix
session
shmop
sockets
standard
sysvsem
sysvshm
tokenizer
xml
zlib

[Zend Modules]


thanks.
-- 
Edit bug report at http://bugs.php.net/?id=24060&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24060&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24060&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24060&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24060&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24060&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24060&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24060&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24060&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24060&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24060&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24060&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24060&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24060&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24060&r=gnused

Reply via email to