runtime malloc error on C wm spectrwm
This WM called spectrwm is in C. Version 3.5+ builds ok on Slack 15 but startx results in a runtime malloc() error.
Anyone know where I can get more detail about what's breaking here? I can open a bug report, but I'd like to figure out if this is something strange with slackware. |
From what little that you posted.
https://github.com/conformal/spectrwm https://www.tutorialspoint.com/c_sta...ion_malloc.htm https://www.geeksforgeeks.org/dynami...e-and-realloc/ Post the complete error/errors that you are getting. You don't get any compile errors? |
When malloc fails it usually means that you somehow has run out of RAM. That could be because of a memory leak which tools like valgrind are good at detecting.
However, if you are not willing to do the bug hunting yourself to later provide a bugfix patch a simpler solution might be to look for a more stable window manager. The web page for spectrwm mentions two other window managers and to me it also looks very much like the i3 window manager which I haven't used myself but know some people that prefer it. https://slackbuilds.org/repository/15.0/desktop/i3/ regards Henrik |
I don't really think it is a bug in slackware (which is not impossible but highly unlikely). I'm curious what do you want to write in that bug report?
Anyway, would be nice to see more. At least the full error message you got (and build log probably). (see post #2) |
Quote:
https://github.com/conformal/spectrwm/issues/567 |
Thanks for the replies.
I posted to SBo group, but it seems to run on some one else's system. Myself, I'm running a vanilla full install of Slack15. Quote:
Quote:
The xorg log is Code:
X.Org X Server 1.20.14 |
That error does not sound like you are running out of memory. It rather sounds as if the application somehow has broken its heap memory. Running valgrind on such an application compiled with debug symbols will probably quickly point to the bug.
regards Henrik |
https://stackoverflow.com/questions/...-size-unsorted
here is a similar issue, just to see how can it be analyzed. |
All times are GMT -5. The time now is 12:21 PM. |