Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 369857

Summary: media-video/hasciicam - {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fed3409b480} (Segmentation fault)
Product: Gentoo Linux Reporter: Chris Bruner <cbruner>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: capture of strace output

Description Chris Bruner 2011-06-03 05:24:56 UTC
Created attachment 275643 [details]
capture of strace output

running hasciicam without parameters segfaults.

code is at 
   if((++framenum) == renderhop){
        framenum=0;
==>        YUV422_to_grey(buffers[buffer.index].start, grey, vw, vh);<==
        
        memcpy( aa_image(ascii_context), grey, greysize);
        aa_fastrender(ascii_context, 0, 0, vw/(xstep*2), vh/(ystep*2)); //TODO are the w&h args correct?
//		aa_render(ascii_context, ascii_rndparms, 0, 0, vw/(xstep*2), vh/(ystep*2)); //TODO are the w&h args correct?
        aa_flush(ascii_context);
    }


buffer.index=1;
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-07 15:46:58 UTC
Please post your `emerge --info' output too.