ElvishArtisan / rivendell

A full-featured radio automation system targeted for use in professional broadcast and media environments
197 stars 63 forks source link

V4 RDLibrary crashs after deleting an new added empty cut #953

Closed jmpalmito closed 1 month ago

jmpalmito commented 3 months ago

Hi all !

  1. edit a CART with multiple CUTs
  2. Delete one of this CUT, but not the last one
  3. ADD a new CUT. It replaces the previous deleted one
  4. Delete this new specific CUT
  5. RDlibray crashs with this message: _ASSERT failure in QList::at: "index out of range", file /usr/include/x8664-linux-gnu/qt5/QtCore/qlist.h, line 571 Aborted (core dumped)

There is no problem when the last CUT of the range is deleted

Can you reproduce it ? Regards JM

WLGW-Ops commented 3 months ago

Reproducible on my end. I executed from a terminal and saw "invalid or failed DB connection" errors prior to the crash. The final message received was consistent with @jmpalmito's results. Screen shot attached.

System Config: Oracle Enterprise 8 Rivendell v4.1.3 DB Version 3.71

Screenshot from 2024-03-22 07-22-09

Best Regards, Brian WLGW Operations

WLGW-Ops commented 2 months ago

This issue still exists in v4.2.0

ElvishArtisan commented 2 months ago

Confirmed here.

ElvishArtisan commented 2 months ago

Fixed in 29a2317. Please test!