Skip to content

Using it? #226

Open
Open
@SkewedZeppelin

Description

@SkewedZeppelin

I've made a package for Fedora to run with isoalloc globally, however I think I'm doing something very wrong

Testing manually on eb1f3f2 with all defaults:

LD_PRELOAD=/home/admin/isoalloc/build/libisoalloc.so cat /proc/self/maps
#works

LD_PRELOAD=/home/admin/isoalloc/build/libisoalloc.so htop
#works

LD_PRELOAD=/home/admin/isoalloc/build/libisoalloc.so /usr/bin/grep aa
/usr/bin/grep: memory exhausted

LD_PRELOAD=/home/admin/isoalloc/build/libisoalloc.so /usr/bin/meld
[ABORTING][4337](src/iso_alloc.c:1725 _iso_free_internal_unlocked()) Could not find any zone for allocation at 0x2cb1eee57000

LD_PRELOAD=/home/admin/isoalloc/build/libisoalloc.so /usr/bin/firefox
[ABORTING][4493](src/iso_alloc.c:2053 _iso_chunk_size()) Could not find any zone for allocation at 0x389f59ad7000
#I didn't expect this one to work regardless, but still is slightly different error to previous

LD_PRELOAD=/home/admin/isoalloc/build/libisoalloc.so /usr/bin/mumble 
mumble: src/hostapi/jack/pa_jack.c:524: BuildDeviceList: Assertion `err == 0' failed.
Aborted (core dumped)
#this one maybe exposing an actual issue?
#audacity fails the same error

LD_PRELOAD=/home/admin/isoalloc/build/libisoalloc.so /usr/bin/qalculate-gtk 
[ABORTING][5003](src/iso_alloc_util.c:157 mmap_pages()) Failed to mmap rw pages
Aborted (core dumped)

LD_PRELOAD=/home/admin/isoalloc/build/libisoalloc.so /usr/bin/libreoffice 
grep: memory exhausted
/usr/lib64/libreoffice/program/soffice: line 149:  4845 Done                    echo "$checks"
      4846 Aborted                 (core dumped) | grep -q "cc"
[ABORTING][4876](src/iso_alloc_util.c:157 mmap_pages()) Failed to mmap rw pages
Unspecified Application Error
#this one I really don't understand

furthermore enabling MEMCPY_SANITY results in htop segfaulting
and MEMSET_SANITY even segfaults cat

edit for sanity:

Running tests test... Succeeded
Running big_tests test... Succeeded
Running interfaces_test test... Succeeded
Running thread_tests test... Succeeded
Running pool_test test... Succeeded
Running rand_freelist test... Succeeded
Running double_free test... Succeeded
Running big_double_free test... Succeeded
Running heap_overflow test... Succeeded
Running heap_underflow test... Succeeded
Running leaks_test test... Succeeded
Running wild_free test... Succeeded
Running unaligned_free test... Succeeded
Running incorrect_chunk_size_multiple test... Succeeded
Running big_canary_test test... Succeeded
Running zero_alloc test... Succeeded
Running sized_free test... Succeeded
17 Tests passed
0 Tests failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions