Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault when examining memory in debug mode #25

Open
GoogleCodeExporter opened this issue Jan 26, 2016 · 0 comments
Open

Segmentation fault when examining memory in debug mode #25

GoogleCodeExporter opened this issue Jan 26, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

1. Start Virtual AGC in debug mode:
yaAGC --core=Colossus249.bin --cfg=CM.ini --debug
2. Try to examine register A with command "x A". The yaAGC immediately quits 
with segmentation fault. "x 0" or "x L" or "x 1" also result in segfault.

I've built my yaAGC from source yaAGC-dev-20100220.tar.bz2, op.system is 
Debian/Lenny

Seem to me the reason for this behaviour is an unhandled nullification of a 
string variable at agc_gdbmi.c:1709  
   if ((s = strstr(s,"/")))
which ends up in a segmentation fault at agc_gdbmi.c:1716, where the variable 
"s" is referred.

Original issue reported on code.google.com by [email protected] on 17 Oct 2010 at 2:37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant