Opened 4 years ago

Closed 4 years ago

#631 closed defect (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by jpe

Test case

comment:1 Changed 4 years ago by jpe

  • Cc jpe added

comment:2 Changed 4 years ago by scoder

  • Milestone changed from wishlist to 0.14.1
  • Owner changed from somebody to scoder
  • Priority changed from critical to major
  • Status changed from new to assigned

comment:3 Changed 4 years ago by scoder

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