[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses Ubuntu 64bit
From: |
Thomas Dickey |
Subject: |
Re: ncurses Ubuntu 64bit |
Date: |
Fri, 27 Sep 2013 19:06:42 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Sep 27, 2013 at 07:30:44PM -0300, tjareson wrote:
> Hello,
>
> are there any special configurations or settings to consider, when
> compiling ncurses and forms in a 64 bit environment? Or any known
> pitfalls?
>
> I've tried to compile an application which uses forms (also using
> wide characters) which compiles and runs without any problem in an
> Ubuntu 32bit evironment.
>
> When I compile and run exactly the same setup (ncurses 5.9) on the
> Ubuntu 64bit environment, the application causes a segmentation
> fault, whenever a character is typed into a forms field.
> When I switch between fields with cursor keys everything work, only
> when the formsdriver get called with a character the thing crashes.
>
> Has anyone hints for me, where I should have a look into?
valgrind helps...
If I had a simple program which demonstrates the problem, I'd plug it
into a build of ncurses as one of the test-programs, with debugging
enabled, and use valgrind to pinpoint the problem.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature