As one year has passed, I Just to confirm the mentioned bug is still
present on current debian versions of nted (1.10.18-4 or 1.10.18-5)
The crash is on file chrodorrest.cpp, line 555 , "NedStaff
*NedChordOrRest::getStaff() {return m_voice->getStaff();}" , as the
m_voice pointer is a null.
bt:
#0 NedChordOrRest::getStaff (this=0xed7420) at chordorrest.cpp:555
#1 0x0000000000456ef9 in NedNote::getStaff (this=this@entry=0xed7600)
at note.cpp:100
#2 0x0000000000458f59 in NedNote::getPitch (this=0xed7600) at
note.cpp:506
#3 0x000000000045a0bf in isTheSame (other_note=<optimized out>,
this=<optimized out>) at note.cpp:895
#4 NedNote::isTheSame (this=0xed7420,
other_note=other_note@entry=0xed76a0) at note.cpp:893
#5 0x000000000045010b in NedChordOrRest::insertNoteAt
(this=this@entry=0xed7420, note=note@entry=0xed76a0,
echo=echo@entry=false) at chordorrest.cpp:665
#6 0x0000000000499ede in NedIdiotsInstrument::convertToNtEdNotes
(this=0xd5cc00, id=0xd18c80, place_tempo_sigs=true,
place_volume_or_key_signs=true, voice_nr=voice_nr@entry=0,
last_time=23954810880) at idiotseditor.cpp:1457
#7 0x000000000049af00 in NedIdiotsEditor::convertToNtEdNotes
(this=<optimized out>, staff_nr=staff_nr@entry=0,
voice_nr=voice_nr@entry=0) at idiotseditor.cpp:3020
#8 0x00000000004738b9 in NedMidiImporter::convertToScore
(this=0xd3d230) at midiimporter.cpp:89
#9 0x00000000004199a2 in NedMainWindow::import_from_other
(this=this@entry=0x7247e0, im=im@entry=0xd3d230, filename=0xd4f3a0
[...]
As Kees Lemmens suggests, using an older version worked fine. I used
nted 1.10.15 after adding the two header files to dynarray.h in order to
compile.