nabijaczleweli@szarotka:/mnt/zest/htop/gpm/src$ nabijaczleweli@szarotka:/mnt/zest/htop/gpm/src$ nabijaczleweli@szarotka:/mnt/zest/htop/gpm/src$ gdb ../../htop/htop GNU gdb (Debian 9.1-3) 9.1 Copyright (C) 2020 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-linux-gnux32". 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 ../../htop/htop... (gdb) break dlclose Function "dlclose" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (dlclose) pending. (gdb) run > /dev/tty2 Starting program: /mnt/zest/htop/htop/htop > /dev/tty2 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnux32/libthread_db.so.1". ^Z Program received signal SIGTSTP, Stopped (user). 0xf72c5383 in __GI___poll (fds=0xffffd1c0, nfds=2, timeout=timeout@entry=1500) at ../sysdeps/unix/sysv/linux/poll.c:29 29 return SYSCALL_CANCEL (poll, fds, nfds, timeout); (gdb) cont Continuing. Program received signal SIGTSTP, Stopped (user). 0xf720f977 in kill () at ../sysdeps/unix/syscall-template.S:78 78 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) (gdb) Continuing. Breakpoint 1, __interceptor_dlclose (handle=0xf4902e00) at ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:5925 5925 INTERCEPTOR(__sanitizer_FILE *, open_wmemstream, wchar_t **ptr, (gdb) bt #0 __interceptor_dlclose (handle=0xf4902e00) at ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:5925 #1 0xf79cd981 in unload_gpm_library (sp=0xf2b03680) at ../../ncurses/base/lib_mouse.c:480 #2 enable_gpm_mouse (sp=sp@entry=0xf2b03680, enable=enable@entry=false) at ../../ncurses/base/lib_mouse.c:567 #3 0xf79ce34a in mouse_activate (on=0, sp=0xf2b03680) at ../../ncurses/base/lib_mouse.c:1405 #4 mouse_activate (sp=, on=) at ../../ncurses/base/lib_mouse.c:1348 #5 0xf79c8d0d in endwin_sp (sp=sp@entry=0xf2b03680) at ../../ncurses/base/lib_endwin.c:64 #6 0xf79d6809 in handle_SIGTSTP (dummy=) at ../../ncurses/tty/lib_tstp.c:195 #7 #8 0xf720f977 in kill () at ../sysdeps/unix/syscall-template.S:78 #9 0xf5e09f5b in gpm_suspend_hook (signum=) at lib/liblow.c:169 #10 #11 0xf72c5383 in __GI___poll (fds=0xffffd1c0, nfds=2, timeout=timeout@entry=1500) at ../sysdeps/unix/sysv/linux/poll.c:29 #12 0xf72dea6c in __poll_chk (fds=fds@entry=0xffffd1c0, nfds=, timeout=timeout@entry=1500, fdslen=fdslen@entry=16) at poll_chk.c:27 #13 0xf79a5ce4 in poll (__timeout=1500, __nfds=, __fds=0xffffd1c0) at /usr/include/x86_64-linux-gnux32/bits/poll2.h:41 #14 _nc_timed_wait (sp=sp@entry=0xf2b03680, mode=mode@entry=3, milliseconds=1500, timeleft=timeleft@entry=0x0) at ../../ncurses/tty/lib_twait.c:271 #15 0xf79cb5fa in check_mouse_activity (delay=, sp=0xf2b03680) at ../../ncurses/base/lib_getch.c:496 #16 _nc_wgetch (win=win@entry=0xf3d034c8, result=result@entry=0xffffd328, use_meta=1) at ../../ncurses/base/lib_getch.c:496 #17 0xf79cc093 in wgetch (win=) at ../../ncurses/base/lib_getch.c:133 #18 0x5660fe58 in ScreenManager_run () #19 0x565e58d4 in main () (gdb)