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

ClosureNoSuchMethod tail-call crashes on implicit static tearoffs in SIMDBC64 #31880

Closed
sjindel-google opened this Issue Jan 12, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@sjindel-google
Contributor

sjindel-google commented Jan 12, 2018

$ cat >test.dart <<EOF
void tearoff() {}                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                         
main() {                                                                                                                                                                                                                                                                 
  dynamic k = tearoff;                                                                                                                                                                                                                                                   
  k<String>(3);                                                                                                                                                                                                                                                          
} 
EOF
$ export DART_CONFIGURATION=ReleaseSIMDBC64
$ pkg/vm/tool/dart2 test.dart.dill
../../runtime/vm/object.h: 8673: error: Handle check failed: saw TypeArguments: (747243167) [Type: class 'String'] expected Closure │                                                                                                                                    
Dumping native stack trace for thread b3f1                                                                                          │                                                                                                                                    
  [0x00000000009b31e7] dart::Profiler::DumpStackTrace(bool)                                                                         │                                                                                                                                    
  [0x00000000009b31e7] dart::Profiler::DumpStackTrace(bool)                                                                         │                                                                                                                                    
  [0x000000000021d29d] Unknown symbol                                                                                               │                                                                                                                                    
-- End of DumpStackTrace

@sjindel-google sjindel-google changed the title from placeholder to ClosureNoSuchMethod tail-call crashes on implicit static closures in SIMDBC64 Jan 12, 2018

@sjindel-google sjindel-google added this to the 2.0 milestone Jan 12, 2018

@sjindel-google sjindel-google changed the title from ClosureNoSuchMethod tail-call crashes on implicit static closures in SIMDBC64 to ClosureNoSuchMethod tail-call crashes on implicit static tearoffs in SIMDBC64 Jan 12, 2018

@mkustermann

This comment has been minimized.

Show comment
Hide comment
@mkustermann

mkustermann Jan 12, 2018

Member

Since Samir suspects it might be code I touched, I'll take a look.

Member

mkustermann commented Jan 12, 2018

Since Samir suspects it might be code I touched, I'll take a look.

@mkustermann mkustermann self-assigned this Jan 12, 2018

@whesse whesse closed this in e9608b2 Jan 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment