Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 10 hours, 26 minutes ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

SDIF dynamic library

Author 3 Subscribed Users |
Profile photo of lanza
lanza

Dear all, I often have problems with libSDIF.dynlib (see attached image), normally importing spectral analysis. The most annoying thing is that after this sort of errors one cannot import any analysis data anymore and the only way out is to quit and re-open OM. The bug is there since at least a couple of years (sorry, I should have pointed it out earlier). Am I the only one having this problem ?
Ah, another detail … I’m multithreading as much as I can these days, it works like charm with SuperVP and CSound but for some reasons it’s only possible to run batch spectral analysis with PM2 on a single thread without incurring errors. I guess this is also linked to some fragility of libSDIF.dynlib (just guessing).

All the best to you all and happy 2018

Mauro

Attachments:
  1. Schermata-2018-01-11-alle-16.53.00

    Schermata-2018-01-11-alle-16.53.00.png

  2. Schermata-2018-01-11-alle-16.53.00

    Schermata-2018-01-11-alle-16.53.00.png

January 11, 2018 at 17:23 #24808
Profile photo of lanza
lanza

Am I the only one having this problem ?

January 20, 2018 at 17:51 #24883
Profile photo of Karim
Karim

Dear Mauro,

NO i did have this on Linux. But nobody could tell why. Very strange and odd thing.
I always had to destroy the sdif box create a new one and reload the file. Very annoying,,,

Best
K

January 20, 2018 at 18:00 #24884
Profile photo of Jean
Jean

Hi there — sorry for the no-reply :)

I could tell something maybe with a test-case that I could reproduce. Can you attach a patch+SDIF file maybe?

It is pretty much normal that the whole SDIF lib stops working after it crashed though.

Jean

January 20, 2018 at 18:05 #24885
Profile photo of Jean
Jean

seems like this has been already discussed in the past…
http://forumnet.ircam.fr/user-groups/openmusic/forum/topic/segmentation-violation-error-2/

January 20, 2018 at 18:10 #24886
Profile photo of lanza
lanza

Hi Karim and Jean !
I can’t send a simple patch that generate the error simply because I don’t have one. The error is appearing randomly and after it I have to restart OM because (like Jean just wrote) he whole SDIF lib stops working. Is there a way to restart the lib without quitting OM ?
If it’s of any help the only cue that I can give is that I’m normally importing sdif files with chord-sequence analysis from AS …

January 20, 2018 at 18:23 #24887
Profile photo of Jean
Jean

ok but for instance: even if this is not systematic, do you get a crash by simply evaluating an SDIF file ? (even several times in a row)
it would be useful to determine the very minimal context for this crash to happen: I guess if you open a fresh OM workspace and load the SDIF file things are ok, aren’t they ?

January 20, 2018 at 18:33 #24888
Profile photo of lanza
lanza

I’ll try to find a minimal context and I’ll let you know !

January 20, 2018 at 21:22 #24890
Profile photo of lanza
lanza

Reading the past discussion with Francesco Vitale I can confirm that before 6.11 (or maybe 6.10, I don’t remember) there were no such errors …

January 20, 2018 at 21:26 #24891

You must be logged in to reply to this topic.

Log in now