Chatty segfaults when trying to scroll chat details with many users
When trying to scroll down chat details with (at that time it had) 300+ users the chatty is crashed by Xerror
(sm.puri.Chatty:157980): Gdk-ERROR **: 11:07:53.618: The program 'sm.puri.Chatty' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 6695629 error_code 11 request_code 130 (MIT-SHM) minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)
Assuming above warning about async behaviour the backtrace is useless nevertheless will put it here for the reference (no idea how to approach this)
#0 0x00007f8e49701166 in () at /usr/lib/libglib-2.0.so.0
#1 0x00007f8e496ff0c4 in g_log_writer_default () at /usr/lib/libglib-2.0.so.0
#2 0x00007f8e496f5e09 in g_log_structured_array () at /usr/lib/libglib-2.0.so.0
#3 0x00007f8e496fe0bb in g_log_structured_standard () at /usr/lib/libglib-2.0.so.0
#4 0x00007f8e48f0004f in () at /usr/lib/libgdk-3.so.0
#5 0x00007f8e47f685db in _XError () at /usr/lib/libX11.so.6
#6 0x00007f8e47f65388 in () at /usr/lib/libX11.so.6
#7 0x00007f8e47f65425 in () at /usr/lib/libX11.so.6
#8 0x00007f8e47f65d8a in _XEventsQueued () at /usr/lib/libX11.so.6
#9 0x00007f8e47f57782 in XPending () at /usr/lib/libX11.so.6
#10 0x00007f8e48f03a6e in () at /usr/lib/libgdk-3.so.0
#11 0x00007f8e48f58d8b in gdk_display_get_event () at /usr/lib/libgdk-3.so.0
#12 0x00007f8e48f038f4 in () at /usr/lib/libgdk-3.so.0
#13 0x00007f8e4970739e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#14 0x00007f8e497091b1 in () at /usr/lib/libglib-2.0.so.0
#15 0x00007f8e497091f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#16 0x00007f8e498bacde in g_application_run () at /usr/lib/libgio-2.0.so.0
#17 0x00005557d38eaec2 in main (argc=2, argv=0x7ffef97c6308) at ../src/main.c:34