Csound Csound-dev Csound-tekno Search About

[Csnd] CsoundQt crash in OSX

Date2017-08-27 16:26
FromCharles Groves
Subject[Csnd] CsoundQt crash in OSX
All,

CsoundQt stopped working suddenly on my Macbook a few weeks ago. It fails after showing the CSoundQt logo without any error messages.

Running via the terminal gives results included below.

Re-installing does not help.

Thanks in advance,
Charles


TERMINAL RESULTS:

Last login: Fri Aug 25 13:49:02 on ttys001
/Applications/CsoundQt-d-py-cs6.app/Contents/MacOS/CsoundQt-d-py-cs6 ; exit;
Charles-Grovess-MacBook-Pro-273:~ cbgroves2001$ /Applications/CsoundQt-d-py-cs6.app/Contents/MacOS/CsoundQt-d-py-cs6 ; exit;
virtual_keyboard real time MIDI plugin for Csound
WARNING: STK opcodes not available: define environment variable RAWWAVE_PATH
(points to rawwaves directory) to use STK opcodes.
0dBFS level = 32768.0
--Csound version 6.09.1 (double samples) Jul 10 2017
[commit: 0815e64648cdd7497c97d6a82eeffbcc774596a8]
libsndfile-1.0.25
end of score.           overall amps:      0.0
       overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 0.000s, CPU: 0.000s
2017-08-27 11:13:44.046 CsoundQt-d-py-cs6[25605:2073129] *** Assertion failure in -[NSBitmapImageRep initWithCGImage:], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.83.101/AppKit.subproj/NSBitmapImageRep.m:1296
2017-08-27 11:13:44.048 CsoundQt-d-py-cs6[25605:2073129] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: cgImage != NULL'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fffb1da757b __exceptionPreprocess + 171
    1   libobjc.A.dylib                     0x00007fffc71701da objc_exception_throw + 48
    2   CoreFoundation                      0x00007fffb1dac132 +[NSException raise:format:arguments:] + 98
    3   Foundation                          0x00007fffb3813be0 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
    4   AppKit                              0x00007fffaf9645b6 -[NSBitmapImageRep initWithCGImage:] + 149
    5   QtGui                               0x000000010e492abd _Z21qt_mac_create_nsimageRK5QIconi + 525
    6   libqcocoa.dylib                     0x00000001120e6fda qt_plugin_instance + 154170
    7   libqcocoa.dylib                     0x00000001120e4197 qt_plugin_instance + 142327
    8   QtWidgets                           0x000000010dd9e58d _ZN5QMenu11actionEventEP12QActionEvent + 1213
    9   QtWidgets                           0x000000010dc5aef8 _ZN7QWidget5eventEP6QEvent + 1240
    10  QtWidgets                           0x000000010dd9c654 _ZN5QMenu5eventEP6QEvent + 1140
    11  QtWidgets                           0x000000010dc1a58d _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 269
    12  QtWidgets                           0x000000010dc1ced2 _ZN12QApplication6notifyEP7QObjectP6QEvent + 5906
    13  QtCore                              0x000000010e8a6544 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 164
    14  QtWidgets                           0x000000010dc4ec61 _ZN7QWidget12insertActionEP7QActionS1_ + 353
    15  CsoundQt-d-py-cs6                   0x000000010b96a8a9 _ZN5QHashI7QStringbE13duplicateNodeEPN9QHashData4NodeEPv + 213177
    16  CsoundQt-d-py-cs6                   0x000000010b95c3d9 _ZN5QHashI7QStringbE13duplicateNodeEPN9QHashData4NodeEPv + 154601
    17  CsoundQt-d-py-cs6                   0x000000010b9419aa _ZN5QHashI7QStringbE13duplicateNodeEPN9QHashData4NodeEPv + 45498
    18  libdyld.dylib                       0x00007fffc7a51235 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Csound tidy up: Abort trap
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.

[Process completed]


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2017-08-27 17:16
FromTarmo Johannes
SubjectRe: [Csnd] CsoundQt crash in OSX

Hi,

 

Thanks for the report!

 

I think I know what the reason is but very curious what caused the change in situation some weeks ago.

 

I believe you can solve your problem if you install CsoundQt from here:

 

https://github.com/CsoundQt/CsoundQt/releases/download/0.9.4/CsoundQt-0.9.4.1-cs-6.09-qt-5.9.0.dmg

 

If you confirm that works, we should replace the one in OSX installer.

 

BUT BEFORE: please send me the file of preferences so I can make some tests:

 

The file is in $HOME/Library/Preferences/

and called com.csound.qutecsound.plist

you might need to use terminal to get there, copy the file for example to desktop and then send.

 

In terminal:

 

cd $HOME/Library/Preferences/

cp com.csound.qutecsound.plist $HOME/Desktop

 

 

