title: Segfaults in malloc() and malloc_consolidate()
body: <p>My application segfaults sometimes and mainly in malloc() and malloc_consolidate() when I look at the backtrace in gdb.</p>
  
  <p>I verified that the machine has enough memory available, it didn't even start swapping.
  I checked ulimits for data segement and max memory size and both are set to 'unlimited'.
  I also ran the application under valgrind and didn't find any memory errors.</p>
  
  <p>Now I'm out of ideas what else might be causing these segfaults. Any Ideas ?</p>
  
  <p><b>Update:</b>
  Since I'm not finding anything with valgrind (or ptrcheck), could it be that another application is trashing libc's memory structure or is there a separate structure for each process ?</p>