[mythtv-users] Getting crazy! 'std::bad_alloc' St9bad_alloc
Marco Gusy
picander78 at yahoo.it
Sat Sep 15 16:45:52 UTC 2007
By the way, I just noticed that strace -e trace=mmap2 gives this strange
output
(...)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f1e000
mmap2(NULL, 4158230528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 4158365696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1,
0) = 0xb4a6a000
mmap2(NULL, 4158230528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = -1 ENOMEM (Cannot allocate memory)
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Process 7765 detached
Look: it tries to allocate 4 gigs (and faults... obviously!). Looks there is a
bug leading to a memory leak
More information about the mythtv-users
mailing list