Mike DuPont

Results 40 comments of Mike DuPont

Oh nice to see this patch, I did not see that before, my solution was to strip out the entire metaclass #192 I am going to try your patch as...

My solution was to strip out the entire metaclass #192 It seems there is another patch possible #188

I support this idea. > Hi, > it seems interesting, indeed. What about the API key: is it ok for a single api key for gPodder ? It won't be...

Debug the --info command ``` (gdb) r --info Starting program: /usr/local/bin/bpftrace --info [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". System OS: Linux 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr...

And debugging the crash itself ``` (gdb) r -lv uprobe:/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1:_ZNK12_GLOBAL__N_122X86GenericDisassembler14getInstructionERN4llvm6MCInstERmNS1_8ArrayRefIhEEmRNS1_11raw_ostreamE Starting program: /usr/local/bin/bpftrace -lv uprobe:/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1:_ZNK12_GLOBAL__N_122X86GenericDisassembler14getInstructionERN4llvm6MCInstERmNS1_8ArrayRefIhEEmRNS1_11ra\ w_ostreamE [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV,...

The lhs is null in the comparison. ``` #3 0x000055555563fd13 in std::operator== (__lhs=0x0, __rhs="_ZNK12_GLOBAL__N_122X86GenericDisassembler14getInstructionERN4llvm6MCInstERmNS1_8ArrayRefIhEEmRNS1_11raw_ostreamE") at /usr/include/c++/11/bits/basic_string.h:6291 6291 { return __rhs.compare(__lhs) == 0; } (gdb) p __rhs $2 = "_ZNK12_GLOBAL__N_122X86GenericDisassembler14getInstructionERN4llvm6MCInstERmNS1_8ArrayRefIhEEmRNS1_11raw_ostreamE" (gdb)...

``` (gdb) p (char*)dwarf_diename(func_die) $6 = 0x0 (gdb) p func_die $7 = (Dwarf_Die *) 0x7fffffffb218 (gdb) p *func_die $8 = {addr = 0x7fffd994f926, cu = 0x555555e9e4b8, abbrev = 0x555555e9e780, padding__...

It looks like the dwarf data is not being read properly.

will take a look. On Thu, Apr 13, 2023 at 7:09 AM Viktor Malík ***@***.***> wrote: > ping @jmikedupont2 > > — > Reply to this email directly, view it...

ok I am going to close this, I am done with wsl and back to linux. also I am using perf probe now directly.