Fatal Signal 11 error
<p>Hi I'm having problems with this error and have tried all sorts of tactics and resources but with no use.  I'm finding out that my Bowling3D app works without crashing except that it doesn't draw any of my structures in my GLSurfaceViews.  I stated out with a few textures in the .png format and the emulator correctly drew my structures.  As soon as I put in more textures I got the "Out of Memory" error, which I quickly fixed by compressing them to   .prvtc and loading them according to how it was demonstrated in a previous StackOverflow question.  Now I'm getting the "Fatal Signal 11 error" which I feel might be because I have in   my RelativeLayout four buttons (Levels for my game: Land, Air, Water, and Fire) that point to the same activity.  That activity then points to the same GLSurfaceView to draw.  I know this is true because as soon as I hit any one of the four buttons the app stops and returns back to the  Level Select screen and this error appears in Logcat. BTW, there are no errors showing up in the debug screen under the stacks lists, all threads shows (Running).</p>

<p>Here is my Logcat:</p>

<p>02-21 20:34:28.418: A/libc(818): Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 851 (Thread-85)</p>

<p>Here is the activity called MenuSelect:</p>

<pre><code>package com.games.sports.bowling3d;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.RadioButton;
import android.app.Activity;
import android.content.Intent;

public class MenuSelect extends Activity
{
    Button Air, Land, Fire, Water;
    RadioButton Easy, Medium, Hard;
    ImageView iv;

    Intent inAir, inLand, inFire, inWater;


    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_menu_select);

        Air = (Button) findViewById (R.id.btnAir);
        Land = (Button) findViewById (R.id.btnLand);
        Fire = (Button) findViewById (R.id.btnFire);
        Water = (Button) findViewById (R.id.btnWater);


       Easy = (RadioButton) findViewById (R.id.radioButton1);
       Medium = (RadioButton) findViewById (R.id.radioButton2);
       Hard = (RadioButton) findViewById (R.id.radioButton3);

        iv = (ImageView) findViewById (R.id.imageView1);



        Air.setOnClickListener(new OnClickListener()
        {

            @Override
            public void onClick(View v)
            {
                inAir = new Intent (MenuSelect.this, EnvironmentActivity.class);
                startActivity(inAir);

                iv.setBackgroundResource(R.drawable.ic_launcher);
                iv.bringToFront();

                if (Easy.isChecked() == true)
                {
                    Easy.toggle();





                }

                else if (Medium.isChecked() == true)
                {
                    Medium.toggle();


                }

                else if (Hard.isChecked() == true)
                {
                    Hard.toggle();


                }

                else
                {

                }


            }


        });

        Land.setOnClickListener(new OnClickListener()
        {

            @Override
            public void onClick(View v)
            {
                inLand = new Intent (MenuSelect.this, EnvironmentActivity.class);
                startActivity(inLand);

               iv.setBackgroundResource(R.drawable.ic_launcher_orange);
               iv.bringToFront();

                if (Easy.isChecked() == true)
                {
                    Easy.toggle();


                }

                else if (Medium.isChecked() == true)
                {

                    Medium.toggle();

                }

                else if (Hard.isChecked() == true)
                {

                    Hard.toggle();

                }

                else
                {

                }


            }


        });

        Fire.setOnClickListener(new OnClickListener()
        {

            @Override
            public void onClick(View v)
            {
                inFire = new Intent (MenuSelect.this, EnvironmentActivity.class);
                startActivity(inFire);

               iv.setBackgroundResource(R.drawable.ic_launcher_purple);
               iv.bringToFront();

                if (Easy.isChecked() == true)
                {
                    Easy.toggle();

                }

                else if (Medium.isChecked() == true)
                {
                    Medium.toggle();


                }

                else if (Hard.isChecked() == true)
                {

                    Hard.toggle();

                }

                else
                {

                }


            }


        });

        Water.setOnClickListener(new OnClickListener()
        {

            @Override
            public void onClick(View v)
            {
                inWater = new Intent (MenuSelect.this, EnvironmentActivity.class);
                startActivity(inWater);

                iv.setBackgroundResource(R.drawable.ic_launcher_red);
                iv.bringToFront();

                if (Easy.isChecked() == true)
                {

                    Easy.toggle();

                }

                else if (Medium.isChecked() == true)
                {
                    Medium.toggle();


                }

                else if (Hard.isChecked() == true)
                {

                    Hard.toggle();

                }

                else
                {

                }


            }


        });


    }



}
</code></pre>

<p>Here is my Environment Activity the buttons switches to:</p>

<pre><code>package com.games.sports.bowling3d;

import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;
import android.app.Activity;

public class EnvironmentActivity extends Activity
{
    EnvironmentsSurfaceView esv;
    Button menu, quit;
    TextView tvbi;

    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_environment);

        esv = (EnvironmentsSurfaceView) findViewById   (R.id.environmentsSurfaceView1);

        menu = (Button) findViewById (R.id.btnMenu);
        quit = (Button) findViewById (R.id.btnQuit);

        tvbi = (TextView) findViewById (R.id.bowlingInfo);
    }

    public void onPause()
    {
        super.onPause();
        esv.onPause();

    }

    public void onResume()
    {
        super.onResume();
        esv.onResume();

    }




}
</code></pre>

<p>So I'm wondering if I'm somehow tying up resources to get that error.  After all, only one level can be played at a time right?  Perhaps this is why I'm only seeing a dark screen on all my GLSurfaceViews.  I would greatly appreciate any help...</p>
