Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 4 days, 13 hours ago

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

Problème avec Sierra

Author 14 Subscribed Users |
Profile photo of Didier DEBRIL
Didier DEBRIL

Bonsoir,
J’ai changé l’OS de mon iMac 27 (i7, Retina 5K, 32 Go de Ram) en passant à Sierra. Alors que je n’ai aucun souci avec Opusmodus (en Lisp aussi), je me suis heurté à une erreur au niveau du Listener et qui s’est suivi plusieurs fois par des “crashs”. Bref, je ne peux plus ouvrir Open Music 6.10.1.
je joins en pièces jointes les copies d’écran que j’ai effectuées.
Cordialement.
Didier

Attachments:
  1. ErrorListenerOMSierra

    ErrorListenerOMSierra.png

  2. ErrorListenerOMSierra

    ErrorListenerOMSierra.png

September 22, 2016 at 22:48 #19137
Profile photo of Jean
Jean

Bonjour,

Ce problème nous a été rapporté.
Malheureusement pour le moment je ne suis pas en mesure de vous dire quoi que ce soit.
Je ne manquerai pas de le faire ici dès que possible.

Jean

September 23, 2016 at 00:43 #19140
Profile photo of Didier DEBRIL
Didier DEBRIL

Merci Jean. Ce n’est pas grave car je n’ai pas fait la mise à jour sur l’Imac 21 qui est plus ancien donc je peux continuer à travailler avec Open Music.

September 23, 2016 at 11:46 #19143
Profile photo of daniel
daniel

I’m having the same problems, upgraded to macOS Sierra weeks ago and also got this:
“LibAudioStream Library Error”

and
“SDIF Library Error”

and further:
“”Loading PortMIDI library: /usr/bin/libportmidi.dylib”
“Library PortMIDI not found!! [/usr/bin/libportmidi.dylib]”
Error: Segmentation violation(11) [code 0] at 7FFFABD16B5D
Foreign code offset #x1D from symbol “objc_msgSend”
module “/usr/lib/libobjc.A.dylib” [ #x7FFFABD10000 ]
rax 0 ; rbx 6000001C3ED0 ; rcx 705 ; rdx 0 ; rdx/Users/xy/Library/Preferences/OpenMusic/6.10.1/OMPrefs.lisp
0

rsp 7FFF5FBFBBF8 ; rbp 7FFF5FBFBD20 ; rdi 6080001E4C00 ; rsi 7FFF95CA119C
r8 B0 ; r9 6000001411E0 ; r10 40DEDEADBEA8 ; r11 7FFF95CA119C
r12 7FFF95C9A7A8 ; r13 7FFFB525D108 ; r14 30 ; r15 7FFFABD16B40
1 (abort) Return to Cocoa Event Loop

Type :b for backtrace or :c <option number> to proceed.
Type :bug-form “<subject>” for a bug report template or 😕 for other options.

CL-USER 1 : 1 > ”

Manually linking the dylibs did not help either.

October 1, 2016 at 14:05 #19199
Profile photo of Jean
Jean

Hi there,

Try the following LispWorks patches.
Just unzip and place the attached files in the OM 6.10.1/patches/ folder
I believe they shall allow OM to start and run most features.

(Do not use these files will future OM releases)
Please report problems here.

Jean

October 12, 2016 at 06:35 #19281
Profile photo of daniel
daniel

Hey there, thanks. I put the patches in the correct folder, but the problem unfortunately remains the same.

“”Loading PortMIDI library: /usr/bin/libportmidi.dylib”
“Library PortMIDI not found!! [/usr/bin/libportmidi.dylib]”
Error: Segmentation violation(11) [code 0] at 7FFFD307BB5D
Foreign code offset #x1Dsel/Library/Preferences/OpenMusic/6.10.1/OMPrefs.lisp
Foreign code offset #x1D from symbol “objc_msgSend”
module “/usr/lib/libobjc.A.dylib” [ #x7FFFD3075000 ]
rax 0 ; rbx 6080001C30C0 ; rcx 9C4 ; rdx 0
rsp 7FFF5FBFBBF8 ; rbp 7FFF5FBFBD20 ; rdi 6080001E2500 ; rsi 7FFFBCFD6E3D
r8 B0 ; r9 608000147900 ; r10 40DEDEADBEA8 ; r11 7FFFBCFD6E3D
r12 7FFFBCFD07DD ; r13 7FFFDC5D4988 ; r14 30 ; r15 7FFFD307BB40
1 (abort) Return to Cocoa Event Loop

Type :b for backtrace or :c <option number> to proceed.
Type :bug-form “<subject>” for a bug report template or 😕 for other options.

All the best, Daniel

October 12, 2016 at 06:56 #19284
Profile photo of Jean
Jean

hi Daniel:
– Are you using OM 6.10.1 ?
– Did you place the .64xfsl files — and only these files — in the “OM 6.10.1/patches/” folder ?

October 12, 2016 at 08:44 #19285
Profile photo of daniel
daniel

Hi Jean, thanks, yes I did. On my iMac the patch works, there I do run 10.12.0, but on my MacBook with 10.12.1 it doesn’t work. Maybe I have to cleanup and reinstall OM 6.10.1. Thank you very much for your help! Daniel

October 12, 2016 at 08:57 #19286
Profile photo of daniel
daniel

Hi Jean, after uninstalling, cleaning up all cache-files, reinstalling OM, putting your lisp-files to the supposed folder and rebooting the machine it finally works. Thanks!

October 12, 2016 at 18:18 #19287
Profile photo of Jean
Jean

Happy to hear it.
What kind of cache-files did you clean up ?

October 12, 2016 at 18:30 #19288
Profile photo of daniel
daniel

Thanks. I deleted the main folder, the boot caches /var/db/BootCaches/…/app.ircam.openmusic.plist and ~/Library/Saved Application State/ircam.openmusic.savedState, ~/Library/Preferences/ircam.openmusic.plist.

October 12, 2016 at 18:39 #19289
Profile photo of danieljamesross
danieljamesross

Problems here too.

“LibAudioStream Library Error”

“SDIF Library Error”

Backtrace:

Call to error
Call to invoke-debugger
Call to error
Call to (subfunction system::|%FOREIGN-CALLABLE/lisp_signal_error_on_c_stack| (fli:define-foreign-callable “lisp_signal_error_on_c_stack”))
Call to objc::|invoke (FUNCTION (OBJC-OBJECT-POINTER SEL OBJC-OBJECT-POINTER) LONG-LONG)|
Call to (subfunction 2 objc::make-invoke-function)
Call to objc::invoke-into*
Call to objc:invoke-into
Call to capi-cocoa-library::run-application-modal-for-window
Call to capi-cocoa-library::display-alert-panel-aux
Call to capi-cocoa-library::funcall-in-cocoa-event-loop-process-returning-values-with-timeout
Call to capi-cocoa-library::display-alert-panel
Call to capi-cocoa-library::display-message-alert-panel
Call to capi::display-string-for-pane
Call to capi:display-message
Call to om-lisp::om-error-handler
Call to invoke-debugger
Call to error
Call to (subfunction system::|%FOREIGN-CALLABLE/lisp_signal_error_on_c_stack| (fli:define-foreign-callable “lisp_signal_error_on_c_stack”))
Call to objc::|invoke (FUNCTION (OBJC-OBJECT-POINTER SEL) VOID)|
Call to (subfunction 2 objc::make-invoke-function)
Call to objc::invoke-into*
Call to capi-cocoa-library::run-cocoa-event-loop
Call to mp::process-sg-function
Call to mp::run-main-process-once
Call to mp::multiprocessing-main-loop
Call to mp::shared-initialize-multiprocessing
Call to mp:initialize-multiprocessing

Attachments:
  1. Screen-Shot-2016-10-13-at-14.55.02

    Screen-Shot-2016-10-13-at-14.55.02.png

October 13, 2016 at 14:55 #19303
Profile photo of danieljamesross
danieljamesross

I followed all the steps above (to the best of my ability at least!).

October 13, 2016 at 14:58 #19306
Profile photo of daniel
daniel

Daniel, did you cleanup all the junk files and did you restart the system? It seems that the memory has to bee emptied before the patch works. I am running it on two machines right now, without bigger problems. I forgot: you should also empty the nvram. Press Command-Alt-P-R after the initial start sound of your Mac and hold it unto the second bell ringing, then release it. All the best, Daniel

October 13, 2016 at 15:05 #19307
Profile photo of danieljamesross
danieljamesross

Thanks for your quick reply!

THese are the steps I took:

  1. Deleted OM.
  2. Deleted /var/db/BootCaches/…/app.ircam.openmusic.plist
  3. Couldn’t find ~/Library/Saved Application State/ircam.openmusic.savedState, ~/Library/Preferences/ircam.openmusic.plist.
  4. Restarted holding down CMD+OPT+P+R, waited for 2 chimes
  5. Copied the files into the correct location (as above).
  6. OM encountered same error
October 13, 2016 at 15:32 #19309
Profile photo of daniel
daniel

You’re welcome. I’m sorry to hear. It worked for me, even if not all functions are working properly, I don’t get that errors anymore.

Maybe ~/Library/Saved Application State/ircam.openmusic.savedState, ~/Library/Preferences/ircam.openmusic.plist have been left from an older installation.

October 13, 2016 at 15:47 #19311
Profile photo of danieljamesross
danieljamesross

OK, found those files. Tried all the steps again but still no dice. :(

Will try once more…

October 13, 2016 at 16:12 #19313
Profile photo of danieljamesross
danieljamesross

Nope, still no luck. :(

October 13, 2016 at 16:33 #19314
Profile photo of Didier DEBRIL
Didier DEBRIL

Bonsoir Jean,
Sur mon nouvel iMac 27 et sur lequel il n’y avait pas d’anciennes version d’OM, j’ai inséré dans le OM 6.10.1/patches/ folder les 4 fichiers puis lancé Open Music. Et ça fonctionne. Y compris avec les librairies, dont l’extérieure “Om-Combine”.

On my new iMac 27 and on which there was no old version of OM, I inserted in the OM 6.10.1 / patches / folder 4 files then launched Open Music. And it works. Including with libraries, the outer “Om-Combine”.

October 13, 2016 at 19:06 #19315
Profile photo of RyanMillett
RyanMillett

edit:

The files worked but I’m still experiencing crashing whenever I open the program.

  • This reply was modified 8 months, 2 weeks ago by Profile photo of RyanMillett RyanMillett.
October 17, 2016 at 01:28 #19350
Profile photo of nmcb
nmcb

Just to say, that I’ve followed all the steps recommended by other users and I’ve been unable to get OM to work on OS Sierra. Additionally, I tried to install and run OM on a fresh install on another machine, and that too suffered from the same issues.

October 18, 2016 at 13:20 #19393
Profile photo of danieljamesross
danieljamesross

I finally solved my issue by downgrading to El Capitan. :/

October 18, 2016 at 13:22 #19394
Profile photo of MUS3
MUS3

Hi Daniel, Jean, I’m unable to find that file /var/db/boot/… Already deleted the others you mention, but yet getting the same error ““LibAudioStream Library Error”
and
“SDIF Library Error” …

October 18, 2016 at 19:53 #19399
Profile photo of roche111
roche111

I should never have upgraded to Sierra!!! I tried everything listed above and I am not going to downgrade to el capitan. But, please let us know as soon there is a more stable solution to this problem. rochevantiddens@gmail.com

October 19, 2016 at 15:16 #19425
Profile photo of Jean
Jean

Hi there. In my case the upgrade to Sierra with OM 6.10.1 + the 4 patch files provided previously (see attachment) works ‘almost’ ok.
I still have this crash when I quit but otherwise OM seems to run as usual.

Attachments:
  1. Capture-d’écran-2016-10-19-à-16.32.11

    Capture-d’écran-2016-10-19-à-16.32.11.png

  2. Capture-d’écran-2016-10-19-à-16.32.11

    Capture-d’écran-2016-10-19-à-16.32.11.png

October 19, 2016 at 15:35 #19426
Profile photo of Sohrab UDUMAN
sohrabuduman

Hi Jean,

Many thanks for the patch files from your previous postings. I finally plucked up the courage to install them and OM 6.10.1 now works on my Mac under Sierra.

No crashes yet, either at OM launch or quit.

All best wishes
Sohrab

October 20, 2016 at 10:59 #19441
Profile photo of pitombeira
pitombeira

Dear Sohrab, would you outline the steps you took to make it work? Mine is still broken.
Thanks.
Best,

November 15, 2016 at 14:18 #19749
Profile photo of Sohrab UDUMAN
sohrabuduman

Sure. I downloaded the patches from Jean’s previous postings (see above, Oct. 19 and Oct. 1) and placed them in the OM 6.10.1 patches folder (on my machine: Applications/OM 6.10.1/patches), as Jean describes. The patches folder contains just these four patches (apart from the customary info.txt file). Prior to placing the patches in the folder I reinstalled OM 6.10.1.

It may not be of any consequence, but the workspace I was working in recently only loads up a few external libraries (Profile, RepMus, OMChroma, Esquisse, Morphologie).

The OS is 10.12.1 and the Mac is a late 2013 15 inch MPB retina

All best
Sohrab

November 15, 2016 at 15:33 #19762
Profile photo of nmcb
nmcb

I wonder has anyone had any progress with this issue? I’m still affected, as I expect are others. It’s very curious that the patches have solved the problems for some but not all!

November 21, 2016 at 18:12 #19887
Profile photo of MUS3
MUS3

The same problem here, that 4 patches do not fix anything for me. I’m for the while working on an older Mac with El Capitan (where OM 6.10.1 works fine), while patiently waiting for a true solution of this problem.

November 21, 2016 at 19:12 #19890
Profile photo of Jean
Jean

yes, that’s annoying.
I have not been able to reproduce any of this on my Sierra machine : the 4 lispworks patches work here an allow me to run OM 6.10.1 without major problem.
I am currently fixing some other issues with the audio, then plan to compile a new release. I hope it will work better for you, too.
I’ll keep you posed here as soon as it is ready.
Jean

November 21, 2016 at 19:15 #19891
Profile photo of EtienneP
EtienneP

Also the same problem after updating my MacBook Pro to macOS 10.12.1 (Sierra).
I removed the old OM 6.6 version, installed OM 6.10.1 and the 4 patch files, cleared the cache and nvram.
OM starts up with a “LibAudioStream Library error” and a “SDIF Library error” and then crashes.

November 21, 2016 at 21:53 #19895
Profile photo of Jean
Jean

Are LibAudioStream.framework and SDIF.framework present in OM 6.10.1/resources/lib/mac/ ?

November 21, 2016 at 23:09 #19899
Profile photo of tmrolls
tmrolls

I am also having this problem. I cannot speak for others, but I checked the OM 6.10.1/resources/lib/mac/ folder and both files are there. Don’t know if it helps, but it doesn’t seem to be missing files, at least those.

November 22, 2016 at 01:56 #19900
Profile photo of Jean
Jean

ok, I think I got something : the patches I provided probably work for people who upgraded to Sierra with an existing OM installed.

It seems Sierra has new restriction regarding security which now prevents OM to access newly installed libraries (such as the ones that are installed in its own package!). I have been able to reproduce the crashes (I think) by cleaning up my previous OM and just reinstalling the exact same version.

So : people upgrading to Sierra : keep your existing OM version + the four patch files. Do not try to re-install OM. :(

I’ll keep you posted with more info.

November 22, 2016 at 09:59 #19901

You must be logged in to reply to this topic.

Log in now