Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. ...
  2. struct foo* get_remote_ptr(foo1, foo2, foo3)
  3. {
  4. struct foo* Foo;
  5. // Foo gets assigned
  6. return Foo;
  7. }
  8.  
  9. I get this error:
  10. Program received signal SIGSEGV, Segmentation fault.
  11. 0x0000000000475797 in insertdict (value=0x7ffff055d420 <remote>, hash=8796075522393, key=0x7fffef4f9590, mp=0x7ffff7f010c8)
  12. at Objects/dictobject.c:802
  13. 802 MAINTAIN_TRACKING(mp, key, value);
  14.  
  15. I'm not sure why MAINTAIN_TRACKING is failing here and I can't seem to gdb into this code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement