Where is EXC_BAD_ACCESS documented? [closed] - exception

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
One of the more commonplace debugging errors in my own development (Mac, iOS) is EXC_BAD_ACCESS. Despite its commonness, its origin and precise meaning remain mysterious. Google lists many occurrences of the error, but the only explanation I could find is informal and incomplete.
I know that this exception (if that's the proper term for it) means that the code has attempted to access an address to which it does not have read and/or write privileges—the null address, for example, or an address outside of the process's address space. But this is an intuitive interpretation based on my prior experience with virtual memory and protected memory systems. I have never seen EXC_BAD_ACCESS documented anywhere, and indeed I'm not sure "who" is sending me this exception—the CPU, Mac OS, UNIX, the runtime, the debugger?—so I don't know who to ask (that is, what class of documentation to consult). I would like to know, for example, what the "code" that is listed with the exception means. Or another example: what other classes of similar exceptions (presumably also tagged with "EXC_") might also come from the same source?
Where can I find an explanation of EXC_BAD_ACCESS, its codes and general semantics, from an authoritative source? What is the authoritative source—who is actually detecting and throwing the exception?

The only official documentation I've been able to find for EXC_BAD_ACCESS is a Technical Q&A called Finding EXC_BAD_ACCESS bugs in a Cocoa project. It's dated and only confirms what you already know:
This kind of problem is usually the result of over-releasing an object. It can be very confusing, since the failure tends to occur well after the mistake is made. The crash can also occur while the program is deep in framework code, often with none of your own code visible in the stack.
Indeed, it can be very confusing. At least Apple acknowledges that much. :)

Related

Dynamic Function Analysis [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I found this program that appears to assist with locating when a function is called in a program. It seems quite handy and I am wondering if there is more out there like it.
http://split-code.com/cda.html
https://www.youtube.com/watch?v=P0UXR861WYM
What exactly would this program be classified as? Are there other programs similar? Is this widely used and I'm just a fool?
As the link you provided states, this tool is a
dynamic code analysis process instrumentation tool
Dynamic It is used to inspect programs at runtime.
Code analysis It provides information about the code executing (?)
Process It analysis code running in a process (specifically, a 32-bit x86 process under Windows)
Instrumentation This tool uses debugging techniques to allow automatic tracing (into every inter-modular function call) and profiling. It also allows for PIN like (although probably not as neatly implemented) callbacks.
I must mention that the author using analysis is somewhat inaccurate. The software (as far as I understand it) does not analyses code, it only provides inter-modular and intra-modular calls information from runtime. IDA, on the other hand, is a real analysis tool, because it provides information like x-refs and string view, which can only be given via in depth analysis.
There is no 'short name' for this specific type of program. This program will be classified as some sort of Instrumentational software, .

Manage exceptions for camera and microphone in Chrome [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying to make an exception for a site to access my microphone and camera:
chrome://settings/contentExceptions#media-stream is not editable, is it normal?
How do I add a rule?
It's not possible as you would expect. Reported as a bug here and closed as Status: WontFix. Details below.
#14 freshst...#renuval.com Version: Version 28.0.1500.95 m OS: Windows 7 64 bit
We've read on an earlier Issue from 2011 that it's intended behavior
as well, but some people on the same Issue weren't sure:
https://code.google.com/p/chromium/issues/detail?id=71179
Chrome Help sites discuss the topic here:
https://support.google.com/chrome/answer/2693767?hl=en
Note that the Media Exceptions page doesn't explicitly say that you
can add exceptions, it only says you can deny. It does, however, point
you to the Manage Exceptions page on this topic which does say that
you can add using a button. This looks like it's just unintentionally
misleading.
After re-reading everything carefully, we assumed based on the help
article that the only way to de facto allow an exception is to click
"Allow" on a site requesting an exception that is running on HTTPS
as Chrome will only remember your preference for Media Exceptions on
HTTPS sites. It seems a bit restrictive for users who are savvy enough
to edit their own security settings deep down in the menu tree, but
security is security.
#15 ser...#chromium.org
Thank you freshstart. This is exactly it. Https
means that "allow" can stick.
Your question was also already answered on Super User:
You add a rule by going to the site in question and then, if Media
setting is "Ask when a site wants to use a plug-in to access your
computer", it should prompt you for what to do - that will then get
set as a specific exception.
You only use Manage Exceptions to remove existing exceptions.
See
Allow sites to access your camera and microphone and Manage
exceptions
Another Stack Overflow answer had a workaround, but it reportedly does not work any more. Via How to allow Chrome to access my camera on localhost?.

Writing documentation - open source solutions for displaying docs online? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've been working on a framework in AS3 that I want to release, but first I obviously need to prepare some documentation for it.
I've noticed that quite a few sites have the exact same layout, functionality etc as Adobe Livedocs, which has let me to believe that there's something open source out there for creating online documentation.
Here's some examples:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/
http://papervision3d.googlecode.com/svn/trunk/as3/trunk/docs/index.html
http://www.fisixengine.com/api/
Would anyone be able to point me in the right direction for tools that I can use to prepare online documentation?
Ideally the system would be specifically suited for documentation in ActionScript 3. I don't have a requirement in terms of the documentation being automatically generated either - if there's something out there that looks/works nice I'm happy to manually create the documentation (provided it comes with tools for easily adding classes, arguments, etc).
Adobe has a free tool called ASDoc. It generates documentation which follows the official Adobe patter. Frankly, it isn't worth it though. The ASDoc tool is buggy and unreliable. If it has difficulty finding an import, if an import isn't used, a comment is not correctly formatted, or you have your source code spread out in any sort of unexpected way, it simply breaks.
My company has lost over 50 developer hours (a few people tried to get a couple of different projects to work and failed) in an attempt to get around these limitations and our solution? We used NaturalDocs (A JavaDoc compiler). Is it perfect? No. Is it comparable to ASDoc in output? Sort of, it isn't as neat, and it would be nice if it treated things a little differently, but it works to display the documentation.

RFID software for windows, linux and Mac [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I want to learn how to play with RFID... Read it, write it, scan for it.
I need the software to do this as well as the hardware.
I'm not 100% sure what my end goal is. So, the more sources is get, the better. Keep the comments coming.
The actual hardware to read tags is not so complicated. You can get a reader like this one that can read tags fairly simply. The scanner just sends a unique 10 byte code every time it reads a tag, and you can handle that in just about any software fairly trivially.
I have never written tags because I have never found a need to. You can get tags for under a dollar each, and they all have a unique key. I just record them into my system and store them.
I use rfid for a basic entry control system on my front door, using an arduino controller to send the codes to my central server, and then to open an electronic lock. My setup is sort of similar to what is described here. My server allows me to remotely access it, and to set up specific time based access restrictions for individual tags. The microcontroller is not strictly required, but it allows me an easy way to interface with various hardware elements.
I think you have these options to use for your requirement:
Tikitag RFID Programming Kit http://www.jeremyperson.com/tikitag-rfid-programming-kit/ or this RFID Programming Kit http://www.phidgets.com/products.php?category=14
I hope that helps!

Looking for a particular Common Lisp implementation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a Common Lisp implementation I ran across once, sometime in the past year or two. I only remember a few things, and I don't know how to search for it based on these facts, so maybe somebody here can help.
it was open-source, but wasn't one of the big ones (SBCL, CMUCL, MCL, etc.)
it was likely incomplete; it looked almost more like an exercise in writing the simplest possible self-hosted Common Lisp
the main webpage was plain black-on-white, and had 2 columns, where the left column was a link to the source file for a particular area of functionality (loop, format, clos, etc.), and the right column was a link to the tests for that functionality
the source files themselves were pretty-printed for the web, with syntax highlighting that looked kind of like an old Redhat Emacs default config: slate-gray background, etc.
Where can I find this Lisp implementation?
Thanks!
I don't know which one you are referring too, but you can find a list of Common Lisp Implementations here.
Is there any particular reason why this Lisp is grabbing your attention now?
Its hard to pin down, but open-source + minimalistic + incomplete sounds vaugely similar to Paul Graham's Arc programming language.