Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369857 - media-video/hasciicam - {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fed3409b480} (Segmentation fault)
Summary: media-video/hasciicam - {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fe...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 05:24 UTC by Chris Bruner
Modified: 2011-06-09 22:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
capture of strace output (strace.out,29.80 KB, text/plain)
2011-06-03 05:24 UTC, Chris Bruner
Details

Note You need to log in before you can comment on or make changes to this bug.
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.