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
Crash with "malloc(): corrupted top size" error on start on ubuntu #2259
Comments
Is this a VM or bare metal? How much physical memory is installed on this system? Is this system fully up to date? That error is coming from the C code embedded in the Java runtime, not from any Java code. This implies a system-level issue. A quick Google search hasn't turned up any particular Kubuntu 20.04 bugs in regards to memory issues. I may install a Kubuntu VM for testing, but I'll need more machine specifics from your machine (physical RAM, number of cpus, type of graphics card). |
Weird. No VM, just kubuntu up to date. 16GB physical memory. It is intermittent problem I think. This first happened on friday right before a game and I did a reinstall and that fixed it (but probably had nothing to do with the reinstall since this is not in maptool itself?). Then it happened again today when I tried to open maptool (first time since Friday). It did not work from my shortcut nor from a terminal as shown. I tried a new terminal now and it opened again so I'm confused. I'm using openjdk 11:
Physical ram is 16GB |
Don't make this any priority as now I can't reliably reproduce the issue! Sorry. |
Yep, I just tried it on a fresh install (of the OS and the .deb package) and I can't recreate it either. I'm closing this, but if it comes back you can file another issue. |
I have exactly the same crash with MapTool 1.7 installed via deb on Linux Mint 20 (also based on Ubuntu 20.04). It's really inconsistent whether or not it shows up. Some days I need to run MapTool 4 or 5 times before it starts. Other days it works every time. Whatever is going on it happens really early during the application's lifetime, before the splash screen even shows up. I have never seen such a crash after the splash screen shows up, no matter how long I run MapTool for. If you'd like me to open another issue I can, but since this is literally the same symptom I figured I would chime in here. |
I still have this as well. The symptoms are exactly the same as those described by @kwvanderlinde. I just keep trying until it works. Once opened, it works fine every time. Should we open another issue? |
I did some more searching; the error appears to be in the C code in the Java runtime. There's nothing we can do to fix this. I'm going to leave this one closed and we'll see if the bug is still in the Java 14 runtime that MT 1.8-beta is using (if you can test the new beta build by installing it and running it, that would be helpful; pick a different directory to install it into so it doesn't conflict with your 1.7 installation). |
Sounds like a plan. I should really be testing out 1.8 anyways! |
It's been a few weeks now of using the 1.8 beta and I have not once encountered this issue again. Looks like it may be a thing of the past after all! |
Describe the bug
Linux executable installed from 1.7.0 deb file results in:
To Reproduce
See above
Expected behavior
Program should open the main maptool window
Screenshots
NA
MapTool Info
Desktop (please complete the following information):
Additional context
/opt/MapTool/MapTool --reset
has no effect, nor does increasing memory settings in~/.local/net.rptools.maptool.client/packager/jvmuserargs.cfg
The text was updated successfully, but these errors were encountered: