You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This program compiles successfully, but segfaults:
traitA{fnf(&self);}structB;implAforB{fnf(&self){}}fnmain(){let a = ~Bas ~A;
do spawn {
a.f();}}
The crash occurs in a generated thunk opaque to gdb:
#0 0x080494cb in glue_drop_2597 ()
#1 0x08048bc4 in main () at unsafe-owned.rs:15
#2 0x08048c10 in _rust_main () at unsafe-owned.rs:15
#3 0xb7495d01 in task_start_wrapper (a=0x9c4663c)
at /home/mzabaluev/src/rust/src/rt/rust_task.cpp:162