Hope it works, please let know!

 

tarmo

 

 

 

 

On Sunday, August 27, 2017 11:26:42 AM you wrote:

> All,

>

> CsoundQt stopped working suddenly on my Macbook a few weeks ago. It fails

> after showing the CSoundQt logo without any error messages.

>

> Running via the terminal gives results included below.

>

> Re-installing does not help.

>

> Thanks in advance,

> Charles

>

>

> TERMINAL RESULTS:

>

> Last login: Fri Aug 25 13:49:02 on ttys001

> /Applications/CsoundQt-d-py-cs6.app/Contents/MacOS/CsoundQt-d-py-cs6 ; exit;

> Charles-Grovess-MacBook-Pro-273:~ cbgroves2001$

> /Applications/CsoundQt-d-py-cs6.app/Contents/MacOS/CsoundQt-d-py-cs6 ; exit;

> virtual_keyboard real time MIDI plugin for Csound

> WARNING: STK opcodes not available: define environment variable RAWWAVE_PATH

> (points to rawwaves directory) to use STK opcodes.

> 0dBFS level = 32768.0

> --Csound version 6.09.1 (double samples) Jul 10 2017

> [commit: 0815e64648cdd7497c97d6a82eeffbcc774596a8]

> libsndfile-1.0.25

> end of score. overall amps: 0.0

> overall samples out of range: 0

> 0 errors in performance

> Elapsed time at end of performance: real: 0.000s, CPU: 0.000s

> 2017-08-27 11:13:44.046 CsoundQt-d-py-cs6[25605:2073129] *** Assertion

> failure in -[NSBitmapImageRep initWithCGImage:],

> /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.83.101/AppKit.subpr

> oj/NSBitmapImageRep.m:1296 2017-08-27 11:13:44.048

> CsoundQt-d-py-cs6[25605:2073129] *** Terminating app due to uncaught

> exception 'NSInternalInconsistencyException', reason: 'Invalid parameter

> not satisfying: cgImage != NULL'

> *** First throw call stack:

> (

> 0 CoreFoundation 0x00007fffb1da757b

> __exceptionPreprocess + 171

> 1 libobjc.A.dylib 0x00007fffc71701da

> objc_exception_throw + 48

> 2 CoreFoundation 0x00007fffb1dac132

> +[NSException raise:format:arguments:] + 98

> 3 Foundation 0x00007fffb3813be0

> -[NSAssertionHandler

> handleFailureInMethod:object:file:lineNumber:description:] + 195

> 4 AppKit 0x00007fffaf9645b6

> -[NSBitmapImageRep initWithCGImage:] + 149

> 5 QtGui 0x000000010e492abd

> _Z21qt_mac_create_nsimageRK5QIconi + 525

> 6 libqcocoa.dylib 0x00000001120e6fda

> qt_plugin_instance + 154170

> 7 libqcocoa.dylib 0x00000001120e4197

> qt_plugin_instance + 142327

> 8 QtWidgets 0x000000010dd9e58d

> _ZN5QMenu11actionEventEP12QActionEvent + 1213

> 9 QtWidgets 0x000000010dc5aef8

> _ZN7QWidget5eventEP6QEvent + 1240

> 10 QtWidgets 0x000000010dd9c654

> _ZN5QMenu5eventEP6QEvent + 1140

> 11 QtWidgets 0x000000010dc1a58d

> _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 269

> 12 QtWidgets 0x000000010dc1ced2

> _ZN12QApplication6notifyEP7QObjectP6QEvent + 5906

> 13 QtCore 0x000000010e8a6544

> _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 164

> 14 QtWidgets 0x000000010dc4ec61

> _ZN7QWidget12insertActionEP7QActionS1_ + 353

> 15 CsoundQt-d-py-cs6 0x000000010b96a8a9

> _ZN5QHashI7QStringbE13duplicateNodeEPN9QHashData4NodeEPv + 213177

> 16 CsoundQt-d-py-cs6 0x000000010b95c3d9

> _ZN5QHashI7QStringbE13duplicateNodeEPN9QHashData4NodeEPv + 154601

> 17 CsoundQt-d-py-cs6 0x000000010b9419aa

> _ZN5QHashI7QStringbE13duplicateNodeEPN9QHashData4NodeEPv + 45498

> 18 libdyld.dylib 0x00007fffc7a51235 start + 1

> )

> libc++abi.dylib: terminating with uncaught exception of type NSException

> Csound tidy up: Abort trap

> logout

> Saving session...

> ...copying shared history...

> ...saving history...truncating history files...

> ...completed.

> Deleting expired sessions...none found.

>

> [Process completed]

>

> Csound mailing list

> Csound@listserv.heanet.ie

> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND

> Send bugs reports to

> https://github.com/csound/csound/issues

> Discussions of bugs and features can be posted here