php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24060 ncurses and panel
Submitted: 2003-06-06 09:06 UTC Modified: 2003-06-06 13:53 UTC
From: garrote at dm dot com dot br Assigned: georg (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: 4.3.2 OS: linux 2.4.20
Private report: No CVE-ID: None
 [2003-06-06 09:06 UTC] garrote at dm dot com dot br
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-06 12:56 UTC] georg@php.net
Assigned to myself. 

 [2003-06-06 13:53 UTC] georg@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC