[root@archlinux build]# gdb ./pacman GNU gdb (GDB) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./pacman... (gdb) r -S tesseract Starting program: /home/ss141309/pacman/build/pacman -S tesseract This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.archlinux.org Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". आश्रित पैकेज समन्वय... Program received signal SIGSEGV, Segmentation fault. __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76 76 VPCMPEQ (%rdi), %ymm0, %ymm1 (gdb) bt full #0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76 No locals. #1 0x00007ffff7cdd5c8 in __vfprintf_internal (s=0x7ffff7e5b6a0 <_IO_2_1_stdout_>, format=0x7ffff725e81c "%s हेतु %zu प्रदाता उपलब्ध हैं :\n", ap=0x7fffffffdd00, mode_flags=0) at /usr/src/debug/glibc/stdio-common/vfprintf-process-arg.c:397 len = ptrptr = 0x7e signed_number = step0_jumps = {0, 1147, 3635, 3523, 3419, 3307, 3187, 2955, 2843, 4443, 4339, 4131, 4019, 3915, 2787, 2691, 2667, 2643, 2619, 483, 1243, 1795, 2011, 1883, 1451, 731, 487, 3843, 3739, 3083, 2099} space = 0 is_short = use_outdigits = 0 step1_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 4443, 4339, 4131, 4019, 3915, 2787, 2691, 2667, 2643, 2619, 483, 1243, 1795, 2011, 1883, 1451, 731, 487, 3843, 3739, 0, 2099} group = 0 prec = step2_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4339, 4131, 4019, 3915, 2787, 2691, 2667, 2643, 2619, 483, 1243, 1795, 2011, 1883, 1451, 731, 487, 3843, 3739, 0, 2099} string = left = 0 is_long_double = width = 0 step3a_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4235, 0, 0, 0, 2787, 2691, 2667, 2643, 2619, 0, 0, 0, 0, 1883, 0, 0, 0, 0, 0, 0, 2099} alt = 0 showsign = 0 is_long = is_char = 0 pad = step3b_jumps = {0 , 4019, 0, 0, 2787, 2691, 2667, 2643, 2619, 483, 1243, 1795, 2011, 1883, 1451, 731, 487, 0, 0, 0, 2099} step4_jumps = {0 , 2787, 2691, 2667, 2643, 2619, 483, 1243, 1795, 2011, 1883, 1451, 731, 487, 0, 0, 0, 2099} is_negative = number = base = the_arg = {pa_wchar = -148330264 L'\xf728a8e8', pa_int = -148330264, pa_long_int = 140737340025064, pa_long_long_int = 140737340025064, pa_u_int = 4146637032, pa_u_long_int = 140737340025064, pa_u_long_long_int = 140737340025064, pa_double = 6.9533484793462362e-310, pa_long_double = , pa_float128 = 5.13016226551711859086579813717192669e-4937, pa_string = 0x7ffff728a8e8 "\300\342\377\367\377\177", pa_wstring = 0x7ffff728a8e8 L"\xf7ffe2c0翿\xf7fc2150翿\xf7fc2670翿\xf7fc2b90翿\xf7fc30a0翿\xf7fc35c0翿\xf7fc3ad0翿\xf7b88090翿\xf7b885a0翿\xf7b88ab0翿\xf7b88fc0翿\xf7b894d0翿\xf7b899e0翿\xf7aeb000翿\xf7ffdab0翿\xf7aeb620翿\xf7aebb40翿\xf7aec050翿\xf7aec560翿\xf7aeca70翿\xf7ae9000翿\xf7ae9520翿\xf7ae9b10翿\xf7aea020翿\xf7aea720翿\xf7ae7000翿\xf7ae7510翿\xf7ae7a30翿\xf7ae7f40翿\xf7ae8460翿\xf7ae8980翿\xf728a000翿", pa_pointer = 0x7ffff728a8e8, pa_user = 0x7ffff728a8e8} spec = _cleanup_start_doit = _buffer = {__routine = 0x7ffff7cd0ff0 <__funlockfile>, __arg = 0x7ffff7e5b6a0 <_IO_2_1_stdout_>, __canceltype = 0, __prev = 0x0} _cleanup_routine = thousands_sep = 0x0 grouping = 0xffffffffffffffff done = 0 f = 0x7ffff725e81d "s हेतु %zu प्रदाता उपलब्ध हैं :\n" lead_str_end = 0x7ffff725e81c "%s हेतु %zu प्रदाता उपलब्ध हैं :\n" end_of_spec = work_buffer = "\001", '\000' , "\210$\311\367\377\177\000\000\360\063\317\367\377\177\000\000\001\000\000\000\000\000\000\000\300\334\377\377\377\177\000\000\320\335\377\377\377\177\000\000\000\000\000\000\000\000\000\000X\344\377\377\377\177\000\000N\307\375\367\377\177\000\000\034\350%\367\377\177\000\000\000\f\000\000\000\000\000\000\000\335\377\377\377\177\000\000\000\335\377\377\377\177\000\000\034\350%\367\377\177\000\000\300\271\345\367\377\177\000\000\000\000\000\000\000\000\000\000\377\377\377\377\000\000\000\000\030\064\311\367\377\177\000\000\220+\374\367\377\177\000\000PfsWUU\000\000\240\037\000\000\377\377\000\000\320chWUU\000\000\071\255\371\367\377\177\000\000\240ZsWUU\000\000"... workend = 0x7fffffffdc98 "" --Type for more, q to quit, c to continue without paging--c ap_save = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fffffffdde0, reg_save_area = 0x7fffffffdd20}} nspecs_done = 0 save_errno = 0 readonly_format = 0 do_longlong_number = __result = #2 0x0000555555573730 in colon_printf (fmt=0x7ffff725e81c "%s हेतु %zu प्रदाता उपलब्ध हैं :\n") at ../src/pacman/util.c:1767 ret = 0 args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffdde0, reg_save_area = 0x7fffffffdd20}} #3 0x000055555556cfa2 in cb_question (ctx=0x0, question=0x7fffffffdf00) at ../src/pacman/callback.c:506 q = 0x7fffffffdf00 count = 126 depstring = 0x5555555d3e80 "tessdata" #4 0x00007ffff7f8c01b in resolvedep (handle=0x555555581eb0, dep=0x555557659ab0, dbs=0x5555555a0aa0, excluding=0x5555555ce5a0, prompt=0) at ../lib/libalpm/deps.c:731 question = {type = ALPM_QUESTION_SELECT_PROVIDER, use_index = 0, providers = 0x555557659a30, depend = 0x555557659ab0} i = 0x0 j = 0x0 ignored = 0 providers = 0x555557659a30 count = 126 #5 0x00007ffff7f8c34e in _alpm_resolvedeps (handle=0x555555581eb0, localpkgs=0x5555574ca120, pkg=0x55555725de70, preferred=0x5555555ce070, packages=0x7fffffffe010, rem=0x0, data=0x7fffffffe1d8) at ../lib/libalpm/deps.c:829 miss = 0x555557659a90 missdep = 0x555557659ab0 spkg = 0x0 ret = 0 j = 0x555557659b00 targ = 0x0 deps = 0x555557659a50 packages_copy = 0x0 #6 0x00007ffff7fa2bab in _alpm_sync_prepare (handle=0x555555581eb0, data=0x7fffffffe1d8) at ../lib/libalpm/sync.c:427 pkg = 0x55555725de70 resolved = 0x5555555ce5a0 remove = 0x0 localpkgs = 0x5555574ca120 i = 0x5555555ce070 j = 0x0 deps = 0x0 unresolvable = 0x0 from_sync = 1 ret = 0 trans = 0x555555583850 event = {type = ALPM_EVENT_RESOLVEDEPS_START, any = {type = ALPM_EVENT_RESOLVEDEPS_START}, package_operation = {type = ALPM_EVENT_RESOLVEDEPS_START, operation = 0, oldpkg = 0x5555555a7cc0, newpkg = 0x55555725de70}, optdep_removal = {type = ALPM_EVENT_RESOLVEDEPS_START, pkg = 0x5555555a7cc0, optdep = 0x55555725de70}, scriptlet_info = {type = ALPM_EVENT_RESOLVEDEPS_START, line = 0x5555555a7cc0 "\240|ZUUU"}, database_missing = {type = ALPM_EVENT_RESOLVEDEPS_START, dbname = 0x5555555a7cc0 "\240|ZUUU"}, pkgdownload = {type = ALPM_EVENT_RESOLVEDEPS_START, file = 0x5555555a7cc0 "\240|ZUUU"}, pacnew_created = {type = ALPM_EVENT_RESOLVEDEPS_START, from_noupgrade = 0, oldpkg = 0x5555555a7cc0, newpkg = 0x55555725de70, file = 0x55555725e0d0 "x86_64"}, pacsave_created = {type = ALPM_EVENT_RESOLVEDEPS_START, oldpkg = 0x5555555a7cc0, file = 0x55555725de70 "4uO\335\032\024\247\003\220\325%WUU"}, hook = {type = ALPM_EVENT_RESOLVEDEPS_START, when = 0}, hook_run = {type = ALPM_EVENT_RESOLVEDEPS_START, name = 0x5555555a7cc0 "\240|ZUUU", desc = 0x55555725de70 "4uO\335\032\024\247\003\220\325%WUU", position = 93825022681296, total = 140737488347488}, pkg_retrieve = {type = ALPM_EVENT_RESOLVEDEPS_START, num = 93824992574656, total_size = 93825022680688}} __func__ = "_alpm_sync_prepare" #7 0x00007ffff7fa616f in alpm_trans_prepare (handle=0x555555581eb0, data=0x7fffffffe1d8) at ../lib/libalpm/trans.c:141 trans = 0x555555583850 __func__ = "alpm_trans_prepare" invalid = 0x0 #8 0x000055555556b74f in sync_prepare_execute () at ../src/pacman/sync.c:758 i = 0x7fffffffe240 packages = 0x55555556b3d4 data = 0x0 retval = 0 confirm = 21845 #9 0x000055555556b5c6 in sync_trans (targets=0x555555581cb0) at ../src/pacman/sync.c:728 retval = 0 i = 0x0 #10 0x000055555556bf61 in pacman_sync (targets=0x555555581cb0) at ../src/pacman/sync.c:958 sync_dbs = 0x5555555a0aa0 #11 0x0000555555567661 in main (argc=3, argv=0x7fffffffe438) at ../src/pacman/pacman.c:1259 ret = 0 myuid = 0 (gdb) q A debugging session is active. Inferior 1 [process 10601] will be killed. Quit anyway? (y or n) y