We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5370

Summary: Electric fence reports malloc(0) on SDL_Init(SDL_INIT_VIDEO)
Product: SDL Reporter: Guido <guido.romijn>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.10   
Hardware: x86   
OS: Linux   
Attachments: Stack trace

Description Guido 2020-11-30 07:39:41 UTC
Created attachment 4547 [details]
Stack trace

Electric fence reports "ElectricFence Aborting: Allocating 0 bytes, probaly a bug" on SDL_Init(SDL_INIT_VIDEO). In my case SDL_Init is called in a function called from main.c. I tried calling it directly from the main() without any luck, still the same outcome.

SDL: 2.0.10 (linked & compiled)
Language: C
OS: Linux Mint 20 Cinnamon 4.6.7 on VMware Player on Win10Pro

Added stack trace (png)