> > Note: the call to g_thread_init() solves problems with g_slice_alloc() -
> > without
> that call we get arbitrary crashes.
>
> This should be a comment in the code. GLib needs to be running in
> multithreaded mode in order for the GSlice allocator to be thread-safe.
> This is why you see cra
On Wed, Feb 20, 2013 at 10:32:02AM +0100, Dietmar Maurer wrote:
> Simple regression tests using vma-reader and vma-writer.
>
> Note: the call to g_thread_init() solves problems with g_slice_alloc() -
> without that call we get arbitrary crashes.
This should be a comment in the code. GLib needs
Simple regression tests using vma-reader and vma-writer.
Note: the call to g_thread_init() solves problems with g_slice_alloc() -
without that call we get arbitrary crashes.
Signed-off-by: Dietmar Maurer
---
tests/Makefile | 11 +-
tests/backup-test.c | 517