Constant crashes with csound api

View: New views
6 Messages — Rating Filter:   Alert me  

Constant crashes with csound api

by CarlosJP :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I'm experiencing crashes with the csound api. I think the problem is related to:

http://www.nabble.com/Csound-API-unstability-td19737102.html

The problem happens every time I stop the first rendering of a project
and start a second one.

I've attached a hs_err log.

My platform is archlinux 32 bits. My processor is pentium 4.

I'm using jdk 1.6.0_11.

I built csound 5.10 from sources passing the following scons options:

usePortAudio=1 usePortMIDI=0 buildCsound5GUI=1 useOSC=1
buildPythonOpcodes=1 buildInterfaces=1 buildVirtual=1
dynamicCsoundLibrary=1 buildJavaWrapper=1 useDouble=1

I also tried passing "-O4 -march=pentium4", "-O4 -march=i686" and ""
to the compiler.

For example, here is some output from the csound build:

gcc -o util/srconv_main.o -c -DGNU_GETTEXT -g -fomit-frame-pointer
-freorder-blocks -DLINUX -DHAVE_SOCKETS -fvisibility=hidden
-fno-strict-aliasing -fno-strict-aliasing -DHAVE_LIBSNDFILE=1016
-DHAVE_FLTK -DBETA -DUSE_DOUBLE -DPIPES -DHAVE_PTHREAD_BARRIER_INIT
-DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
-DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
-DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/include/fltk-1.1
-I/usr/local/include -I/usr/include -I/opt/java/include
-I/opt/java/include/linux -I/usr/X11R6/include util/srconv_main.c

Any ideas?

Best regards
-Carlos


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

hs_err_pid1431.log (42K) Download Attachment

Re: Constant crashes with csound api

by CarlosJP :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FYI, it's evidently related to csound graphics. Both -g and -d fix the
issue. I guess there is some evil thread interaction between fltk and
the swing gui. I just disabled graphics as a workaround (anyway, I
don't care about them).

Regards
-Carlos


On Sun, Feb 22, 2009 at 12:48 AM, Carlos Pita <carlosjosepita@...> wrote:

> Hi all,
>
> I'm experiencing crashes with the csound api. I think the problem is related to:
>
> http://www.nabble.com/Csound-API-unstability-td19737102.html
>
> The problem happens every time I stop the first rendering of a project
> and start a second one.
>
> I've attached a hs_err log.
>
> My platform is archlinux 32 bits. My processor is pentium 4.
>
> I'm using jdk 1.6.0_11.
>
> I built csound 5.10 from sources passing the following scons options:
>
> usePortAudio=1 usePortMIDI=0 buildCsound5GUI=1 useOSC=1
> buildPythonOpcodes=1 buildInterfaces=1 buildVirtual=1
> dynamicCsoundLibrary=1 buildJavaWrapper=1 useDouble=1
>
> I also tried passing "-O4 -march=pentium4", "-O4 -march=i686" and ""
> to the compiler.
>
> For example, here is some output from the csound build:
>
> gcc -o util/srconv_main.o -c -DGNU_GETTEXT -g -fomit-frame-pointer
> -freorder-blocks -DLINUX -DHAVE_SOCKETS -fvisibility=hidden
> -fno-strict-aliasing -fno-strict-aliasing -DHAVE_LIBSNDFILE=1016
> -DHAVE_FLTK -DBETA -DUSE_DOUBLE -DPIPES -DHAVE_PTHREAD_BARRIER_INIT
> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
> -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/include/fltk-1.1
> -I/usr/local/include -I/usr/include -I/opt/java/include
> -I/opt/java/include/linux -I/usr/X11R6/include util/srconv_main.c
>
> Any ideas?
>
> Best regards
> -Carlos
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: Constant crashes with csound api

by Steven Yi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oh wow, thanks very much for following up Carlos!  I'm very glad to
hear of that solution.  I think that must have been why I couldn't
reproduce the problem, as I always turn off graphics.

Otherwise, hope all else is working out and thanks for sharing that information!

steven

On Sat, Feb 21, 2009 at 8:43 PM, Carlos Pita <carlosjosepita@...> wrote:

> FYI, it's evidently related to csound graphics. Both -g and -d fix the
> issue. I guess there is some evil thread interaction between fltk and
> the swing gui. I just disabled graphics as a workaround (anyway, I
> don't care about them).
>
> Regards
> -Carlos
>
>
> On Sun, Feb 22, 2009 at 12:48 AM, Carlos Pita <carlosjosepita@...> wrote:
>> Hi all,
>>
>> I'm experiencing crashes with the csound api. I think the problem is related to:
>>
>> http://www.nabble.com/Csound-API-unstability-td19737102.html
>>
>> The problem happens every time I stop the first rendering of a project
>> and start a second one.
>>
>> I've attached a hs_err log.
>>
>> My platform is archlinux 32 bits. My processor is pentium 4.
>>
>> I'm using jdk 1.6.0_11.
>>
>> I built csound 5.10 from sources passing the following scons options:
>>
>> usePortAudio=1 usePortMIDI=0 buildCsound5GUI=1 useOSC=1
>> buildPythonOpcodes=1 buildInterfaces=1 buildVirtual=1
>> dynamicCsoundLibrary=1 buildJavaWrapper=1 useDouble=1
>>
>> I also tried passing "-O4 -march=pentium4", "-O4 -march=i686" and ""
>> to the compiler.
>>
>> For example, here is some output from the csound build:
>>
>> gcc -o util/srconv_main.o -c -DGNU_GETTEXT -g -fomit-frame-pointer
>> -freorder-blocks -DLINUX -DHAVE_SOCKETS -fvisibility=hidden
>> -fno-strict-aliasing -fno-strict-aliasing -DHAVE_LIBSNDFILE=1016
>> -DHAVE_FLTK -DBETA -DUSE_DOUBLE -DPIPES -DHAVE_PTHREAD_BARRIER_INIT
>> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
>> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
>> -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/include/fltk-1.1
>> -I/usr/local/include -I/usr/include -I/opt/java/include
>> -I/opt/java/include/linux -I/usr/X11R6/include util/srconv_main.c
>>
>> Any ideas?
>>
>> Best regards
>> -Carlos
>>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: Constant crashes with csound api

by menno :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i'm having crashes also, using Blue and the csound API.
the log is:

hs_err_pid2332.log

i used the -g and -d option in .csoundrc in Windows XP
Is this the same problem?

Menno

Re: Constant crashes with csound api

by CarlosJP :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm not sure if usage via the api will honour .csoundrc. Please set -g or -d at the project properties dialog (notice that the advanced settings at the program options dialog aren't merged but overridden by the ones at the project properties dialog). In any case, the touchstone here is: are the graphics really showing up? :)


Regards
-Carlos


menno wrote:
i'm having crashes also, using Blue and the csound API.
the log is:

hs_err_pid2332.log

i used the -g and -d option in .csoundrc in Windows XP
Is this the same problem?

Menno

Re: Constant crashes with csound api

by Steven Yi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Menno,

I'm not sure from the log file what is going on.  Does this file crash
if you don't use the API?  Just wanting to make sure it's not a
legitimate Csound crash and is one that is caused from something
involving blue/csound interaction.  Otherwise, can you send me a copy
of your project to my email address so I can reproduce the problem
here?

Thanks!
steven

On Tue, Feb 24, 2009 at 12:27 PM, menno <nabob_cd@...> wrote:

>
> i'm having crashes also, using Blue and the csound API.
> the log is:
>
> http://www.nabble.com/file/p22189867/hs_err_pid2332.log hs_err_pid2332.log
>
> i used the -g and -d option in .csoundrc in Windows XP
> Is this the same problem?
>
> Menno
> --
> View this message in context: http://www.nabble.com/Constant-crashes-with-csound-api-tp22143126p22189867.html
> Sent from the Csound - Blue - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users