Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert in EffectManifestTableModel::removeRows #11454

Open
JoergAtGithub opened this issue Apr 8, 2023 · 4 comments
Open

Assert in EffectManifestTableModel::removeRows #11454

JoergAtGithub opened this issue Apr 8, 2023 · 4 comments
Labels

Comments

@JoergAtGithub
Copy link
Member

JoergAtGithub commented Apr 8, 2023

Bug Description

grafik

 	Qt5Cored.dll!qt_message_fatal(QtMsgType __formal, const QMessageLogContext & context, const QString & message) Line 1885	C++
 	Qt5Cored.dll!QMessageLogger::fatal(const char * msg, ...) Line 894	C++
 	Qt5Cored.dll!qt_assert(const char * assertion, const char * file, int line) Line 3376	C++
 	Qt5Cored.dll!QAbstractItemModel::beginRemoveRows(const QModelIndex & parent, int first, int last) Line 2815	C++
>	mixxx.exe!EffectManifestTableModel::removeRows(int row, int count, const QModelIndex & parent) Line 151	C++
 	mixxx.exe!EffectManifestTableModel::setList(const QList<QSharedPointer<EffectManifest>> & newList) Line 24	C++
 	mixxx.exe!DlgPrefEffects::slotUpdate() Line 106	C++
 	mixxx.exe!QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,void (__cdecl DlgPreferencePage::*)(void)>::call(void(DlgPreferencePage::*)() f, DlgPreferencePage * o, void * * arg) Line 152	C++
 	mixxx.exe!QtPrivate::FunctionPointer<void (__cdecl DlgPreferencePage::*)(void)>::call<QtPrivate::List<>,void>(void(DlgPreferencePage::*)() f, DlgPreferencePage * o, void * * arg) Line 186	C++
 	mixxx.exe!QtPrivate::QSlotObject<void (__cdecl DlgPreferencePage::*)(void),QtPrivate::List<>,void>::impl(int which, QtPrivate::QSlotObjectBase * this_, QObject * r, void * * a, bool * ret) Line 419	C++
 	Qt5Cored.dll!QtPrivate::QSlotObjectBase::call(QObject * r, void * * a) Line 398	C++
 	Qt5Cored.dll!doActivate<0>(QObject * sender, int signal_index, void * * argv) Line 3923	C++
 	Qt5Cored.dll!QMetaObject::activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv) Line 3984	C++
 	mixxx.exe!DlgPreferences::showDlg() Line 235	C++
 	mixxx.exe!DlgPreferences::onShow() Line 418	C++
 	mixxx.exe!DlgPreferences::eventFilter(QObject * o, QEvent * e) Line 330	C++
 	Qt5Cored.dll!QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject * receiver, QEvent * event) Line 1190	C++
 	[External Code]	
 	mixxx.exe!MixxxApplication::notify(QObject * target, QEvent * event) Line 170	C++
 	Qt5Cored.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1064	C++
 	Qt5Cored.dll!QCoreApplication::sendEvent(QObject * receiver, QEvent * event) Line 1463	C++
 	[External Code]	
 	mixxx.exe!MixxxMainWindow::slotOptionsPreferences() Line 934	C++
 	mixxx.exe!QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,void (__cdecl MixxxMainWindow::*)(void)>::call(void(MixxxMainWindow::*)() f, MixxxMainWindow * o, void * * arg) Line 152	C++
 	mixxx.exe!QtPrivate::FunctionPointer<void (__cdecl MixxxMainWindow::*)(void)>::call<QtPrivate::List<>,void>(void(MixxxMainWindow::*)() f, MixxxMainWindow * o, void * * arg) Line 186	C++
 	mixxx.exe!QtPrivate::QSlotObject<void (__cdecl MixxxMainWindow::*)(void),QtPrivate::List<>,void>::impl(int which, QtPrivate::QSlotObjectBase * this_, QObject * r, void * * a, bool * ret) Line 419	C++
 	Qt5Cored.dll!QtPrivate::QSlotObjectBase::call(QObject * r, void * * a) Line 398	C++
 	Qt5Cored.dll!doActivate<0>(QObject * sender, int signal_index, void * * argv) Line 3923	C++
 	Qt5Cored.dll!QMetaObject::activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv) Line 3984	C++
 	mixxx.exe!WMainMenuBar::showPreferences() Line 659	C++
 	mixxx.exe!QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,void (__cdecl WMainMenuBar::*)(void)>::call(void(WMainMenuBar::*)() f, WMainMenuBar * o, void * * arg) Line 152	C++
 	mixxx.exe!QtPrivate::FunctionPointer<void (__cdecl WMainMenuBar::*)(void)>::call<QtPrivate::List<>,void>(void(WMainMenuBar::*)() f, WMainMenuBar * o, void * * arg) Line 186	C++
 	mixxx.exe!QtPrivate::QSlotObject<void (__cdecl WMainMenuBar::*)(void),QtPrivate::List<>,void>::impl(int which, QtPrivate::QSlotObjectBase * this_, QObject * r, void * * a, bool * ret) Line 419	C++
 	Qt5Cored.dll!QtPrivate::QSlotObjectBase::call(QObject * r, void * * a) Line 398	C++
 	Qt5Cored.dll!doActivate<0>(QObject * sender, int signal_index, void * * argv) Line 3923	C++
 	Qt5Cored.dll!QMetaObject::activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv) Line 3984	C++
 	[External Code]	
 	mixxx.exe!MixxxApplication::notify(QObject * target, QEvent * event) Line 170	C++
 	Qt5Cored.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1064	C++
 	Qt5Cored.dll!QCoreApplication::sendSpontaneousEvent(QObject * receiver, QEvent * event) Line 1475	C++
 	[External Code]	
 	mixxx.exe!MixxxApplication::notify(QObject * target, QEvent * event) Line 170	C++
 	Qt5Cored.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1064	C++
 	Qt5Cored.dll!QCoreApplication::sendSpontaneousEvent(QObject * receiver, QEvent * event) Line 1475	C++
 	[External Code]	
 	Qt5Cored.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 514	C++
 	[External Code]	
 	Qt5Cored.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 143	C++
 	Qt5Cored.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 235	C++
 	Qt5Cored.dll!QCoreApplication::exec() Line 1375	C++
 	[External Code]	
 	mixxx.exe!`anonymous namespace'::runMixxx(MixxxApplication * pApp, const CmdlineArgs & args) Line 74	C++
 	mixxx.exe!main(int argc, char * * argv) Line 202	C++
 	[External Code]	

Auto variables:

<title>Document</title>
  Name Value Type
  count 0 int
  i -743091440 int
parent {r=-1 c=-1 i=0 ...} const QModelIndex &
  r -1 int
  c -1 int
  i 0 unsigned __int64
  ◢ m 0x0000000000000000 const QAbstractItemModel *
  ◢ QObject QObject
  __vfptr void * *
  ◢ d_ptr scoped pointer to a dynamically allocated object of type "QObjectData" QScopedPointer<QObjectData,QScopedPointerDeleter>
  [is null]  
  ▶ [Raw View] {d=??? } QScopedPointer<QObjectData,QScopedPointerDeleter>
  row 0 int
this 0x000001ab41bae510 {m_manifests={ size = 0 } m_pBackendManager=strong reference to shared pointer of type "EffectsBackendManager" } EffectManifestTableModel *
  ▶ QAbstractTableModel {...} QAbstractTableModel
  ◢ m_manifests { size = 0 } QList<QSharedPointer>
  ◢ [referenced] -1 std::atomic
  [value] -1 int
  ◢ [Raw View] {...} std::atomic
  ◢ std::_Atomic_integral_facade {...} std::_Atomic_integral_facade
  ◢ std::_Atomic_integral<int,4> {...} std::_Atomic_integral<int,4>
  ◢ std::_Atomic_storage<int,4> {_Storage={_Value=-1 } } std::_Atomic_storage<int,4>
  ▶ _Storage {_Value=-1 } std::_Atomic_padded
  ◢ [Raw View] {p={d=0x00007ffeee11be60 {Qt5Cored.dll!QListData::Data QListData::shared_null} {ref={atomic=-1 } alloc=...} } ...} QList<QSharedPointer>
  QListSpecialMethods<QSharedPointer > {...} QListSpecialMethods<QSharedPointer>
  ▶ p {d=0x00007ffeee11be60 {Qt5Cored.dll!QListData::Data QListData::shared_null} {ref={atomic=-1 } alloc=...} } QListData
  ▶ d 0x00007ffeee11be60 {Qt5Cored.dll!QListData::Data QListData::shared_null} {ref={atomic=-1 } alloc=0 begin=...} QListData::Data *
  ◢ m_pBackendManager strong reference to shared pointer of type "EffectsBackendManager" QSharedPointer
  [is null] false bool
  ◢ [weak referenced] 44 std::atomic
  [value] 44 int
  ◢ [Raw View] {...} std::atomic
  ◢ std::_Atomic_integral_facade {...} std::_Atomic_integral_facade
  ◢ std::_Atomic_integral<int,4> {...} std::_Atomic_integral<int,4>
  ◢ std::_Atomic_storage<int,4> {_Storage={_Value=44 } } std::_Atomic_storage<int,4>
  ◢ _Storage {_Value=44 } std::_Atomic_padded
  _Value 44 int
  ◢ [strong referenced] 44 std::atomic
  [value] 44 int
  ◢ [Raw View] {...} std::atomic
  ◢ std::_Atomic_integral_facade {...} std::_Atomic_integral_facade
  ◢ std::_Atomic_integral<int,4> {...} std::_Atomic_integral<int,4>
  ◢ std::_Atomic_storage<int,4> {_Storage={_Value=44 } } std::_Atomic_storage<int,4>
  ◢ _Storage {_Value=44 } std::_Atomic_padded
  _Value 44 int
  ◢ [Raw View] {value=0x000001ab1504c290 {m_pNumEffectsAvailable=unique_ptr {m_key={group=[Master] item=num_effectsavailable } m_pControl=strong reference to shared pointer of type "ControlDoublePrivate" } ...} ...} QSharedPointer
  ◢ value 0x000001ab1504c290 {m_pNumEffectsAvailable=unique_ptr {m_key={group=[Master] item=num_effectsavailable } m_pControl=strong reference to shared pointer of type "ControlDoublePrivate" } ...} EffectsBackendManager *
  ◢ m_pNumEffectsAvailable unique_ptr {m_key={group=[Master] item=num_effectsavailable } m_pControl=strong reference to shared pointer of type "ControlDoublePrivate" } std::unique_ptr<ControlObject,std::default_delete>
  ◢ [ptr] 0x000001ab14ecedd0 {m_key={group=[Master] item=num_effectsavailable } m_pControl=strong reference to shared pointer of type "ControlDoublePrivate" } ControlObject *
  ◢ QObject {d_ptr=scoped pointer to a dynamically allocated object of type "QObjectData" } QObject
  ◢ __vfptr 0x00007ff681508c30 {mixxx.exe!void(* ControlObject::`vftable'[19])()} {0x00007ff6802f9264 {mixxx.exe!ControlObject::metaObject(void)const }, ...} void * *
  [0] 0x00007ff6802f9264 {mixxx.exe!ControlObject::metaObject(void)const } void *
  [1] 0x00007ff680313f60 {mixxx.exe!ControlObject::qt_metacast(char const *)} void *
  [2] 0x00007ff6802f4af2 {mixxx.exe!ControlObject::qt_metacall(enum QMetaObject::Call,int,void * *)} void *
  [3] 0x00007ff680300be0 {mixxx.exe!ControlObject::`vector deleting destructor'(unsigned int)} void *
  [4] 0x00007ff681024eff {mixxx.exe!QObject::event(class QEvent *)} void *
  [5] 0x00007ff681024f05 {mixxx.exe!QObject::eventFilter(class QObject *,class QEvent *)} void *
  [6] 0x00007ff681024f0b {mixxx.exe!QObject::timerEvent(class QTimerEvent *)} void *
  [7] 0x00007ff681024f11 {mixxx.exe!QObject::childEvent(class QChildEvent *)} void *
  [8] 0x00007ff681024f17 {mixxx.exe!QObject::customEvent(class QEvent *)} void *
  [9] 0x00007ff681024f1d {mixxx.exe!QObject::connectNotify(class QMetaMethod const &)} void *
  [10] 0x00007ff681024f23 {mixxx.exe!QObject::disconnectNotify(class QMetaMethod const &)} void *
  ◢ d_ptr scoped pointer to a dynamically allocated object of type "QObjectData" QScopedPointer<QObjectData,QScopedPointerDeleter>
  [is null] false bool
  ◢ [Raw View] {d=0x000001ab15128b70 {extraData=0x0000000000000000 threadData=0x000001ab11cfa3b0 {_ref=407922 loopLevel=1 scopeLevel=3 ...} ...} } QScopedPointer<QObjectData,QScopedPointerDeleter>
  ◢ d 0x000001ab15128b70 {extraData=0x0000000000000000 threadData=0x000001ab11cfa3b0 {_ref=407922 loopLevel=1 scopeLevel=3 ...} ...} QObjectData * {Qt5Cored.dll!QObjectPrivate}
  ▶ [QObjectPrivate] {extraData=0x0000000000000000 threadData=0x000001ab11cfa3b0 {_ref=407922 loopLevel=1 scopeLevel=3 ...} ...} Qt5Cored.dll!QObjectPrivate
  ▶ __vfptr 0x00007ffeeded2d10 {Qt5Cored.dll!void(* QObjectPrivate::vftable'[2])()} {0x00007ffeed52c8a0 {Qt5Cored.dll!QObjectPrivate::vector deleting destructor'(unsigned int)}} void * *
  ▶ q_ptr 0x000001ab14ecedd0 {m_key={group=[Master] item=num_effectsavailable } m_pControl=strong reference to shared pointer of type "ControlDoublePrivate" } QObject * {ControlObject}
  ▶ parent 0x0000000000000000 QObject *
  ▶ children { size = 0 } QList<QObject *>
  isWidget 0 unsigned int
  blockSig 0 unsigned int
  wasDeleted 0 unsigned int
  isDeletingChildren 0 unsigned int
  sendChildEvents 1 unsigned int
  receiveChildEvents 1 unsigned int
  isWindow 0 unsigned int
  deleteLaterCalled 0 unsigned int
  unused 13487565 unsigned int
  postedEvents 0 int
  metaObject 0x0000000000000000 QDynamicMetaObjectData *
  ◢ m_key {group=[Master] item=num_effectsavailable } ConfigKey
  ◢ group [Master] QString
  [size] 8 int
  ▶ [referenced] 3 std::atomic
  [0] 91 '[' unsigned short
  [1] 77 'M' unsigned short
  [2] 97 'a' unsigned short
  [3] 115 's' unsigned short
  [4] 116 't' unsigned short
  [5] 101 'e' unsigned short
  [6] 114 'r' unsigned short
  [7] 93 ']' unsigned short
  ◢ [Raw View] {d=0x000001ab14ecf2a0 {...} } QString
  ◢ d 0x000001ab14ecf2a0 {...} QTypedArrayData *
  ◢ QArrayData {ref={atomic=3 } size=8 alloc=9 ...} QArrayData
  ▶ ref {atomic=3 } QtPrivate::RefCount
  size 8 int
  alloc 9 unsigned int
  capacityReserved 0 unsigned int
  offset 24 __int64
  ◢ item num_effectsavailable QString
  [size] 20 int
  ▶ [referenced] 3 std::atomic
  [0] 110 'n' unsigned short
  [1] 117 'u' unsigned short
  [2] 109 'm' unsigned short
  [3] 95 '_' unsigned short
  [4] 101 'e' unsigned short
  [5] 102 'f' unsigned short
  [6] 102 'f' unsigned short
  [7] 101 'e' unsigned short
  [8] 99 'c' unsigned short
  [9] 116 't' unsigned short
  [10] 115 's' unsigned short
  [11] 97 'a' unsigned short
  [12] 118 'v' unsigned short
  [13] 97 'a' unsigned short
  [14] 105 'i' unsigned short
  [15] 108 'l' unsigned short
  [16] 97 'a' unsigned short
  [17] 98 'b' unsigned short
  [18] 108 'l' unsigned short
  [19] 101 'e' unsigned short
  ◢ [Raw View] {d=0x000001ab14f922e0 {...} } QString
  ◢ d 0x000001ab14f922e0 {...} QTypedArrayData *
  ▶ QArrayData {ref={atomic=3 } size=20 alloc=21 ...} QArrayData
  ◢ m_pControl strong reference to shared pointer of type "ControlDoublePrivate" QSharedPointer
  [is null] false bool
  ▶ [weak referenced] 2 std::atomic
  ▶ [strong referenced] 1 std::atomic
  ▶ [Raw View] {value=0x000001ab15126bf0 {m_key={group=[Master] item=num_effectsavailable } m_pCreatorCO=0x000001ab14ecedd0 {m_key={group=[Master] item=num_effectsavailable } m_pControl=strong reference to shared pointer of type "ControlDoublePrivate" } ...} ...} QSharedPointer
  ◢ [deleter] default_delete std::_Compressed_pair<std::default_delete,ControlObject *,1>
  ▶ [Raw View] {_Myval2=0x000001ab14ecedd0 {m_key={group=[Master] item=num_effectsavailable } m_pControl=strong reference to shared pointer of type "ControlDoublePrivate" } } std::_Compressed_pair<std::default_delete,ControlObject *,1>
  ▶ [Raw View] {_Mypair=default_delete } std::unique_ptr<ControlObject,std::default_delete>
  ◢ m_effectsBackends { size = 2 } QHash<enum EffectBackendType,QSharedPointer>
  ◢ [referenced] 1 std::atomic
  [value] 1 int
  ◢ [Raw View] {...} std::atomic
  ▶ std::_Atomic_integral_facade {...} std::_Atomic_integral_facade
  ◢ [Raw View] {d=0x000001ab1516aa10 {fakeNext=0x0000000000000000 buckets=0x000001ab1520d820 {0x000001ab1516aa10 {...}} ...} ...} QHash<enum EffectBackendType,QSharedPointer>
  ◢ d 0x000001ab1516aa10 {fakeNext=0x0000000000000000 buckets=0x000001ab1520d820 {0x000001ab1516aa10 {...}} ...} QHashData *
  ▶ fakeNext 0x0000000000000000 QHashData::Node *
  ▶ buckets 0x000001ab1520d820 {0x000001ab1516aa10 {next=0x0000000000000000 h=354474016 }} QHashData::Node * *
  ▶ ref {atomic=1 } QtPrivate::RefCount
  size 2 int
  nodeSize 32 int
  userNumBits 4 short
  numBits 4 short
  numBuckets 17 int
  seed 89353911 unsigned int
  sharable 1 unsigned int
  strictAlignment 0 unsigned int
  reserved 0 unsigned int
  ▶ e 0x000001ab1516aa10 (empty) QHashNode<enum EffectBackendType,QSharedPointer> *
  ◢ m_manifests { size = 63 } QList<QSharedPointer>
  ▶ [referenced] 1 std::atomic
  ▶ [0] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [1] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [2] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [3] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [4] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [5] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [6] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [7] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [8] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [9] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [10] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [11] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [12] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [13] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [14] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [15] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [16] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [17] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [18] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [19] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [20] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [21] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [22] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [23] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [24] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [25] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [26] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [27] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [28] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [29] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [30] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [31] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [32] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [33] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [34] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [35] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [36] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [37] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [38] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [39] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [40] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [41] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [42] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [43] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [44] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [45] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [46] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [47] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [48] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [49] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [50] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [51] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [52] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [53] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [54] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [55] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [56] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [57] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [58] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [59] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [60] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [61] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [62] strong reference to shared pointer of type "EffectManifest" QSharedPointer
  ▶ [Raw View] {p={d=0x000001ab15e3b940 {ref={atomic=1 } alloc=126 begin=0 ...} } d=0x000001ab15e3b940 {ref={atomic=...} ...} } QList<QSharedPointer>
  ◢ d 0x000001ab1a1e75b0 {weakref=44 strongref=44 destroyer=0x00007ff68032839d {mixxx.exe!QtSharedPointer::ExternalRefCountWithCustomDeleter<class EffectsBackendManager,struct QtSharedPointer::NormalDeleter>::deleter(struct QtSharedPointer::ExternalRefCountData *)} } QtSharedPointer::ExternalRefCountData *
  ▶ weakref 44 QBasicAtomicInteger
  ▶ strongref 44 QBasicAtomicInteger
  destroyer 0x00007ff68032839d {mixxx.exe!QtSharedPointer::ExternalRefCountWithCustomDeleter<class EffectsBackendManager,struct QtSharedPointer::NormalDeleter>::deleter(struct QtSharedPointer::ExternalRefCountData *)} void(*)(QtSharedPointer::ExternalRefCountData *)

Version

2.4.0 with buildenv mixxx-deps-2.4-x64-windows-90a30a7

OS

Windows11

@daschuer
Copy link
Member

daschuer commented Apr 8, 2023

Interesting, this assertion has been introduced in Qt 5.11:
qt/qtbase@00c09e7

The Mixxx commit is this:
d4c5d30

I cannot spot an issue in the call:

removeRows(0, m_manifests.size());

daschuer added a commit to daschuer/mixxx that referenced this issue Apr 8, 2023
@daschuer
Copy link
Member

daschuer commented Apr 8, 2023

I am not able to reproduce the issue. Do you? I am afraid this could be a dangling pointer issue in the call stack above.

@daschuer
Copy link
Member

daschuer commented Apr 8, 2023

Wait, now I can.

@daschuer
Copy link
Member

daschuer commented Apr 8, 2023

Fixed in: #11456

Swiftb0y added a commit that referenced this issue Apr 21, 2023
Fix qt_assert when opening preferences #11454
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants