New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.5.1 curses panel segfault in new_panel on aix 5.3 #45139
Comments
I've compiled python 2.5.1 on AIX 5.3 with ncurses 5.6 and I get segmentation faults as soon as any curses.panel tries to make a new panel. The following test program gives a segmentation fault for me (remove the new_panel line and it works fine): import curses
from curses import panel
def mkpanel(scr):
win = curses.newwin(8,8,1,1)
pan = panel.new_panel(win)
curses.wrapper(mkpanel) Also the test_curses program triggers this segfault. A traceback puts the problem in: root_panel(), line 57 in "p_new.c" Note that the ncurses I've compiled works fine with the shipped test programs, so it seems to be an issue with the python interaction. Please let me know if there is anything else that I can provide to help track this bug down. |
No python developer has access to AIX AFAIK. So you will likely need to debug this problem yourself or provide access to an AIX box. Here are some questions to get you started:
It looks like there is a problem derefencing a function pointer. I don't know why that might happen. |
We'll look into the issue of temporarily giving someone access, but it is somewhat problematic. Some answers until then:
|
I see similar problems here on OS/2 with Python 2.5.1 and Ncurses 5.6. Problem is causes as win->win is uninitialised when passed to new_panel. Initialising win->win to a value makes the new_panel call work. Not |
I don't see how win->win could be uninitialized. curses.newwin() creates I'm puzzled by the 2007-06-28 traceback. Pycurses_new_panel has args = |
Closing this ticket as outdated; AIX 5.3 is from 2004. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: