[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: derwin problems
From: |
Scott Beck |
Subject: |
Re: derwin problems |
Date: |
Fri, 10 May 2002 22:04:19 -0700 |
On Sun, 5 May 2002 11:48:25 +0200
Gernot Hillier <address@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
>
> On Sunday 05 May 2002 02:50, Thomas Dickey wrote:
> > On Sat, May 04, 2002 at 04:20:10PM -0700, Scott Beck wrote:
> > > Hey,
> > >
> > > I'm having trouble with resizing derived windows (and subwindows for
> > > that matter). I get a segmentation fault, usually in free() or
> > > malloc(). Here is a bt from one of the segfaults:
>
> Scott:
>
> I have the same problems since some time and had a conversation with
> Thomas about that, too.
>
> BTW: The SIGSEGV you experienced with free and malloc are only some
> indications of memory corruption caused earlier. You get better bt's
> when linking to libefence. (LD_PRELOAD will do the trick, no recompile
> is necessary IMHO).
>
heh, I couldn't get libefence to compile, I will try again later.
> > ...
> >
> > > I've created a fairly simple program that does this. If you would
> > > like I can attach it (I wasn't sure if you can have attachments in
> > > this list).
> >
> > I've seen a couple of related reports in Debian, but don't have a
> > simple program to exercise it.
>
> Thomas:
>
> What about my suggestion - using cardfile as example? Did you test it?
>
> Scott: If you don't send the test program to the list, please cc me, too
> - I'm also interested. TIA!
>
Well here it is. I really think it is something I am doing in my code though.
I just find it hard to believe that this simple resize is broken in ncurses.
Compile with:
gcc -g -o curses curses.c -lncurses -DUSE_DER=1
to see it segv, without -DUSE_DER it works fine (atleast on my system it does).
> - --
> Ciao,
>
> Gernot
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE81P+nk997/GGeSeIRAggDAJ4kI0ME15B0GR6cMqkVm09YaowmJACdFIJV
> +SkXch7VbGq2dqTsGBOz1hM=
> =66b9
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses
>
Cheers,
Scott
-------------------- Gossamer Threads Inc. ----------------------
Scott Beck Email: address@hidden
Lead Software Developer Phone: (604) 687-5804
http://www.gossamer-threads.com Fax: (604) 687-5806
curses.c
Description: Binary data
- derwin problems, Scott Beck, 2002/05/04
- Re: derwin problems, Thomas Dickey, 2002/05/04
- Re: derwin problems, Scott Beck, 2002/05/05
- Re: derwin problems, Gernot Hillier, 2002/05/05
- Re: derwin problems, Thomas Dickey, 2002/05/05
- Re: derwin problems,
Scott Beck <=
- Re: derwin problems, Thomas Dickey, 2002/05/11
- Re: derwin problems, Roger Gammans, 2002/05/11
- Re: derwin problems, Roger Gammans, 2002/05/11
- Re: derwin problems, Thomas Dickey, 2002/05/11
- Re: derwin problems, Roger Gammans, 2002/05/13
- Re: derwin problems, Scott Beck, 2002/05/12