Jump to content


Photo

Crashes on trying to use certain converted instruments


  • Please log in to reply
5 replies to this topic

#1 OopsIFly

OopsIFly

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 857 posts
  • Gender:Male
  • Interests:...daydreams... -VS- ...propaganda...

Posted 15 February 2017 - 16:02

Hi!

I'm experiencing crashes with renoise 3.1 64bit on xubuntu 16.04.

To reproduce them for me is pretty simple.

I load the Instrument "BassoonSus.xrni" from here: http://forum.renoise...n-xrni-version/ , hit a few notes in quick progression on the midi keyboard, and bang - renoise goes to crash mode saving a backup. There's some buffer glitching when it happens while using jack.

Other Instruments from that collection seem to also trigger crashes. Not all though, and not all as quickly as the bassoon.

I first thought the crash was maybe inside libjack, downgraded jack from the kxstudio to distributor version, to no avail. Running renoise in alsa mode will also crash, with a different log.

I sometimes received similar crashes since long, though very seldom, and I never managed to reproduce them. Now with some of the vsco instruments it seems to trigger them quickly and reliable.

Traceback from log when using jack:

Spoiler


Using alsa:

Spoiler


Is this a renoise bug, or system (I see libc in there...), is there any fix or workaround known? I'd really like to work with these instruments. I'd be happy to crash renoise some more if you need more traces or other info.



#2 OopsIFly

OopsIFly

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 857 posts
  • Gender:Male
  • Interests:...daydreams... -VS- ...propaganda...

Posted 15 February 2017 - 16:09

Hi, I just found another interesting thing about it.

 

The crash happens when renoise tries to play back a certain sample from that instrument (BassoonSus). It is the last one in the list, "psbassoon_g2_v2_1" - just hitting a midi key with right velocity so that this sample gets played will instantly crash my renoise. I've then noticed that it is, unlike the other samples in that instrument, not associated with a mod set - I mapped it to set one, and the instrument won't crash anymore.

 

But still it shouldn't crash renoise, so something is going on there, either in the instrument file, but definately also in renoise not handling things gracefully enough even if they are broken.



#3 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6330 posts
  • Gender:Male
  • Interests:wildlife + urban trekking

Posted 15 February 2017 - 17:48

Yep, I noticed this too with the VSCO Orchestral samples. In my case, no crashlog or backup is taken - Renoise just closes. 

Something weird is going on with those (otherwise excellent) instruments. 

 

When I checked the XML for the instruments, it seems they are formatted slightly differently than the standard Renoise instrument.

But I couldn't find anything downright wrong with them, and in any case, Renoise should never crash just like that. 

 

Taktik has been notified  :ph34r:


Tracking with Stuff. API wishlist | Soundcloud


#4 OopsIFly

OopsIFly

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 857 posts
  • Gender:Male
  • Interests:...daydreams... -VS- ...propaganda...

Posted 15 February 2017 - 17:48

And to the circle - Answer is in the instruments there are some samples indexing a modulation set that doesn't exist. Renoise doesn't seem to like it when you try to play those samples.


  • danoise likes this

#5 4Tey

4Tey

    Chief Above Chief Member

  • Normal Members
  • PipPipPipPipPipPip
  • 381 posts
  • Gender:Male

Posted 15 February 2017 - 18:21

To be honest I think this can be simplified :)

 

I've attached a small instrument.  As soon as you try to load it, it will crash Renoise (well it does here anyway.)  All I did is save out a fairly blank instrument and modify line 116 of the Instrument.xml file from:

<ModulationSetIndex>0</ModulationSetIndex>

To:

<ModulationSetIndex>1</ModulationSetIndex>

Maybe it seems as though that sfz2xrni might be doing that in some cases?

Attached Files


  • OopsIFly likes this

#6 OopsIFly

OopsIFly

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 857 posts
  • Gender:Male
  • Interests:...daydreams... -VS- ...propaganda...

Posted 15 February 2017 - 22:05

Yes, that is what I meant. In the linked lib - always the last sample in list, though not for all instruments, and the percussion instrument has multiple modsets so the broken index was shifted I think (didn't look at the xml though).

 

I'm glad at least it is something simple like this and no major renoise breakage, and fixing the broken mod set indexes makes the library usable for me.