Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault #3

Open
hyeyoungshin opened this issue Sep 20, 2021 · 0 comments
Open

Segmentation fault #3

hyeyoungshin opened this issue Sep 20, 2021 · 0 comments

Comments

@hyeyoungshin
Copy link
Collaborator

Bug reproducing script: signatr-experiment/signatr/inst/debug.R

#0  0x000000000f296854 in ?? ()
#1  0x00005555554782d9 in ALTVEC_DATAPTR_EX (x=0x555556e93a90, writeable=TRUE) at altrep.c:340
#2  0x0000555555478309 in ALTVEC_DATAPTR (x=0x555556e93a90) at altrep.c:348
#3  0x000055555557a188 in DATAPTR (x=0x555556e93a90) at ../../src/include/Rinlinedfuns.h:119
#4  0x00005555556107f0 in VECTOR_ELT_FIX_NAMED (y=0x555556e93a90, i=0) at subassign.c:568
#5  0x000055555561208f in VectorAssign (call=0x555559819c38, rho=0x5555597b5e58, x=0x55555739c008, s=0x5555573841e8, y=0x555556e93a90)
    at subassign.c:810
#6  0x00005555556177ae in do_subassign_dflt (call=0x555559819c38, op=0x555555ad33e0, args=0x555559819b90, rho=0x5555597b5e58)
    at subassign.c:1643
#7  0x00005555556174b7 in do_subassign (call=0x555559819c38, op=0x555555ad33e0, args=0x555559819c70, rho=0x5555597b5e58)
    at subassign.c:1571
#8  0x0000555555534654 in Rf_eval (e=0x555559819c38, rho=0x5555597b5e58) at eval.c:798
#9  0x000055555553a540 in applydefine (call=0x555559676ac8, op=0x555555ac8688, args=0x555559676a90, rho=0x5555597b5e58) at eval.c:2906
#10 0x000055555553a888 in do_set (call=0x555559676ac8, op=0x555555ac8688, args=0x555559676a90, rho=0x5555597b5e58) at eval.c:2966
#11 0x0000555555534654 in Rf_eval (e=0x555559676ac8, rho=0x5555597b5e58) at eval.c:798
#12 0x0000555555537fa9 in do_if (call=0x555559676c50, op=0x555555ac8bc8, args=0x555559676c18, rho=0x5555597b5e58) at eval.c:2238
#13 0x0000555555534654 in Rf_eval (e=0x555559676c50, rho=0x5555597b5e58) at eval.c:798
#14 0x0000555555539330 in do_begin (call=0x555559674438, op=0x555555ad3760, args=0x555559676c88, rho=0x5555597b5e58) at eval.c:2507
#15 0x0000555555534654 in Rf_eval (e=0x555559674438, rho=0x5555597b5e58) at eval.c:798
#16 0x0000555555536da8 in R_execClosure (call=0x555558b0eb78, newrho=0x5555597b5e58, sysparent=0x5555597b6718, rho=0x5555597b6718, 
    arglist=0x5555597b6210, op=0x555559674c88) at eval.c:1888
#17 0x0000555555536a86 in Rf_applyClosure (call=0x555558b0eb78, op=0x555559674c88, arglist=0x5555597b6210, rho=0x5555597b6718, 
    suppliedvars=0x555555aca4f0) at eval.c:1814

with frame #17 content:

(gdb) f 17
#17 0x0000555555536a86 in Rf_applyClosure (call=0x555558b0eb78, op=0x555559674c88, arglist=0x5555597b6210, rho=0x5555597b6718, 
    suppliedvars=0x555555aca4f0) at eval.c:1814
1814	    SEXP val = R_execClosure(call, newrho,
(gdb) p Rf_eval(0x555558b0eb78, 0x5555597b6718)
$1 = (struct SEXPREC *) 0x55555911ed68
(gdb) p R_inspect(0x55555911ed68)
@55555911ed68 19 VECSXP g0c2 [ATT] (len=2, tl=0)
  @555559f72b58 13 INTSXP g0c1 [REF(2)] (len=1, tl=0) 207
  @555555acc410 10 LGLSXP g1c1 [MARK,REF(65535)] (len=1, tl=0) 1
ATTRIB:
  @555558e9f1d8 02 LISTSXP g0c0 [REF(1)] 
    TAG: @555555ac9ca0 01 SYMSXP g1c0 [MARK,REF(65535),LCK,gp=0x6000] "names" (has value)
    @55555739bb48 16 STRSXP g0c2 [REF(65535)] (len=2, tl=0)
      @555555e75660 09 CHARSXP g1c1 [MARK,REF(6305),gp=0x61] [ASCII] [cached] "locale"
      @555555afadc0 09 CHARSXP g1c1 [MARK,REF(3992),gp=0x61] [ASCII] [cached] "numeric"
$2 = (struct SEXPREC *) 0x55555911ed68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant