Ticket #631 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Segfault due to bad DECREF

Reported by: jpe Owned by: scoder
Priority: major Milestone: 0.14.1
Component: Code Generation Keywords:
Cc: jpe

Description

I'm seeing segfaults and believe it's due to a DECREF of a temporary that is NULL at the end of a function. I'm attaching a test case where I've stripped out most of the code (so the code itself is nonsensical). cython 0.14 generates a Pyx_DECREF(pyx_t_4); pyx_t_4 = 0; after the code it generates for the final return False in Update().

Attachments

cybug.py Download (420 bytes) - added by jpe 3 years ago.
Test case

Change History

Changed 3 years ago by jpe

Test case

Changed 3 years ago by jpe

  • cc jpe added

Changed 3 years ago by scoder

  • owner changed from somebody to scoder
  • priority changed from critical to major
  • status changed from new to assigned
  • milestone changed from wishlist to 0.14.1

Changed 3 years ago by scoder

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.