[chuck-dev] gain ugen segmentation fault

Ge Wang gewang at CS.Princeton.EDU
Mon Jul 12 18:47:29 EDT 2004


Hi Matt!

the -O specifies optimization level for gcc (0 is off, 1 is some, 3 is 
a lot).

if you like, try make clean and compile with -O2 and -O1 and see if the
crash is there.  it is possible that the optimization in your version 
of gcc
contains a bug that caused the crash.

Best,
Ge!


On Monday, July 12, 2004, at 07:15 PM, Matthew Shanley wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Sorry for that stupid mistake, I haven't used gdb before. Anyway, when 
> I
> continued through a few times, it played my test file fine. I tried
> running ChucK outside of gdb and it also ran fine. (I have yet to do
> extensive testing though). I'm not sure what the -o3 flag pertains to,
> but it seems like removing it makes chuck work perfectly for me. Since
> this seems to be more about my system and gcc than about being on
> gentoo, I'm running kernel 2.6.5-r7 (gentoo-dev), and gcc 3.3.3 (gentoo
> 3.3.3-r6).
>
>
> matt
>
>
> Ge Wang wrote:
> | Let's move this back to chuck-dev...
> |
> | Ge!
> |
> | On Jul 12, 2004, at 1:22 AM, n++k wrote:
> |
> | Yes, sorry about that, you need to type 'c <enter>' a few times 
> before
> | getting
> | to the real crash.
> |
> | /wrote Niklas Werner <bergtroll at gmx.li> [Mon, 12 Jul 2004 15:03:25 
> +1200]
> |
> | |On Mon, 12 Jul 2004 15:25, Matthew Shanley wrote:
> | |> Sorry for the delay, I had to go out of town for the weekend.
> | |
> | |> Program received signal SIG32, Real-time event 32.
> | |> 0x402f79f4 in pthread_getconcurrency () from /lib/libpthread.so.0
> | |>
> | |>
> | |> Is this helpful?
> | |not really.
> | |You might want to type "where" or "bt" after the crash, as Nicolas
> | already
> | |wrote... This shows the whole trace of the function calls leading 
> to the
> | |crash.
> | |
> | |I can run your example without worries on my gentoo machine, btw. 
> (ppc)
> | |
> | |random ideas:
> | |- recent compiler upgrade and glibc not re-emerged?
> | |- different compiler used for alsa/kernel and chuck?
> | |
> | |(c++ can be very bitchy about different binary interfaces...)
> | |
> | |Cheers,
> | |
> | |Niklas
> | |--
> | |Computer Music PhD-student
> | |University of Waikato
> | |Hamilton
> | |New Zealand
> | |_______________________________________________
> | |chuck mailing list
> | |chuck at lists.cs.princeton.edu
> | |https://lists.cs.princeton.edu/mailman/listinfo/chuck
> | |
> _______________________________________________
> chuck mailing list
> chuck at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck
>
> | _______________________________________________
> | chuck-dev mailing list
> | chuck-dev at lists.cs.princeton.edu
> | https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
> | .
>
>
> - --
> Matthew Shanley
> E-mail: mshanley at alum.rpi.edu
>
> GnuPG Public Key ID : 0x5D3C2489
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFA8xuj2B97+F08JIkRAgnOAJ9TIy97WuS66aXYgwqfy0sJaMbv+wCeIKsL
> mi3Dg2sXP4oIXWHPhe4T0X0=
> =1vUM
> -----END PGP SIGNATURE-----
> _______________________________________________
> chuck-dev mailing list
> chuck-dev at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev



More information about the chuck-dev mailing list