bug-ncurses
[Top][All Lists]
Advanced

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

Problem with initscr(); in ncurses 5.7-2


From: Archibald Pontier
Subject: Problem with initscr(); in ncurses 5.7-2
Date: Tue, 21 Jul 2009 21:39:26 +0200
User-agent: Thunderbird 2.0.0.22 (X11/20090719)

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.
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





reply via email to

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