Mailing list archives : pcb-rnd

ID:5834
From:Doug Knabe <dk...@airmail.net>
Date:Fri, 2 Sep 2022 13:02:30 -0500
Subject:Re: [pcb-rnd] sch-rnd bug: can't open file from gui (was: new:
in-reply-to:5832 from rn...@igor2.repo.hu
replies: 5836 from rn...@igor2.repo.hu
On 9/2/22 11:48, rnd2@igor2.repo.hu wrote:
> Same halt with --symbols is good news. Plese reproduce that
> halt and when gdb stops, print a few vaules for me typing:
>
> frame 4
>
> print grid
>
> print gridsuff
>
> print cnt
>
> print refr
>
> print kbd
Here you go.
 
$ gdb sch-rnd
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
<snip>
Reading symbols from sch-rnd...
(gdb) r
Starting program: /usr/local/bin/sch-rnd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Gtk-Message: 12:57:35.866: Failed to load module "canberra-gtk-module"
[New Thread 0x7fffec845700 (LWP 124806)]
[New Thread 0x7fffe4044700 (LWP 124807)]
[New Thread 0x7fffe7fff700 (LWP 124808)]
[New Thread 0x7fffe77fe700 (LWP 124809)]
 
Thread 1 "sch-rnd" received signal SIGSEGV, Segmentation fault.
__strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
65    ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file or directory.
(gdb) frame 4
#4  0x000055555559aaa3 in status_st_sch2dlg () at 
../plugins/gui/status.c:114
114        rnd_append_printf(&status.buf, "grid=%ld%s line=%s%s kbd=%s",
(gdb) print grid
$1 = 140737352474848
(gdb) print gridsuff
$2 = 0x5 <error: Cannot access memory at address 0x5>
(gdb) print cnt
$3 = 0x55555565a085 "C,"
(gdb) print refr
$4 = 0x55555565a08b "_|"
(gdb) print kbd
$5 = "(last: f o)", '\000' <repeats 93 times>, 
"\370\322\317\367\377\177\000\000ȿnUUU\000\000\060mlUUU\000"
 
Cheers,
Doug
 

Reply subtree:
5834 Re: [pcb-rnd] sch-rnd bug: can't open file from gui (was: new: from Doug Knabe <dk...@airmail.net>
  5836 Re: [pcb-rnd] sch-rnd bug: can't open file from gui (was: new: from rn...@igor2.repo.hu
    5839 Re: [pcb-rnd] sch-rnd bug: can't open file from gui (was: new: from Doug Knabe <dk...@airmail.net>
      5840 Re: [pcb-rnd] sch-rnd bug: can't open file from gui (was: new: from rn...@igor2.repo.hu
      5841 Re: [pcb-rnd] sch-rnd bug: can't open file from gui (was: new: from Doug Knabe <dk...@airmail.net>
        5842 Re: [pcb-rnd] sch-rnd bug: can't open file from gui (was: new: from rn...@igor2.repo.hu