Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#425 closed defect (fixed)

m_iNumColumnsMinus1 and m_iNumRowsMinus1 uninitialed, decoder will crash in debug mode

Reported by: chenm003 Owned by:
Priority: minor Milestone:
Component: HM Version: HM-6.0
Keywords: Cc: fbossen, ksuehring, davidf, jct-vc@…


Both m_iNumColumnsMinus1 and m_iNumRowsMinus1 in SPS are uninitialed.
The decoder will crash in xDecodeSlice() when someone debug code;

Change History (3)

comment:1 Changed 12 years ago by DefaultCC Plugin

  • Cc fbossen ksuehring davidf jct-vc@… added

comment:2 Changed 12 years ago by ksuehring

  • Resolution set to fixed
  • Status changed from new to closed

I have not seen crashes, but the fields should be initialized. Please test again with the current HM-6.0-dev branch. I have added a fix in r2137

comment:3 Changed 12 years ago by chenm003

The decoder crash because VisualStudio fill all of uninitial memory to 0xCD in debug mode, so the decoder call xCreateTComTileArray() to alloc more than 128TB memory.
I am try again SVN code, it works fine.

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber, Participant

  • chenm003(Reporter, Participant)
  • David Flynn(Subscriber)
  • Frank Bossen(Subscriber)
  • jct-vc@…(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Subscriber, Participant, Always)