-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gmusializer(20953,0x1e2b35b40) malloc: double free for ptr 0x158028000 #64
Comments
I've already given it another try on Intel iMac as well, same double free issue: musializer(7021,0x114acde00) malloc: *** error for object 0x7ff350118000: pointer being freed was not allocated
musializer(7021,0x114acde00) malloc: *** set a breakpoint in malloc_error_break to debug |
It happens in |
same thing on ubuntu Linux tux 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ./build/musializer free(): double free detected in tcache 2 file build/musializer log of the end of strace strace ./build/musializer read(19, "\224F\320\1r\2\0\0\32I\320\1\n\2\0\0,K\320\1r\2\0\0\262M\320\1r\2\0\0"..., 4096) = 4096 |
Is this problem still reproducible? I could not reproduce it either on my Debian or Window setup. |
Yes absolutely
***@***.***:~/Develop/musializer$ ./build/musializer
INFO: FILEIO: [./resources/logo/logo-256.png] File loaded successfully
INFO: IMAGE: Data loaded successfully (256x256 | R8G8B8A8 | 1 mipmaps)
INFO: Initializing raylib 5.0
INFO: Platform backend: DESKTOP (GLFW)
INFO: Supported raylib modules:
INFO: > rcore:..... loaded (mandatory)
INFO: > rlgl:...... loaded (mandatory)
INFO: > rshapes:... loaded (optional)
INFO: > rtextures:. loaded (optional)
INFO: > rtext:..... loaded (optional)
INFO: > rmodels:... loaded (optional)
INFO: > raudio:.... loaded (optional)
INFO: DISPLAY: Device initialized successfully
INFO: > Display size: 3440 x 1440
INFO: > Screen size: 1280 x 720
INFO: > Render size: 1280 x 720
INFO: > Viewport offsets: 0, 0
INFO: GLAD: OpenGL extensions loaded successfully
INFO: GL: Supported extensions count: 235
INFO: GL: OpenGL device information:
INFO: > Vendor: AMD
INFO: > Renderer: AMD Radeon Graphics (raphael_mendocino, LLVM 15.0.7,
DRM 3.54, 6.5.0-15-generic)
INFO: > Version: 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1
INFO: > GLSL: 4.60
INFO: GL: VAO extension detected, VAO functions loaded successfully
INFO: GL: NPOT textures extension detected, full NPOT textures supported
INFO: GL: DXT compressed textures supported
INFO: GL: ETC2/EAC compressed textures supported
INFO: PLATFORM: DESKTOP (GLFW): Initialized successfully
INFO: TEXTURE: [ID 1] Texture loaded successfully (1x1 | R8G8B8A8 | 1
mipmaps)
INFO: TEXTURE: [ID 1] Default texture loaded successfully
INFO: SHADER: [ID 1] Vertex shader compiled successfully
INFO: SHADER: [ID 2] Fragment shader compiled successfully
INFO: SHADER: [ID 3] Program shader loaded successfully
INFO: SHADER: [ID 3] Default shader loaded successfully
INFO: RLGL: Render batch vertex buffers loaded successfully in RAM (CPU)
INFO: RLGL: Render batch vertex buffers loaded successfully in VRAM (GPU)
INFO: RLGL: Default OpenGL state initialized successfully
INFO: TEXTURE: [ID 2] Texture loaded successfully (128x128 | GRAY_ALPHA | 1
mipmaps)
INFO: FONT: Default font loaded successfully (224 glyphs)
INFO: TIMER: Target time per frame: 16.667 milliseconds
INFO: AUDIO: Device initialized successfully
INFO: > Backend: miniaudio / PulseAudio
INFO: > Format: 32-bit IEEE Floating Point -> 32-bit Signed
Integer
INFO: > Channels: 2 -> 2
INFO: > Sample rate: 48000 -> 48000
INFO: > Periods size: 3600
INFO: FILEIO: [./resources/fonts/Alegreya-Regular.ttf] File loaded
successfully
INFO: TEXTURE: [ID 3] Texture loaded successfully (1024x512 | GRAY_ALPHA |
1 mipmaps)
INFO: FONT: Data loaded successfully (64 pixel size | 95 glyphs)
INFO: TEXTURE: [ID 3] Mipmaps generated automatically, total: 11
INFO: FILEIO: [./resources/shaders/glsl330/circle.fs] Text file loaded
successfully
INFO: SHADER: [ID 4] Fragment shader compiled successfully
INFO: SHADER: [ID 5] Program shader loaded successfully
INFO: TEXTURE: [ID 4] Texture loaded successfully (1600x900 | R8G8B8A8 | 1
mipmaps)
INFO: TEXTURE: [ID 1] Depth renderbuffer loaded successfully (32 bits)
INFO: FBO: [ID 1] Framebuffer object created successfully
free(): double free detected in tcache 2
Abandon (core dumped)
***@***.***:~/Develop/musializer$ file build/musializer
build/musializer: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV),
dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
BuildID[sha1]=1f9c221cb790d7e0c9f18cf936a445979959f998, for GNU/Linux
3.2.0, with debug_info, not stripped
nob: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically
linked, interpreter /lib64/ld-linux-x86-64.so.2,
BuildID[sha1]=684f4474100e0fc831498a1c5dbe0db07ea74f14, for GNU/Linux
3.2.0, not stripped
CPU: 12-core AMD Ryzen 9 7900 (-MT MCP-) speed/min/max: 1879/400/5482 MHz
Kernel: 6.5.0-15-generic x86_64 Up: 2d 4h 41m Mem: 5.58/30.55 GiB (18.3%)
Linux tux 6.5.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 9
17:03:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
***@***.***:~/Develop/musializer$ cc -v
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
13.2.0-4ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr
--with-gcc-major-version-only --program-suffix=-13
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-plugin --enable-default-pie
--with-system-zlib --enable-libphobos-checking=release
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch
--disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-offload-targets=nvptx-none=/build/gcc-13-XYspKM/gcc-13-13.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-XYspKM/gcc-13-13.2.0/debian/tmp-gcn/usr
--enable-offload-defaulted --without-cuda-driver --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
--with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (Ubuntu 13.2.0-4ubuntu3)
Hope this help you and i'm a big fon of your video 👍
Le jeu. 8 févr. 2024 à 13:14, Alexey Kutepov ***@***.***> a
écrit :
… Is this problem still reproducible? I could not reproduce it either on my
Debian or Window setup.
—
Reply to this email directly, view it on GitHub
<#64 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWZGHF25COXV7BYO24XZAVTYSS6RXAVCNFSM6AAAAABA66N4FWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZTHE4TCNJYGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm trying with raylib-4.5.0 in nob.c and same result ;-( INFO: FBO: [ID 1] Framebuffer object created successfully |
Can't reproduce this on $ uname -r
6.7.4-arch1-1 |
Cool |
Hi, I love all your YouTube videos and was watching your latest one
This Release is Insane!
, then I want to try it by myself. Here are the steps I had tried and then I saw thedouble free
bug:Apple M2 Macbook Air with the following
clang
version:Install
ffmpeg
andraylib 5.0
Compile the project
Run it without error
Drag&drop 2 MP3 files into the UI, then it crash:
The text was updated successfully, but these errors were encountered: