bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with initscr(); in ncurses 5.7-2


From: Thomas Dickey
Subject: Re: Problem with initscr(); in ncurses 5.7-2
Date: Tue, 21 Jul 2009 17:23:05 -0400 (EDT)

On Tue, 21 Jul 2009, Archibald Pontier wrote:

Hi,

I'm sending you this e-mail because I recently received an error report
about a program I'm developping which I can't deal with.

"5.7-2" is someone's package version.  Likely it's ncurses with some
patchdate - in curses.h for instance

#define NCURSES_VERSION_PATCH 20090404

that would be useful information

Here is the bug report :

   (gdb) run
   Starting program: /tmp/yaourt-tmp-gyo/aur-asym/asym/src/asym/asym
   asym: malloc.c :3074 : sYSMALLOc:  L'assertion « (old_top ==
   (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) -
   __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) ||
   ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof
   (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) &
   ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) &&
   ((unsigned long)old_end & pagemask) == 0) » failed.

   Program received signal SIGABRT, Aborted.
   0xb7ffa424 in __kernel_vsyscall ()
   (gdb) bt
   #0  0xb7ffa424 in __kernel_vsyscall ()
   #1  0xb7e77461 in raise () from /lib/libc.so.6
   #2  0xb7e78c62 in abort () from /lib/libc.so.6
   #3  0xb7e7049e in __assert_fail () from /lib/libc.so.6
   #4  0xb7ebbca7 in _int_malloc () from /lib/libc.so.6
   #5  0xb7ebc9e0 in calloc () from /lib/libc.so.6
   #6  0xb7fad3b3 in newwin () from /lib/libncursesw.so.5
   #7  0xb7fafc07 in _nc_setupscreen () from /lib/libncursesw.so.5
   #8  0xb7fac95d in newterm () from /lib/libncursesw.so.5
   #9  0xb7fa9555 in initscr () from /lib/libncursesw.so.5
   #10 0x080512a0 in interface_init () at src/interface.c:30
   #11 0x08055a62 in main (argc=1, argv=0xbfa39a64) at src/main.c:43

and, if it can help :
http://git.tyruiop.org/?p=asym.git;a=blob;f=src/main.c
http://git.tyruiop.org/?p=asym.git;a=blob;f=src/interface.c

Thank you for taking a look at this.

Archibald



_______________________________________________
Bug-ncurses mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ncurses


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]