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 - Electric fence reports malloc(0) on SDL_Init(SDL_INIT_VIDEO)
Summary: Electric fence reports malloc(0) on SDL_Init(SDL_INIT_VIDEO)
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 2.0.10
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-30 07:39 UTC by Guido
Modified: 2020-11-30 07:39 UTC (History)
0 users

See Also:


Attachments
Stack trace (95.65 KB, image/png)
2020-11-30 07:39 UTC, Guido
Details

Note You need to log in before you can comment on or make changes to this bug.
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)