Debug Iphone Program received signal: “EXC_BAD_ACCESS”
i searched and tried a lot. But i really have no idea how to solve this – 
*Thanks for your help*


**The Error-MSG:**

    Program received signal:  “EXC_BAD_ACCESS”.


**The Line throwing the MSG**

    log(sos_Trace, @"sendMail");


----------


**Important**

I make use of this logging-lib: http://code.google.com/p/soslog-objc/

**Full SourceFile**

    #import "ContactViewController.h"
    #import "SOSLog.h"
    
    @implementation ContactViewController
    
    @synthesize mailButton, delegate;
    
    - (void)viewDidLoad {  
        self.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"bg_tile.gif"]];  
    	[super viewDidLoad];  
    }  
    
    - (IBAction)sendMail:(id)sender {
    	NSLog(@"sendMail");
    	log(sos_Trace, @"sendMail");
    	
    	[delegate mail:self];
    }
    
    - (void)dealloc {
    	[self.mailButton release];
    	self.delegate = nil;
        [super dealloc];
    }
    
    @end


Debug Iphone Program received signal: “EXC_BAD_ACCESS”
===

i searched and tried a lot. But i really have no idea how to solve this – 
*Thanks for your help*


**The Error-MSG:**

    Program received signal:  “EXC_BAD_ACCESS”.


**The Line throwing the MSG**

    log(sos_Trace, @"sendMail");


----------


**Important**

I make use of this logging-lib: http://code.google.com/p/soslog-objc/

**Full SourceFile**

    #import "ContactViewController.h"
    #import "SOSLog.h"
    
    @implementation ContactViewController
    
    @synthesize mailButton, delegate;
    
    - (void)viewDidLoad {  
        self.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"bg_tile.gif"]];  
    	[super viewDidLoad];  
    }  
    
    - (IBAction)sendMail:(id)sender {
    	NSLog(@"sendMail");
    	log(sos_Trace, @"sendMail");
    	
    	[delegate mail:self];
    }
    
    - (void)dealloc {
    	[self.mailButton release];
    	self.delegate = nil;
        [super dealloc];
    }
    
    @end

