Windfisch / muse

My personal repository of the MusE sequencer
http://muse-sequencer.org
0 stars 0 forks source link

paste dialog crashes, when a wave is copied. #16

Open Windfisch opened 11 years ago

Windfisch commented 11 years ago

Reproduce:

Create 2 wave tracks, with events on them. Select on wave event, copy it.

Then Functions -> Paste dialog. MusE will crash, relevant backtrace is:

(gdb) bt
#0  0xb75a3725 in MusECore::Pos::xtick (this=0x4) at /home/flo/muse-git/muse2/muse/pos.cpp:275
#1  0xb75ef386 in MusECore::WaveEventBase::setAudioFile (this=0x90aa5c8, path=...) at /home/flo/muse-git/muse2/muse/waveevent.cpp:121
#2  0xb75ef64e in MusECore::WaveEventBase::read (this=0x90aa5c8, xml=...) at /home/flo/muse-git/muse2/muse/waveevent.cpp:159
#3  0xb75388e5 in MusECore::Event::read (this=0xbfbac59c, xml=...) at /home/flo/muse-git/muse2/muse/event.cpp:156
#4  0xb75c0c40 in MusECore::readXmlPart (xml=..., track=0x92377f8, doClone=false, toTrack=false) at /home/flo/muse-git/muse2/muse/songfile.cpp:336
#5  0xb6f3a89b in MusECore::get_paste_len () at /home/flo/muse-git/muse2/muse/widgets/utils.cpp:535
#6  0xb7306969 in MusEGui::PartCanvas::cmd (this=0x8a8e628, cmd=7) at /home/flo/muse-git/muse2/muse/arranger/pcanvas.cpp:2712