Matheus C. França

Results 305 comments of Matheus C. França

> Can you try clearing the global cache? clean (global + local) cache, get same error!

Shouldn't it be more convenient here just to use clang ast-dump instead of libclang? - https://github.com/LorenDB/polyglot/issues/2

**OS**: Arch Linux ```bash # Wrong command $> ./build/gentool --help terminate called after throwing an instance of 'std::length_error' what(): basic_string::_M_create [1] 17907 IOT instruction (core dumped) ./build/gentool --help # Correct...

and sanitizers? (address, memory, thread)

> Havent tested, not sure how to though Try: ```bash $> export ASAN_OPTIONS=abort_on_error=0:fast_unwind_on_malloc=0:detect_leaks=1 UBSAN_OPTIONS=print_stacktrace=1 $> ldc2 hello.d -fsanitize=memory $> ./hello ## Output empty/none or stacktrce? ``` ### Reference - [Memory...

Does this leak occur on another system and/or libc? Because on the Alpine I didn't have the same problem.

> Also not sure about libc, like, what I do with it? I cited libc because Alpine uses musl and not glibc. It would be interesting to know if this...

In docker (non-privileged) CI/CD, try running: ```bash root@083728cd359b:/data# ./zig-out/bin/poop 'ls' 'ls -lh' thread 8 panic: unable to open perf event: PermissionDenied /home/kassane/zig/0.12.0-dev.17+49244dc0c/files/lib/std/io/fixed_buffer_stream.zig:0:13: 0x27f152 in panicExtra__anon_6850 (poop) /home/kassane/zig/0.12.0-dev.17+49244dc0c/files/lib/std/debug.zig:347:15: 0x27df75 in panic__anon_4569...

> maybe, needs capabilities? For me works (locally) using `--cap-add CAP_PERFMON` in `docker run`. updated - https://github.com/andrewrk/poop/issues/17

:warning: The project is still under development. All has been prepared to run the available examples. I'll admit it only has a modular wrapper for the `vlc.zig` file. https://github.com/kassane/libvlc-zig/blob/2c3c42f30dc06b619a173f55703a588df644084d/build.zig#L189-L195 `build.zig`...