Skip to content
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

occasional crash on startup #56

Open
zzshan16 opened this issue Jan 13, 2023 · 5 comments
Open

occasional crash on startup #56

zzshan16 opened this issue Jan 13, 2023 · 5 comments

Comments

@zzshan16
Copy link

zzshan16 commented Jan 13, 2023

mlterm crashes on startup occasionally and i have seen the following messages when starting mlterm:
"malloc(): mismatching next->prev_size (unsorted)"
"Fatal glibc error: malloc assertion failure in _int_malloc: (unsigned long) (size) >= (unsigned long) (nb)"
"malloc(): invalid size (unsorted)"

it happens rarely. i can reproduce it only by starting many instances of mlterm until it occurs
(using mlterm version 3.9.2 from gentoo)

@arakiken
Copy link
Owner

Thanks.
Does it happen if you start mlterm with --type=xft or --type=xcore option ?

@zzshan16 zzshan16 reopened this Jan 15, 2023
@zzshan16
Copy link
Author

misclick sorry. I tried both those options and i still get the error
"malloc(): invalid size (unsorted)"
it happens very rarely

@hramrach
Copy link
Contributor

hramrach commented Feb 24, 2023

I get reproducible crash on startup:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff6dff6c0 (LWP 19583)]
*** buffer overflow detected ***: terminated

Thread 1 "mlterm-sdl2" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44

@hramrach
Copy link
Contributor

This one only affects SDL build so it's probably different one form the original.

@arakiken
Copy link
Owner

Thanks very much for reporting mlterm-sdl2 problem and creating a pull request to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants