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

terminology crashes as soon as it starts #194

Open
cmyster opened this issue May 31, 2024 · 0 comments
Open

terminology crashes as soon as it starts #194

cmyster opened this issue May 31, 2024 · 0 comments

Comments

@cmyster
Copy link

cmyster commented May 31, 2024

crashes every time.

uname -a
Linux ####### 6.9.3 #1 SMP PREEMPT_DYNAMIC Fri May 31 ########## 2024 x86_64 AMD Ryzen 9 5900X 12-Core Processor AuthenticAMD GNU/Linux

terminology -V
Version: 1.13.0

efl version:
1.27.0

compiler: clang --version
clang version 18.1.6+libcxx
Target: x86_64-pc-linux-gnu

compilation flags for debug: "-g -pipe -ggdb3 -fsanitize=address"

asan output as soon as the program starts (I suspect thread safety...):

ERROR: ecore_animator thread - epoll_wait(..., 200) at 16339.22045 should have slept ~ 0.01667s but took 199.98720s!
==97821==ERROR: AddressSanitizer: SEGV on unknown address 0x00000240001a (pc 0x155553c64763 bp 0x7fffffffc7a0 sp 0x7fffffffc790 T0)
==97821==The signal is caused by a READ memory access.
#0 0x155553c64763 in ecore_wl2_window_display_get /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/ecore_wl2/ecore_wl2_window.c:1107:4
#1 0x155552a10665 in land_im_context_preedit_string_with_attributes_get /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/modules/ecore_imf/wayland/wayland_imcontext.c:372:49
#2 0x155552a10767 in n_set /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/modules/ecore_imf/wayland/wayland_imcontext.c:397:6
#3 0x155552a10ee8 in t_Container_Callback /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/modules/ecore_imf/wayland/wayland_imcontext.c:918:4
#4 0x1555551a5e71 in ecore_imf_context_input_panel_show /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/ecore_imf/ecore_imf_context.c:912:45
#5 0x5555558511f0 in MMON_H 1 /usr/src/debug/x11-terms/terminology-1.13.0/terminology-1.13.0-build/../terminology-1.13.0/src/bin/win.c:1415:14
#6 0x555555860904 in CH_XCOMP_TILECFG 17 /usr/src/debug/x11-terms/terminology-1.13.0/terminology-1.13.0-build/../terminology-1.13.0/src/bin/win.c:764:8
#7 0x55555585778f /usr/src/debug/x11-terms/terminology-1.13.0/terminology-1.13.0-build/../terminology-1.13.0/src/bin/win.c:5945:4
#8 0x55555584c8c5 in ITY /usr/src/debug/x11-terms/terminology-1.13.0/terminology-1.13.0-build/../terminology-1.13.0/src/bin/win.c:962:9
#9 0x155554fc2dbb in e /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/evas/canvas/evas_object_smart.c:84:20
#10 0x155554404025 in ty_Reflection_Getter /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/eo/eo_base_class.c:2131:19
#11 0x155554402e36 in em /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/eo/eo_base_class.c:2198:11
#12 0x1555543fafce in efl_event_callback_legacy_call /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/eo/eo_base_class.c:2201:8
#13 0x155554fc321a in evas_object_smart_callback_call /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/evas/canvas/evas_object_smart.c:1159:4
#14 0x155554ab08bb in st_item_expanded_get_failed /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/elementary/efl_ui_win.c:1472:4
#15 0x1555551ebff7 in _ecore_evas_focus_device_set /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/ecore_evas/ecore_evas.c:1984:35
#16 0x15555299f050 in ENT_MASK_NONE /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/modules/ecore_evas/engines/x/ecore_evas_x.c:1444:4
#17 0x15555524d67b /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/ecore/ecore_event_message_handler.c:362:19
#18 0x15555525b183 in efl_loop_message_handler_message_call __pad0/src/lib/ecore/efl_loop_message_handler.eo.c:14:16
#19 0x155555252b32 in ter_model_filter_set_op_create /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/ecore/efl_loop.c:602:11
#20 0x15555524fe9b in efl_loop_message_process /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/ecore/efl_loop.c:640:7
#21 0x155555245ac9 in set_op_create /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/..
/efl-1.27.0/src/lib/ecore/ecore_main.c:2553:4
#22 0x155555245d54 in _ISdigit /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/ecore/ecore_main.c:1236:16
#23 0x155555251fd0 in ENT_YES /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/ecore/efl_loop.c:57:4
#24 0x1555552506ae in efl_loop_begin __pad0/src/lib/ecore/efl_loop.eo.c:28:16
#25 0x155555245f4d in ecore_main_loop_begin /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/ecore/ecore_main.c:1321:4
#26 0x155554992fec in elm_run /usr/src/debug/dev-libs/efl-1.27.0-r1/efl-1.27.0-build/../efl-1.27.0/src/lib/elementary/elm_main.c:1359:4
#27 0x5555557526db in DYNAMIC_STACK_SIZE 1 /usr/src/debug/x11-terms/terminology-1.13.0/terminology-1.13.0-build/../terminology-1.13.0/src/bin/main.c:1068:4
#28 0x555555755b5f in R_TILEGX_IMM16_X0_HW0_LAST_TLS_LE 82 /usr/src/debug/x11-terms/terminology-1.13.0/terminology-1.13.0-build/../terminology-1.13.0/src/bin/main.c:1106:1
#29 0x15555443204d (/usr/lib64/libc.so.6+0x2604d)
#30 0x155554432108 in __libc_start_main (/usr/lib64/libc.so.6+0x26108)
#31 0x5555555fce04 (/usr/bin/terminology+0xa8e04)

lldb backtrace:
(lldb) bt all
thread 1, name = 'terminology', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x240001a)
frame 0: 0x0000155553c64763 libecore_wl2.so.1 at ecore_wl2_window.c:1107:4
frame 1: 0x0000155552a10666 module.soland_im_context_preedit_string_with_attributes_get(l_language_set=0x000050e0000161c0) at wayland_imcontext.c:372:49 frame 2: 0x0000155552a10768 module.son_set(l_language_set=0x000050e0000161c0) at wayland_imcontext.c:397:6
frame 3: 0x0000155552a10ee9 module.sot_Container_Callback(l_language_set=0x000050e0000161c0) at wayland_imcontext.c:918:4 frame 4: 0x00001555551a5e72 libecore_imf.so.1POSTAL_CODE(ore_imf_context_use_preedit_set=0x000050e0000161c0) at ecore_imf_context.c:912:45
frame 5: 0x00005555558511f1 terminologyMMON_H 1(R (PTHREAD_MUTEX_ERRORCHECK_NP) } }=0x000051300000b100, (__ATOMIC_ACQUIRE)=0x0000511000095dc0) at win.c:1415:14 frame 6: 0x0000555555860905 terminologyCH_XCOMP_TILECFG 17(R (PTHREAD_MUTEX_ERRORCHECK_NP) } }=0x0000511000095dc0, (__ATOMIC_ACQUIRE)=0x0000511000095dc0) at win.c:764:8
frame 7: 0x0000555555857790 terminology at win.c:5945:4
frame 8: 0x000055555584c8c6 terminologyITY(add=0x000051300000b100, _CORE 4=0x0000400000015081, ORMING (1 << 8)=0x0000000000000000) at win.c:962:9 frame 9: 0x0000155554fc2dbc libevas.so.1e(=0x0000504000100510, _font_descent_get=0x00007fffffffce90) at evas_object_smart.c:84:20
frame 10: 0x0000155554404026 libeo.so.1ty_Reflection_Getter(na_Trash=0x0000400000015081, vent_callback_forwarder_del=0x000051c0000340c0, k_forwarder_del_op_create_done=0x000050200008eff0, re=0x0000000000000000, _get_func='\x01') at eo_base_class.c:2131:19 frame 11: 0x0000155554402e37 libeo.so.1em(na_Trash=0x0000400000015081, vent_callback_forwarder_del=0x000051c0000340c0, k_forwarder_del_op_create_done=0x000050200008eff0, re=0x0000000000000000) at eo_base_class.c:2198:11
frame 12: 0x00001555543fafcf libeo.so.1ain_current_push((null)=0x0000400000015081, k_forwarder_del_op_create_done=0x000050200008eff0, re=0x0000000000000000) at eo_base_class.c:2201:8 frame 13: 0x0000155554fc321b libevas.so.1as_filter_grayscale(out_text_item_trim=0x0000400000015081, _font_descent_get=0x00001555546fce2d, _compare_op_create=0x0000000000000000) at evas_object_smart.c:1159:4
frame 14: 0x0000155554ab08bc libelementary.so.1st_item_expanded_get_failed(=0x000051800001cc80) at efl_ui_win.c:1472:4 frame 15: 0x00001555551ebff8 libecore_evas.so.1ti_Down_Cb(int=0x000051800001cc80, GRY88=0x000040000001808d, _size_min_set='\x01') at ecore_evas.c:1984:35
frame 16: 0x000015555299f051 module.soENT_MASK_NONE(ce_out=0x0000000000000000, __builtin_va_list=150, _evas_x_selection_init=0x00005020000e0490) at ecore_evas_x.c:1444:4 frame 17: 0x000015555524d67c libecore.so.1 at ecore_event_message_handler.c:362:19 frame 18: 0x000015555525b184 libecore.so.1unc((null)=0x0000400000000c30, own=0x00004000000d9792) at efl_loop_message_handler.eo.c:14:16
frame 19: 0x0000155555252b33 libecore.so.1ter_model_filter_set_op_create((null)=0x000040000000002d, e_all_repack=0x0000515000000120) at efl_loop.c:602:11 frame 20: 0x000015555524fe9c libecore.so.1ick_eval((null)=0x000040000000002d) at efl_loop.c:640:7
frame 21: 0x0000155555245aca libecore.so.1set_op_create((null)=0x000040000000002d, e_all_repack=0x0000515000000120, ainer=0) at ecore_main.c:2553:4 frame 22: 0x0000155555245d55 libecore.so.1_ISdigit((null)=0x000040000000002d, e_all_repack=0x0000515000000120) at ecore_main.c:1236:16
frame 23: 0x0000155555251fd1 libecore.so.1ENT_YES((null)=0x000040000000002d, e_all_repack=0x0000515000000120) at efl_loop.c:57:4 frame 24: 0x00001555552506af libecore.so.1del_cb((null)=0x000040000000002d) at efl_loop.eo.c:28:16
frame 25: 0x0000155555245f4e libecore.so.1_chunk_size_set_op_create at ecore_main.c:1321:4 frame 26: 0x0000155554992fed libelementary.so.1_map_zoom_min_set at elm_main.c:1359:4
frame 27: 0x00005555557526dc terminologyDYNAMIC_STACK_SIZE 1(TT_ARM_16BIT STT_HIPROC=1, PCREL_LO 4=0x00007fffffffd898) at main.c:1068:4 frame 28: 0x0000555555755b60 terminologyR_TILEGX_IMM16_X0_HW0_LAST_TLS_LE 82(TT_ARM_16BIT STT_HIPROC=1, PCREL_LO 4=0x00007fffffffd898) at main.c:1106:1
frame 29: 0x000015555443204e libc.so.6___lldb_unnamed_symbol3273 + 126 frame 30: 0x0000155554432109 libc.so.6__libc_start_main + 137
frame 31: 0x00005555555fce05 terminology_start + 37 thread 2, name = 'Eevas-thread-wk' frame 0: 0x00001555544974ae libc.so.6___lldb_unnamed_symbol3648 + 174
frame 1: 0x000015555449a065 libc.so.6pthread_cond_timedwait + 581 frame 2: 0x0000155554f3cf42 libevas.so.1_Fash_Item_variation_Index_Item((null)=0x000015555514be60, (null)=2250) at eina_inline_lock_posix.x:439:15
frame 3: 0x0000155554f3c70f libevas.so.1t_intercept_call_stack_above(=0x0000000000000000, (null)=23456145999552) at evas_thread_render.c:136:14 frame 4: 0x0000155554df0f63 libeina.so.1ng(Compare_Cb=0x000050300003b320) at eina_thread_posix.c:201:8
frame 5: 0x00005555556cf0ed terminologyasan_thread_start(void*) + 109 frame 6: 0x000015555449ab02 libc.so.6___lldb_unnamed_symbol3679 + 834
frame 7: 0x0000155554518c2c libc.so.6___lldb_unnamed_symbol4110 + 7 thread 3, name = 'Evas-scale-sam' frame 0: 0x00001555544974ae libc.so.6___lldb_unnamed_symbol3648 + 174
frame 1: 0x00001555544a28a0 libc.so.6___lldb_unnamed_symbol3711 + 144 frame 2: 0x0000155554dc1605 libeina.so.1ina_prefix_lib_get((null)=0x0000507000005de8) at eina_inline_lock_posix.x:724:18
frame 3: 0x0000155554dc0e99 libeina.so.1 at eina_thread_queue.c:209:9
frame 4: 0x0000155554dc0dfa libeina.so.1_next(VALUE_TYPE_ULONG=0x0000507000005dc0, trbuf_length_get=0x000015554e3ffb28) at eina_thread_queue.c:492:4 frame 5: 0x0000155554f2ade1 libevas.so.1 at evas_scale_sample.c:751:15 frame 6: 0x0000155554df0f63 libeina.so.1ng(Compare_Cb=0x000050300003b3b0) at eina_thread_posix.c:201:8
frame 7: 0x00005555556cf0ed terminologyasan_thread_start(void*) + 109 frame 8: 0x000015555449ab02 libc.so.6___lldb_unnamed_symbol3679 + 834
frame 9: 0x0000155554518c2c libc.so.6___lldb_unnamed_symbol4110 + 7 thread 5, name = 'Eanimator-timer' frame 0: 0x0000155554519056 libc.so.6epoll_wait + 86
frame 1: 0x000015555523e126 libecore.so.1l_failed(tream_efl_io_closer_close_on_invalidate_set=0x0000000000000000, (null)=0x0000511000032a40) at ecore_anim.c:222:25 frame 2: 0x00001555552a24d9 libecore.so.1_list(tream_efl_io_closer_close_on_invalidate_set=0x0000511000032a40, (null)=23456087279296) at ecore_thread.c:483:6
frame 3: 0x0000155554df0f63 libeina.so.1ng(Compare_Cb=0x0000503000176830) at eina_thread_posix.c:201:8 frame 4: 0x00005555556cf0ed terminologyasan_thread_start(void*) + 109
frame 5: 0x000015555449ab02 libc.so.6___lldb_unnamed_symbol3679 + 834 frame 6: 0x0000155554518c2c libc.so.6___lldb_unnamed_symbol4110 + 7

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

1 participant