Public bug reported:

I updatet to Ubuntu 9.10 and a program that compiled and run well no
more works well. Similar problem to this:

http://bugs.archlinux.org/task/15466?cat[0]=&percent[0]=&pri[0]=&reported[0]=&sev[0]=&status[0]=5&string=

I just call create_pixam_mem in my program:
pixamem*
create_pixam_mem(void)
{
  pixamem *pix;
  pix =(pixamem*) malloc(sizeof(pixamem));
  return(pix);
}

sizeof(pixamem) is 48.

I get this when I run the program:

ima: malloc.c:3074: sYSMALLOc: 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)' failled

It worked fine before updating to 9.10

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
sYSMALLOc assertion fault
https://bugs.launchpad.net/bugs/470574
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to