geommer / yabar

A modern and lightweight status bar for X window managers.
MIT License
681 stars 49 forks source link

Possible Memory Allocation Error - corrupted size vs. prev_size #198

Open Daggema opened 5 years ago

Daggema commented 5 years ago

After running Yabar for a few minutes the process invariably crashes and returns the following error:

corrupted size vs. prev_size Aborted (core dumped)

After doing some research it seems this error might be indication of a memory allocation issue in the C code:

https://stackoverflow.com/questions/50797993/corrupted-size-vs-prev-size-in-c

Not sure if this is something only I've encountered or if anyone else has had it but seems like it might be worthwhile investigating.

Regards

tscode commented 5 years ago

I can confirm this issue, running Arch Linux on several different laptops. Sometimes yabar runs for hours, and sometimes it crashes after a few minutes already. I don't see an obvious rule as to when this happens, however.

gavinstjohn commented 4 years ago

+1 Also having this problem on arch, usually crashed within a couple minutes.