[BRLTTY] Crash of BRLTTY in X sessionudo systemctl edit brlpulse

Sebastian Humenda shumenda at gmx.de
Mon Mar 3 17:07:24 UTC 2025


Hi Samuel

Samuel Thibault schrieb am 03.03.2025, 16:17 +0100:
>Sebastian Humenda, le lun. 03 mars 2025 14:35:41 +0100, a ecrit:
>> ```
>> [Service]
>> Environment=ASAN_OPTIONS=symbolize=1 ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-14
>> ```
>
>I guess this needs to be two separate lines, one per variable.

I changed it, but didn't see a difference.

>
>> I also tried to use llvm-symbolizer. What would be the right invocation for Debian's split debugging symbols?
>
>With the brltty-dbgsym package, you should have everything. You can try
>to run
>
>gdb /usr/bin/brltty

On GDB startup, it reports that it found the dubbing symbols:
Reading symbols from /usr/bin/brltty...
Reading symbols from /usr/lib/debug/.build-id/c9/9fcf7422d3bcf1b237ddfb1f1ca5c1f939f430.debug...

Apparently it makes a difference whether I use asan_symbolize or
llvm-symbolizer, the latter maybe being for a different purpose. Symbolized
output below. Thanks!

Sebastian
===
Braille Driver: ht [HandyTech] Version:0.6
brltty: Braille Driver: ht [HandyTech] Version:0.6
AddressSanitizer:DEADLYSIGNAL
=================================================================
==604278==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f7e998d0d66 bp 0x7ffd5076aa90 sp 0x7ffd5076a218 T0)
==604278==The signal is caused by a READ memory access.
==604278==Hint: address points to the zero page.
    #0 0x7f7e998d0d66 in __sanitizer::internal_strlen(char const*) ../../../../src/libsanitizer/sanitizer_common/sanitizer_libc.cpp:167
    #1 0x7f7e9986dc9f in unpoison_glob_t ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:2304
    #2 0x7f7e9986e292 in __interceptor_glob ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:2380
    #0 0x563881e7fd9b in beginItem_files menu.c:?
    #1 0x563881e7e0dd in beginMenuItem menu.c:?
    #2 0x563881e83009 in getCurrentMenuItem ??:?
    #3 0x563881e82b72 in changeMenuSettingScaled ??:?
    #4 0x563881eab2ad in handlePreferencesCommands cmd_preferences.c:?
    #5 0x563881e9a0f8 in handleCommand ??:?
    #6 0x563881e9a388 in handleCommandAlarm ??:?
    #7 0x563881e52205 in asyncExecuteAlarmCallback ??:?
    #8 0x563881e50a72 in alarmCallbackExecuter async_wait.c:?
    #9 0x563881e50f06 in awaitAction async_wait.c:?
    #10 0x563881e511ef in asyncAwaitCondition ??:?
    #11 0x563881e2a47b in brlttyWait ??:?
    #12 0x563881e22ad7 in brlttyRun brltty.c:?
    #13 0x563881e22b10 in main ??:?
    #17 0x7f7e97046249 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #18 0x7f7e97046304 in __libc_start_main_impl ../csu/libc-start.c:360
    #14 0x563881e22a00 in _start ??:?
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ../../../../src/libsanitizer/sanitizer_common/sanitizer_libc.cpp:167 in __sanitizer::internal_strlen(char const*)
==604278==ABORTING


More information about the BRLTTY mailing list