Detecting sandbox

Hello!
I would like to detect, if my application is running inside or outside a Java sandbox. Reason: I would like to keep the flexibility to use my application as signed and unsigned Web Start application as well as regular application.
Up to now I use code like this:
import javax.jnlp.*;
boolean runningInSandbox ;
try {
    BasicService bs =
        (BasicService) ServiceManager.lookup("javax.jnlp.BasicService");
    runningInSandbox = true;
} catch (UnavailableServiceException e) {
    runningInSandbox = false;
if (runningInSandbox) {
}Ok, this code seems to work, but I guess, there should be a better way. Is this the "official" documented procedure or does anybody know a better way? (Technically this just checks, if the ServiceManager can find the BasicService; not finding this service doesn't mean, my application is running outside of any sandbox.)
Kind regards,
Marcus.

This is the correct way to determine if your code is running under Java Web Start, however, that is not necessarily the same thing as knowing if the code is running in the sandbox. It is possible to be running
1.) outside of java web start, but with a security manager installed that
implement the sandbox or some other permission collection.
2.) under java web start with j2ee-client-permissions or all-permissions
granted by signing your code and requesting this in the jnlp file.
3.) under java web start with enhanced permissions granted by user or
system-wide policy files.
Although for many applications, the method you describe is enough, the best way to keep flexible code is to check for the specific
permission you want to use before using it:
SecurityManaget sm = System.getSecurityManager();
boolean granted;
try {
if ( sm != null ) {
sm.checkPermission(XXX)
granted = true;
} catch (SecurityException se) {
granted = false;
if (granted) {
// one path if permission is granted
} else {
// another path if not.
/Dietz

Similar Messages

  • [svn] 3120: When you point Flex Builder at a local sandbox trunk build, it couldn' t generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build

    Revision: 3120
    Author: [email protected]
    Date: 2008-09-05 10:44:10 -0700 (Fri, 05 Sep 2008)
    Log Message:
    When you point Flex Builder at a local sandbox trunk build, it couldn't generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build.xml's to accommodate the directory change
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/webapps/webtier/build.xml
    Added Paths:
    flex/sdk/trunk/templates/client-side-detection/
    flex/sdk/trunk/templates/client-side-detection/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection/index.template.html
    flex/sdk/trunk/templates/client-side-detection-with-history/
    flex/sdk/trunk/templates/client-side-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/
    flex/sdk/trunk/templates/client-side-detection-with-history/history/history.css
    flex/sdk/trunk/templates/client-side-detection-with-history/history/history.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/client-side-detection-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation/
    flex/sdk/trunk/templates/express-installation/AC_OETags.js
    flex/sdk/trunk/templates/express-installation/index.template.html
    flex/sdk/trunk/templates/express-installation/playerProductInstall.swf
    flex/sdk/trunk/templates/express-installation-with-history/
    flex/sdk/trunk/templates/express-installation-with-history/AC_OETags.js
    flex/sdk/trunk/templates/express-installation-with-history/history/
    flex/sdk/trunk/templates/express-installation-with-history/history/history.css
    flex/sdk/trunk/templates/express-installation-with-history/history/history.js
    flex/sdk/trunk/templates/express-installation-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/express-installation-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation-with-history/playerProductInstall.swf
    flex/sdk/trunk/templates/metadata/
    flex/sdk/trunk/templates/metadata/AC_OETags.js
    flex/sdk/trunk/templates/metadata/readme.txt
    flex/sdk/trunk/templates/no-player-detection/
    flex/sdk/trunk/templates/no-player-detection/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection/index.template.html
    flex/sdk/trunk/templates/no-player-detection-with-history/
    flex/sdk/trunk/templates/no-player-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/
    flex/sdk/trunk/templates/no-player-detection-with-history/history/history.css
    flex/sdk/trunk/templates/no-player-detection-with-history/history/history.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/no-player-detection-with-history/index.template.html
    Removed Paths:
    flex/sdk/trunk/templates/html-templates/

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • GAME CENTER SANDBOX?? ALL DATA ERASED

    i started an app and then it asked me to log into game center, which is weird. so  i did, and then it made me start a whole new account! and everythign, my friends and points and games were gone except for one game in my game center. i sitll have the games in my games tab, but the 'me tab' doesnt detect this for some reason. it also says in my account settings that i am in sandbox 2B56 which after researching  found weird, as  i dont develop games...
    pls help!

    BTW, I did this:
    http://www.samjordan.co.uk/2011/02/ios-device-stuck-in-game-center-sandbox-fix-h ere/
    Specifically:
    Close all apps (not really needed, but simplifies things)
    Open game center and create a sandbox account (no need to verify email address)
    Log out of this new account by tapping your email address under the 3 boxes.
    Close game center and then make sure it’s removed from the multi-tasking bar
    Open a game center enabled game and be presented with the normal game center login!
    I am still logged into my sandbox account it seems. I have created a sandbox account using the same email and password then the regular one (and than my appStore account). Yet my progress is correct in the games. It's already like half a fix... makes it bearable.

  • Is it possible to sandbox the entire system?

    DISCLAIMER
    This is partly just thinking out loud.
    There may be some completely obvious solution for achieving this that I have not come across.
    My ideas may be flawed.
    I saw the other thread about sandboxing but that had a different focus and went in a different direction than this hopefully will.
    First, by sandboxing I mean the following:
    * let an application see the actual system, but only selectively, e.g. make /usr visible but /home inaccessible
    * intercept all writes to the system
    * let an application see all intercepted writes as though they have actually occurred
    * intercept all network communication and allow the user to approve or deny it, e.g. enable a source download from one site but prevent the application from calling home to another
    * the application cannot escape the sandbox
    * the application should not be able to detect the sandbox
    Is this possible?
    First I thought about using FUSE to mask the entire filesystem but this would affect all applications and probably wouldn't work on a running sysem.
    Then I thought about using virtualization. Maybe it would be possible to create a fake base image of the live host system and then add an overlay to that to create a sandboxed virtual clone of the host system. The network connection could probably by the host in that case.
    I don't know if it would be at all possible though to create a fake base image of the live host system. I also don't know if it would need to be static or if the image could remain dynamic. In the latter case. it would probably be possible to create the image with FUSE. Using FUSE it might even be possible to forgo the overlay image as FUSE itself could intercept the writes. There are obvious complexities in that though, such as how to present changes to a file by the host to the guest if the guest has modified it previously. I also have no idea if the guest system could use a clone of the hosts file system.
    Why I would want to do this:
    * "Safely" test-run anything while protecting your system (hide your sensitive data, protect all of your files, control network access)**.
    * Simplified package building: build the application as it's meant to be built in the sandbox, compare the sandbox to the host and then use the differences to build the package***.
    * It would be cool.
    ** Before anyone interjects with the "only run trusted apps" mantra, this would also apply to trusted apps which might contain bugs. Let's face it, most people do not plough through source code of trusted apps before building/installing/running them.
    *** This was prompted by my ongoing installation of SAGE which is built in the post-install function instead of the PKGBUILD itself due to the complexities of the build process. The general idea is to create a way in which all application that can be built can be packaged uniformly.

    Are you sure that you can change the permissions of symlinks themselves? I think I've tried to make files read-only via symlinks on a local server but ended up using bindfs because it wasn't possible. Even if you can, symlinking everything that might be necessary for a given environment would not be ideal, plus I don't think symlinks can be used across different filesystems.
    If a real-life human can figure out if it's he/she is in a chroot and break out of it, then he/she can write a script to do the same. I want a sandbox that could run malicious code with no effect on the system (if that's possible). Also, I think if the chroot idea were truly feasible, makepkg would have been using it for years already to simply install packages in the chroot as you normally would and then package them. There would also be several sandbox applications that could run applications safely. So far I have yet to find any.
    I admit that I haven't looked into using a chroot in detail though and of course I may have missed some application which creates such a setup. Right now I think using per-application namespaces with fuse seems the most promising but I won't know until I've finished implementing a test application. If it turns out that it's a dead end I'll take harder look at chroot but it really doesn't seem to be able to do what I want.

  • Detect remote desktop connection

    Hey,
    I want to detect if the current user-session is a remote or local session. I have only LabVIEW 2012 at hand, so I think I need it to switch between absolute and relative mouse scrolling detection dependent on the session type.
    My approach is to check this by executing 'qwinsta' via the System Exec.vi:
    however this doesn't work at all While standard commands like 'cd' render no problem, this one throws just an error 'command not found'. If I start this command manually on a command line it just works without any problem.
    So I hope you can give me hint on the problem - or to an way more easy solution to the whole problem.
    Thanks in advance, Erik

    thank you very much dan_u.
    way more complex than my polling version, but surely more sophisticated - i will give it a try
    in the meantime, 5 hrs of google searches also led to the answer of my initial question:
    i've running 32 Bit Labview on a 64 Bit Windows...thats all. As this is the case, all commands I send to cmd are executed in the 32 Bit Version of cmd.exe, as this version is automatically called from my 32 Bit LabVIEW.
    There is no qwinsta in 32 Bit cmd.exe.
    Calling "c:\windows\sysnative\cmd.exe" instead of "cmd" let you escape the 32-Bit Sandbox of SysWoW64 (but not without complaining of my antivirus) and qwinsta returns the expected result.
    Reference:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/5bfc1d5b-1162-495a-bc89-252de06e4baa/...
    Thanks,
    Erik

  • VGA display not being detected

    My Mac mini often changes the display resolution when it wakes up from sleep, and I have to use the detect display command to get the correct resolution back. I just had to restart it because of a kernel panic event, and now it doesn't detect the display. I use a Gateway LCD with a VGA connection. Any ideas on how to fix this would be most appreciated! Thank you-
    Interval Since Last Panic Report: 254324 sec
    Panics Since Last Report: 3
    Anonymous UUID: D621B48A-C7FA-43D0-BBDF-7E399766A5A0
    Mon Nov 22 18:06:50 2010
    panic(cpu 0 caller 0x27a3a5): "vmpage_reactivatelocal: count = 252, vmpage_localcount = 251\n"@/SourceCache/xnu/xnu-1504.9.17/osfmk/vm/vm_resident.c:3193
    Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
    0x47a83ce8 : 0x21b50c (0x5d42fc 0x47a83d1c 0x223974 0x0)
    0x47a83d38 : 0x27a3a5 (0x590060 0xfc 0xfb 0x27fc1e8)
    0x47a83d78 : 0x2550be (0x0 0x0 0x0 0x1f17d)
    0x47a83de8 : 0x257f93 (0x38c7938 0x6176bc8 0x83d000 0x1)
    0x47a83f38 : 0x2aa42f (0x6183290 0x83d000 0x1 0x1)
    0x47a83fc8 : 0x2a080a (0x731cba4 0x0 0x10 0x731cba4)
    BSD process name corresponding to current thread: airportd
    Mac OS version:
    10H574
    Kernel version:
    Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386
    System model name: Macmini4,1 (Mac-F2208EC8)
    System uptime in nanoseconds: 42112226218043
    unloaded kexts:
    com.apple.driver.AppleMCP89RootPortPM 1.11 (addr 0x1250000, size 0x20480) - last unloaded 92007193143
    loaded kexts:
    com.apple.driver.AppleHWSensor 1.9.3d0
    com.apple.filesystems.autofs 2.1.0
    com.apple.driver.AGPM 100.12.19
    com.apple.driver.ApplePlatformEnabler 2.0.2d1
    com.apple.driver.AppleMikeyHIDDriver 1.2.0
    com.apple.driver.AppleUpstreamUserClient 3.4.5
    com.apple.driver.AppleMCCSControl 1.0.17
    com.apple.driver.AppleHDA 1.9.9f12
    com.apple.driver.AudioAUUC 1.13
    com.apple.driver.AppleMikeyDriver 1.9.9f12
    com.apple.driver.AppleLPC 1.4.12
    com.apple.DontSteal_Mac_OSX 7.0.0
    com.apple.driver.AudioIPCDriver 1.1.6
    com.apple.driver.AppleIntelPenrynProfile 17
    com.apple.driver.ACPISMCPlatformPlugin 4.5.0d5
    com.apple.GeForce 6.2.4
    com.apple.driver.AppleIRController 303.8
    com.apple.iokit.SCSITaskUserClient 2.6.5
    com.apple.BootCache 31
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.driver.AppleSDXC 1.0.1
    com.apple.iokit.AppleBCM5701Ethernet 2.3.9b6
    com.apple.driver.AppleFWOHCI 4.7.1
    com.apple.driver.AirPortBrcm43224 426.36.1
    com.apple.iokit.IOAHCIBlockStorage 1.6.3
    com.apple.driver.AppleEFINVRAM 1.4.0
    com.apple.driver.AppleRTC 1.3.1
    com.apple.driver.AppleUSBHub 4.1.7
    com.apple.driver.AppleHPET 1.5
    com.apple.driver.AppleUSBEHCI 4.1.7
    com.apple.driver.AppleUSBOHCI 4.1.5
    com.apple.driver.AppleAHCIPort 2.1.5
    com.apple.driver.AppleACPIButtons 1.3.5
    com.apple.driver.AppleSMBIOS 1.6
    com.apple.driver.AppleACPIEC 1.3.5
    com.apple.driver.AppleAPIC 1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient 105.13.0
    com.apple.security.sandbox 1
    com.apple.security.quarantine 0
    com.apple.nke.applicationfirewall 2.1.11
    com.apple.driver.AppleIntelCPUPowerManagement 105.13.0
    com.apple.driver.AppleUSBMergeNub 4.1.5 - last loaded 37501864330793
    com.apple.driver.DspFuncLib 1.9.9f12
    com.apple.driver.AppleProfileReadCounterAction 17
    com.apple.driver.AppleProfileTimestampAction 10
    com.apple.driver.AppleProfileThreadInfoAction 14
    com.apple.driver.AppleProfileRegisterStateAction 10
    com.apple.driver.AppleProfileKEventAction 10
    com.apple.driver.AppleProfileCallstackAction 20
    com.apple.nvidia.nv50hal 6.2.4
    com.apple.iokit.IOFireWireIP 2.0.3
    com.apple.iokit.IOSurface 74.2
    com.apple.iokit.IOBluetoothSerialManager 2.3.8f7
    com.apple.iokit.IOSerialFamily 10.0.3
    com.apple.iokit.IOAudioFamily 1.7.9fc4
    com.apple.kext.OSvKernDSPLib 1.3
    com.apple.driver.AppleHDAController 1.9.9f12
    com.apple.iokit.IOHDAFamily 1.9.9f12
    com.apple.driver.AppleSMBusController 1.0.8d0
    com.apple.iokit.AppleProfileFamily 41
    com.apple.driver.AppleSMC 3.1.0d3
    com.apple.driver.IOPlatformPluginFamily 4.5.0d5
    com.apple.driver.AppleSMBusPCI 1.0.8d0
    com.apple.NVDAResman 6.2.4
    com.apple.iokit.IONDRVSupport 2.2
    com.apple.iokit.IOGraphicsFamily 2.2
    com.apple.driver.BroadcomUSBBluetoothHCIController 2.3.8f7
    com.apple.driver.AppleUSBBluetoothHCIController 2.3.8f7
    com.apple.iokit.IOBluetoothFamily 2.3.8f7
    com.apple.iokit.IOUSBHIDDriver 4.1.5
    com.apple.driver.AppleUSBComposite 3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.5
    com.apple.iokit.IOBDStorageFamily 1.6
    com.apple.iokit.IODVDStorageFamily 1.6
    com.apple.iokit.IOCDStorageFamily 1.6
    com.apple.driver.XsanFilter 402.1
    com.apple.iokit.IOFireWireFamily 4.2.6
    com.apple.iokit.IO80211Family 312
    com.apple.iokit.IONetworkingFamily 1.9
    com.apple.iokit.IOAHCISerialATAPI 1.2.5
    com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.5
    com.apple.iokit.IOUSBUserClient 4.1.5
    com.apple.iokit.IOUSBFamily 4.1.7
    com.apple.driver.NVSMU 2.2.7
    com.apple.driver.AppleEFIRuntime 1.4.0
    com.apple.iokit.IOAHCIFamily 2.0.4
    com.apple.iokit.IOHIDFamily 1.6.5
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet 6
    com.apple.driver.DiskImages 289
    com.apple.iokit.IOStorageFamily 1.6.2
    com.apple.driver.AppleACPIPlatform 1.3.5
    com.apple.iokit.IOPCIFamily 2.6
    com.apple.iokit.IOACPIFamily 1.3.0
    Model: Macmini4,1, BootROM MM41.0042.B00, 2 processors, Intel Core 2 Duo, 2.4 GHz, 2 GB, SMC 1.65f2
    Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
    Memory Module: global_name
    AirPort: spairportwireless_card_type_airportextreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.10.131.36.1)
    Bluetooth: Version 2.3.8f7, 2 service, 19 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: Hitachi HTS545032B9SA02, 298.09 GB
    Serial ATA Device: HL-DT-STDVDRW GA32N
    USB Device: Hub, 0x0557 (ATEN International Co. Ltd.), 0x7000, 0x06400000
    USB Device: ELECOM USB mouse with wheel, 0x056e (Elecom Co., Ltd.), 0x0018, 0x06440000
    USB Device: Natural® Ergonomic Keyboard 4000, 0x045e (Microsoft Corporation), 0x00dc, 0x06410000
    USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000
    USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8218, 0x06630000
    USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0x06500000

    Does the Gateway also have a DVI input? If so, have you considered using DVI as an alternative to VGA?

  • What is the best malwear detection and protection for use on a Mac?

    What is the best malwear detection and protection for use on a Mac?

    Mac users often ask whether they should install "anti-virus" software. The answer usually given on ASC is "no." The answer is right, but it may give the wrong impression that there is no threat from what are loosely called "viruses." There  is a threat, and you need to educate yourself about it.
    1. This is a comment on what you should—and should not—do to protect yourself from malicious software ("malware") that circulates on the Internet and gets onto a computer as an unintended consequence of the user's actions. It does not apply to software, such as keystroke loggers, that may be installed deliberately by an intruder who has hands-on access to the computer, or who has been able to log in to it remotely. That threat is in a different category, and there's no easy way to defend against it.
    The comment is long because the issue is complex. The key points are in sections 5, 6, and 10.
    OS X now implements three layers of built-in protection specifically against malware, not counting runtime protections such as execute disable, sandboxing, system library randomization, and address space layout randomization that may also guard against other kinds of exploits.
    2. All versions of OS X since 10.6.7 have been able to detect known Mac malware in downloaded files, and to block insecure web plugins. This feature is transparent to the user. Internally Apple calls it "XProtect."
    The malware recognition database used by XProtect is automatically updated; however, you shouldn't rely on it, because the attackers are always at least a day ahead of the defenders.
    The following caveats apply to XProtect:
    ☞ It can be bypassed by some third-party networking software, such as BitTorrent clients and Java applets.
    ☞ It only applies to software downloaded from the network. Software installed from a CD or other media is not checked.
    As new versions of OS X are released, it's not clear whether Apple will indefinitely continue to maintain the XProtect database of older versions such as 10.6. The security of obsolete system versions may eventually be degraded. Security updates to the code of obsolete systems will stop being released at some point, and that may leave them open to other kinds of attack besides malware.
    3. Starting with OS X 10.7.5, there has been a second layer of built-in malware protection, designated "Gatekeeper" by Apple. By default, applications and Installer packages downloaded from the network will only run if they're digitally signed by a developer with a certificate issued by Apple. Software certified in this way hasn't necessarily been tested by Apple, but you can be reasonably sure that it hasn't been modified by anyone other than the developer. His identity is known to Apple, so he could be held legally responsible if he distributed malware. That may not mean much if the developer lives in a country with a weak legal system (see below.)
    Gatekeeper doesn't depend on a database of known malware. It has, however, the same limitations as XProtect, and in addition the following:
    ☞ It can easily be disabled or overridden by the user.
    ☞ A malware attacker could get control of a code-signing certificate under false pretenses, or could simply ignore the consequences of distributing codesigned malware.
    ☞ An App Store developer could find a way to bypass Apple's oversight, or the oversight could fail due to human error.
    Apple has so far failed to revoke the codesigning certificates of some known abusers, thereby diluting the value of Gatekeeper and the Developer ID program. These failures don't involve App Store products, however.
    For the reasons given, App Store products, and—to a lesser extent—other applications recognized by Gatekeeper as signed, are safer than others, but they can't be considered absolutely safe. "Sandboxed" applications may prompt for access to private data, such as your contacts, or for access to the network. Think before granting that access. Sandbox security is based on user input. Never click through any request for authorization without thinking.
    4. Starting with OS X 10.8.3, a third layer of protection has been added: a "Malware Removal Tool" (MRT). MRT runs automatically in the background when you update the OS. It checks for, and removes, malware that may have evaded the other protections via a Java exploit (see below.) MRT also runs when you install or update the Apple-supplied Java runtime (but not the Oracle runtime.) Like XProtect, MRT is effective against known threats, but not against unknown ones. It notifies you if it finds malware, but otherwise there's no user interface to MRT.
    5. The built-in security features of OS X reduce the risk of malware attack, but they are not, and never will be, complete protection. Malware is foremost a problem of human behavior, and no technological fix alone is going to solve it. Trusting software to protect you will only make you more vulnerable.
    The best defense is always going to be your own intelligence. With the possible exception of Java exploits, all known malware circulating on the Internet that affects a fully-updated installation of OS X 10.6 or later takes the form of so-called "Trojan horses," which can only have an effect if the victim is duped into running them. The threat therefore amounts to a battle of wits between you and Internet criminals. If you're better informed than they think you are, you'll win. That means, in practice, that you always stay within a safe harbor of computing practices. How do you know when you're leaving the safe harbor? Below are some warning signs of danger.
    Software from an untrustworthy source
    ☞ Software of any kind is distributed via BitTorrent, or Usenet, or on a website that also distributes pirated music or movies.
    ☞ Software with a corporate brand, such as Adobe Flash Player, doesn't come directly from the developer’s website. Do not trust an alert from any website to update Flash, or your browser, or any other software.
    ☞ Rogue websites such as Softonic, Soft32, and CNET Download distribute free applications that have been packaged in a superfluous "installer."
    ☞ The software is advertised by means of spam or intrusive web ads. Any ad, on any site, that includes a direct link to a download should be ignored.
    Software that is plainly illegal or does something illegal
    ☞ High-priced commercial software such as Photoshop is "cracked" or "free."
    ☞ An application helps you to infringe copyright, for instance by circumventing the copy protection on commercial software, or saving streamed media for reuse without permission. All "YouTube downloaders" are in this category, though not all are necessarily malicious.
    Conditional or unsolicited offers from strangers
    ☞ A telephone caller or a web page tells you that you have a “virus” and offers to help you remove it. (Some reputable websites did legitimately warn visitors who were infected with the "DNSChanger" malware. That exception to this rule no longer applies.)
    ☞ A web site offers free content such as video or music, but to use it you must install a “codec,” “plug-in,” "player," "downloader," "extractor," or “certificate” that comes from that same site, or an unknown one.
    ☞ You win a prize in a contest you never entered.
    ☞ Someone on a message board such as this one is eager to help you, but only if you download an application of his choosing.
    ☞ A "FREE WI-FI !!!" network advertises itself in a public place such as an airport, but is not provided by the management.
    ☞ Anything online that you would expect to pay for is "free."
    Unexpected events
    ☞ A file is downloaded automatically when you visit a web page, with no other action on your part. Delete any such file without opening it.
    ☞ You open what you think is a document and get an alert that it's "an application downloaded from the Internet." Click Cancel and delete the file. Even if you don't get the alert, you should still delete any file that isn't what you expected it to be.
    ☞ An application does something you don't expect, such as asking for permission to access your contacts, your location, or the Internet for no obvious reason.
    ☞ Software is attached to email that you didn't request, even if it comes (or seems to come) from someone you trust.
    I don't say that leaving the safe harbor just once will necessarily result in disaster, but making a habit of it will weaken your defenses against malware attack. Any of the above scenarios should, at the very least, make you uncomfortable.
    6. Java on the Web (not to be confused with JavaScript, to which it's not related, despite the similarity of the names) is a weak point in the security of any system. Java is, among other things, a platform for running complex applications in a web page, on the client. That was always a bad idea, and Java's developers have proven themselves incapable of implementing it without also creating a portal for malware to enter. Past Java exploits are the closest thing there has ever been to a Windows-style virus affecting OS X. Merely loading a page with malicious Java content could be harmful.
    Fortunately, client-side Java on the Web is obsolete and mostly extinct. Only a few outmoded sites still use it. Try to hasten the process of extinction by avoiding those sites, if you have a choice. Forget about playing games or other non-essential uses of Java.
    Java is not included in OS X 10.7 and later. Discrete Java installers are distributed by Apple and by Oracle (the developer of Java.) Don't use either one unless you need it. Most people don't. If Java is installed, disable it—not JavaScript—in your browsers.
    Regardless of version, experience has shown that Java on the Web can't be trusted. If you must use a Java applet for a task on a specific site, enable Java only for that site in Safari. Never enable Java for a public website that carries third-party advertising. Use it only on well-known, login-protected, secure websites without ads. In Safari 6 or later, you'll see a lock icon in the left side of the address bar when visiting a secure site.
    Stay within the safe harbor, and you’ll be as safe from malware as you can practically be. The rest of this comment concerns what you should not do to protect yourself.
    7. Never install any commercial "anti-virus" (AV) or "Internet security" products for the Mac, as they are all worse than useless. If you need to be able to detect Windows malware in your files, use one of the free security apps in the Mac App Store—nothing else.
    Why shouldn't you use commercial AV products?
    ☞ To recognize malware, the software depends on a database of known threats, which is always at least a day out of date. This technique is a proven failure, as a major AV software vendor has admitted. Most attacks are "zero-day"—that is, previously unknown. Recognition-based AV does not defend against such attacks, and the enterprise IT industry is coming to the realization that traditional AV software is worthless.
    ☞ Its design is predicated on the nonexistent threat that malware may be injected at any time, anywhere in the file system. Malware is downloaded from the network; it doesn't materialize from nowhere. In order to meet that nonexistent threat, commercial AV software modifies or duplicates low-level functions of the operating system, which is a waste of resources and a common cause of instability, bugs, and poor performance.
    ☞ By modifying the operating system, the software may also create weaknesses that could be exploited by malware attackers.
    ☞ Most importantly, a false sense of security is dangerous.
    8. An AV product from the App Store, such as "ClamXav," has the same drawback as the commercial suites of being always out of date, but it does not inject low-level code into the operating system. That doesn't mean it's entirely harmless. It may report email messages that have "phishing" links in the body, or Windows malware in attachments, as infected files, and offer to delete or move them. Doing so will corrupt the Mail database. The messages should be deleted from within the Mail application.
    An AV app is not needed, and cannot be relied upon, for protection against OS X malware. It's useful, if at all, only for detecting Windows malware, and even for that use it's not really effective, because new Windows malware is emerging much faster than OS X malware.
    Windows malware can't harm you directly (unless, of course, you use Windows.) Just don't pass it on to anyone else. A malicious attachment in email is usually easy to recognize by the name alone. An actual example:
    London Terror Moovie.avi [124 spaces] Checked By Norton Antivirus.exe
    You don't need software to tell you that's a Windows trojan. Software may be able to tell you which trojan it is, but who cares? In practice, there's no reason to use recognition software unless an organizational policy requires it. Windows malware is so widespread that you should assume it's in every email attachment until proven otherwise. Nevertheless, ClamXav or a similar product from the App Store may serve a purpose if it satisfies an ill-informed network administrator who says you must run some kind of AV application. It's free and it won't handicap the system.
    The ClamXav developer won't try to "upsell" you to a paid version of the product. Other developers may do that. Don't be upsold. For one thing, you should not pay to protect Windows users from the consequences of their choice of computing platform. For another, a paid upgrade from a free app will probably have all the disadvantages mentioned in section 7.
    9. It seems to be a common belief that the built-in Application Firewall acts as a barrier to infection, or prevents malware from functioning. It does neither. It blocks inbound connections to certain network services you're running, such as file sharing. It's disabled by default and you should leave it that way if you're behind a router on a private home or office network. Activate it only when you're on an untrusted network, for instance a public Wi-Fi hotspot, where you don't want to provide services. Disable any services you don't use in the Sharing preference pane. All are disabled by default.
    10. As a Mac user, you don't have to live in fear that your computer may be infected every time you install software, read email, or visit a web page. But neither can you assume that you will always be safe from exploitation, no matter what you do. Navigating the Internet is like walking the streets of a big city. It's as safe or as dangerous as you choose to make it. The greatest harm done by security software is precisely its selling point: it makes people feel safe. They may then feel safe enough to take risks from which the software doesn't protect them. Nothing can lessen the need for safe computing practices.

  • Generate keystrokes in a Sandboxed app

    I would like to know how to generate keystrokes in a Sandboxed app? I am currently using CGEventCreateKeyboardEvent and CGEventPost, but Sandboxing is disabling such feature.
    Why do I need this?
    I have an app that detects human gestures using a depth camera, and I want to translate these gestures into keystrokes, so that I control other apps. For example, I simulate a "spacebar" keystroke to play/pause QuickTime.
    Just for info
    Product name: Gestoos
    OSX 10.8+
    Thanks!

    Once you say "control other apps" you are out of the sandbox and the Mac App Store.

  • Common Language Runtime detected an invalid program.

    I have an app that reads and writes to both digital and analog IO, and it keeps getting stuck.  This is my first NI app so I would believe that I am doing something wrong, but I do not know what.  What happens is that the code gets this far...
    lock (locker)
    try
    using (Task myTask = new Task())
    myTask.AOChannels.CreateVoltageChannel(pathToChannel, "aoChannel" + pathToChannel.Substring(pathToChannel.Length - 1, 1), 0.0, 10.0, AOVoltageUnits.Volts);  <-HERE
    AnalogSingleChannelWriter writer = new AnalogSingleChannelWriter(myTask.Stream);
    writer.WriteSingleSample(true, Voltage);
    catch (DaqException ex)
    MessageBox.Show(ex.Message);
    And then does not return.  Then, any subsequent attempts to communicate with the NI chassis (DOChannels.CreateChannel(pathtoNI9472 + ":7", "", ChannelLineGrouping.OneChannelForAllLines); for example) , return the following exception
    System.InvalidProgramException was unhandled
    HResult=-2146233030
    Message=Common Language Runtime detected an invalid program.
    Source=NationalInstruments.DAQmx
    StackTrace:
    at nNIMSAI100.tTaskSyncManager.getInstance()
    at NationalInstruments.DAQmx.Channel..ctor(Task task, tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* virtualChannelName, tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* physicalChannelName, Int32 usageType, tChannelType channelType, tLineGrouping lineGrouping, tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* customScaleName)
    at NationalInstruments.DAQmx.DOChannel..ctor(Task task, tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* virtualChannelName, tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* physicalChannelName, tLineGrouping lineGrouping)
    at NationalInstruments.DAQmx.DOChannelCollection.CreateChannel(String lines, String nameToAssign, ChannelLineGrouping grouping)
    at BalanceBoard.Calibrator.frmMain.EngageCylinders(Boolean Engage) in c:\Sandbox\balanceboard\src\BalanceBoard.Calibrator\frmMain.cs:line 47
    at BalanceBoard.Calibrator.frmMain.btnToggle_Click(Object sender, EventArgs e) in c:\Sandbox\balanceboard\src\BalanceBoard.Calibrator\frmMain.cs:line 361
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)
    at BalanceBoard.Calibrator.Program.Main() in c:\Sandbox\balanceboard\src\BalanceBoard.Calibrator\Program.cs:line 18
    at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
    at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
    at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    InnerException:
    What's going on?
    Thanks,
    -Seth

    Seth, this person solved this issue by unchecking "code optimization" in Visual Studio.
    Please read through this post and make sure all of your software is up to date, including DAQmx and Measurement Studio.
    http://stackoverflow.com/questions/23563299/invalidprogramexception-common-language-runtime-detected...
    -CB
    Casey B.
    Applications Engineer
    National Instruments

  • Crash detection application?

    Hi,
    My iMac (2.16GHZ 2G RAM, OS 10.6.5) has been crashing intermittently for awhile.
    Apps crash, kernel panics and every once in a while the finder will simply quit and I end up in the log in screen.
    I have reinstalled the system and it usually fixes the problem for a little while but eventually it comes back to the same behavior.
    I've run: Cocktail, Drive Genius, Disk Utility, and Techtool and everything appears to be good. I have Zapped PRAM as well.
    Is there an application that runs in the background that monitors the OS/hardware and when it crashes and reports in laymen's terms what causes the crash? I have looked at the console, but you need to be a developer to understand exactly what it is reporting.
    You'd think with all of the great developers around, that someone would create an application that detects the crash, categorizes the event (OS, Software, Hardware) and reports exactly what caused it.
    Any help appreciated.
    Thanks!

    Here is a report of a kernel panic that happened recently.
    Any help pinpointing the problem would be a big help.
    Interval Since Last Panic Report: 58452 sec
    Panics Since Last Report: 2
    Anonymous UUID: 5C6A4519-0D90-4165-B26B-6FCD3876943F
    Mon Nov 29 00:56:45 2010
    panic(cpu 1 caller 0x2aab55): Kernel trap at 0x00295961, type 14=page fault, registers:
    CR0: 0x80010033, CR2: 0x30010000, CR3: 0x00100000, CR4: 0x00000660
    EAX: 0x00000000, EBX: 0xbc5ec000, ECX: 0x00000400, EDX: 0x00001000
    CR2: 0x30010000, EBP: 0x00d43d98, ESI: 0x0000003e, EDI: 0x30010000
    EFL: 0x00210206, EIP: 0x00295961, CS: 0x00000008, DS: 0x08430010
    Error code: 0x0000000b
    Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
    0xd43b88 : 0x21b50c (0x5d42fc 0xd43bbc 0x223974 0x0)
    0xd43bd8 : 0x2aab55 (0x59616c 0x295961 0xe 0x596336)
    0xd43cb8 : 0x2a09a8 (0xd43cd0 0x0 0xd43d98 0x295961)
    0xd43cc8 : 0x295961 (0xe 0xd40048 0xd40010 0x260010)
    0xd43d98 : 0x2a8e2d (0xbc5ec000 0x3e 0x1000 0x27cc56)
    0xd43db8 : 0x25448a (0x3ebc5ec 0x1 0x802128 0x52443f4)
    0xd43de8 : 0x258414 (0x84307b4 0x7000 0x0 0x3)
    0xd43f38 : 0x2aa42f (0x5d6bcd0 0x214ac000 0x0 0x3)
    0xd43fc8 : 0x2a080a (0x4ec4ca0 0x0 0x2a06db 0x7bd8000)
    BSD process name corresponding to current thread: firefox-bin
    Mac OS version:
    10H574
    Kernel version:
    Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386
    System model name: iMac5,1 (Mac-F4228EC8)
    System uptime in nanoseconds: 17781173908434
    unloaded kexts:
    com.apple.driver.LSIFW500 2.5.8 (addr 0xc56000, size 0x12288) - last unloaded 15752020848885
    loaded kexts:
    com.sophos.kext.sav 7.2.0
    com.parallels.kext.Pvsvnic 3.0
    com.parallels.kext.vmmain 3.0
    com.parallels.kext.hypervisor 3.0
    com.parallels.kext.Pvsnet 3.0
    com.AmbrosiaSW.AudioSupport 3.2
    com.razer.driver.RazerDeathAdderDriver 2.0.2
    com.parallels.kext.ConnectUSB 3.0.0
    com.apple.driver.Oxford_Semi 2.5.8
    com.apple.filesystems.autofs 2.1.0
    com.apple.driver.AppleHWSensor 1.9.3d0
    com.apple.driver.AppleHDA 1.9.9f12
    com.apple.driver.AppleUpstreamUserClient 3.4.5
    com.apple.driver.AppleMCCSControl 1.0.17
    com.apple.kext.ATIFramebuffer 6.2.4
    com.apple.driver.AudioAUUC 1.13
    com.apple.ATIRadeonX1000 6.2.4
    com.apple.DontSteal_Mac_OSX 7.0.0
    com.apple.driver.AudioIPCDriver 1.1.6
    com.apple.driver.AppleIntelMeromProfile 19
    com.apple.driver.ACPISMCPlatformPlugin 4.5.0d5
    com.apple.driver.AppleLPC 1.4.12
    com.apple.driver.AppleBacklight 170.0.34
    com.apple.driver.AppleIRController 303.8
    com.apple.iokit.SCSITaskUserClient 2.6.5
    com.apple.BootCache 31
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.driver.AirPortBrcm43224 426.36.1
    com.apple.driver.AppleUSBHub 4.1.7
    com.apple.iokit.IOAHCIBlockStorage 1.6.3
    com.apple.iokit.AppleYukon2 3.2.1b1
    com.apple.driver.AppleEFINVRAM 1.4.0
    com.apple.driver.AppleRTC 1.3.1
    com.apple.driver.AppleAHCIPort 2.1.5
    com.apple.driver.AppleIntelPIIXATA 2.5.1
    com.apple.driver.AppleHPET 1.5
    com.apple.driver.AppleUSBEHCI 4.1.7
    com.apple.driver.AppleUSBUHCI 4.1.5
    com.apple.driver.AppleFWOHCI 4.7.1
    com.apple.driver.AppleACPIButtons 1.3.5
    com.apple.driver.AppleSMBIOS 1.6
    com.apple.driver.AppleACPIEC 1.3.5
    com.apple.driver.AppleAPIC 1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient 105.13.0
    com.apple.security.sandbox 1
    com.apple.security.quarantine 0
    com.apple.nke.applicationfirewall 2.1.11
    com.apple.driver.AppleIntelCPUPowerManagement 105.13.0
    com.apple.iokit.IOSCSIBlockCommandsDevice 2.6.5 - last loaded 15637887071891
    com.apple.iokit.IOFireWireSerialBusProtocolTransport 2.0.1
    com.apple.iokit.IOFireWireSBP2 4.0.6
    com.apple.driver.DspFuncLib 1.9.9f12
    com.apple.driver.AppleProfileReadCounterAction 17
    com.apple.driver.AppleProfileTimestampAction 10
    com.apple.driver.AppleProfileThreadInfoAction 14
    com.apple.driver.AppleProfileRegisterStateAction 10
    com.apple.driver.AppleProfileKEventAction 10
    com.apple.driver.AppleProfileCallstackAction 20
    com.apple.kext.ATI1600Controller 6.2.4
    com.apple.kext.ATISupport 6.2.4
    com.apple.iokit.IOFireWireIP 2.0.3
    com.apple.driver.AppleHDAController 1.9.9f12
    com.apple.iokit.IOHDAFamily 1.9.9f12
    com.apple.iokit.IOSurface 74.2
    com.apple.iokit.IOBluetoothSerialManager 2.3.8f7
    com.apple.iokit.IOSerialFamily 10.0.3
    com.apple.iokit.IOAudioFamily 1.7.9fc4
    com.apple.kext.OSvKernDSPLib 1.3
    com.apple.iokit.AppleProfileFamily 41
    com.apple.driver.AppleSMC 3.1.0d3
    com.apple.driver.IOPlatformPluginFamily 4.5.0d5
    com.apple.iokit.IONDRVSupport 2.2
    com.apple.iokit.IOGraphicsFamily 2.2
    com.apple.driver.CSRUSBBluetoothHCIController 2.3.8f7
    com.apple.driver.AppleUSBBluetoothHCIController 2.3.8f7
    com.apple.iokit.IOBluetoothFamily 2.3.8f7
    com.apple.iokit.IOUSBHIDDriver 4.1.5
    com.apple.driver.AppleUSBMergeNub 4.1.5
    com.apple.driver.AppleUSBComposite 3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.5
    com.apple.iokit.IOBDStorageFamily 1.6
    com.apple.iokit.IODVDStorageFamily 1.6
    com.apple.iokit.IOCDStorageFamily 1.6
    com.apple.iokit.IOATAPIProtocolTransport 2.5.1
    com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.5
    com.apple.iokit.IO80211Family 312
    com.apple.driver.XsanFilter 402.1
    com.apple.iokit.IOUSBUserClient 4.1.5
    com.apple.iokit.IONetworkingFamily 1.9
    com.apple.iokit.IOAHCIFamily 2.0.4
    com.apple.iokit.IOATAFamily 2.5.1
    com.apple.iokit.IOUSBFamily 4.1.7
    com.apple.driver.AppleEFIRuntime 1.4.0
    com.apple.iokit.IOFireWireFamily 4.2.6
    com.apple.iokit.IOHIDFamily 1.6.5
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet 6
    com.apple.driver.DiskImages 289
    com.apple.iokit.IOStorageFamily 1.6.2
    com.apple.driver.AppleACPIPlatform 1.3.5
    com.apple.iokit.IOPCIFamily 2.6
    com.apple.iokit.IOACPIFamily 1.3.0
    Model: iMac5,1, BootROM IM51.0090.B09, 2 processors, Intel Core 2 Duo, 2.16 GHz, 2 GB, SMC 1.9f4
    Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB
    Memory Module: global_name
    AirPort: spairportwireless_card_type_airportextreme (0x14E4, 0x87), Broadcom BCM43xx 1.0 (5.10.131.36.1)
    Bluetooth: Version 2.3.8f7, 2 service, 12 devices, 1 incoming serial ports
    Network Service: Built-in Ethernet, Ethernet, en0
    Serial ATA Device: ST3250824AS Q, 232.89 GB
    Parallel ATA Device: MATSHITADVD-R UJ-85J
    USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8501, 0xfd400000
    USB Device: Hub, 0x0409 (NEC Corporation), 0x005a, 0xfd300000
    USB Device: Hub, 0x0409 (NEC Corporation), 0x005a, 0xfd340000
    USB Device: iPod, 0x05ac (Apple Inc.), 0x129e, 0xfd341000
    USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8206, 0x7d100000
    USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8240, 0x7d200000
    USB Device: Hub in Apple Pro Keyboard, 0x05ac (Apple Inc.), 0x1003, 0x1d100000
    USB Device: Razer DeathAdder, 0x1532, 0x0016, 0x1d110000
    USB Device: Apple Pro Keyboard, 0x05ac (Apple Inc.), 0x020b, 0x1d130000
    FireWire Device: OEM ATA Device 00, G-TECH, Up to 200 Mb/sec
    Thanks!

  • Failure to detect my Caldigit on Mac OSX.

    Hi,
    I am facing a trouble in detecting my call digit through MAC OS 10.6.6 with snow leopard. The machine suddenly stopped detecting my calldigit from this afternoon.
    When i put on the calldigit and put the machine on as i do normally, the machine gets hanged. But when i start the machine without calldigit it works perfectly fine.
    We did try replacing calldigit card and cable with other calldigit we have in house, but it didint help. But when we tried the same calldigit on other MAC machine it works perfectly fine.
    When i restart the MAC without calldigit on i get this error message:
    Interval Since Last Panic Report: 2475 sec
    Panics Since Last Report: 4
    Anonymous UUID: D916127E-F8A7-4999-8F02-A57440658AA3
    Thu Apr 14 19:28:15 2011
    panic(cpu 5 caller 0x557fed): "complete() while dma active"@/SourceCache/xnu/xnu-1504.9.26/iokit/Kernel/IOMemoryDescriptor.cpp:2273
    Backtrace (CPU 5), Frame : Return Address (4 potential args on stack)
    0x71923ba8 : 0x21b50c (0x5d4438 0x71923bdc 0x223974 0x0)
    0x71923bf8 : 0x557fed (0x5dd944 0x246 0x71923c28 0xcc3f25)
    0x71923c38 : 0xcc054d (0xab70480 0x0 0x71923c5c 0x50)
    0x71923c78 : 0xcc0a13 (0x71923d34 0x1 0x0 0x200)
    0x71923d28 : 0xcc0a89 (0x0 0xe00000b 0x71923ec4 0xab70480)
    0x71923d48 : 0x30b5f2 (0xe00000b 0x71923ec4 0x0 0x71923d6d)
    0x71923dd8 : 0x2fe14d (0x71923dfc 0x3 0x71923e28 0x5821a5)
    0x71923e28 : 0x2f319c (0xaabc094 0x71923ec4 0x0 0x71923f54)
    0x71923e78 : 0x49882e (0x9e4c230 0x71923ec4 0x0 0x71923f54)
    0x71923f18 : 0x498faa (0x71923f54 0x9e4c230 0x10ad50 0x1)
    0x71923f78 : 0x4f13be (0xa3667e0 0x9c871c8 0x9c5f234 0x7fff)
    0x71923fc8 : 0x2a143d (0x9c871c4 0x0 0x2a06db 0x9c871c4)
    Kernel Extensions in backtrace (with dependencies):
    com.apple.iokit.IOStorageFamily(1.6.2)@0xcb2000->0xcc9fff
    BSD process name corresponding to current thread: hfs.util
    Mac OS version:
    10J567
    Kernel version:
    Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
    System model name: MacPro3,1 (Mac-F42C88C8)
    System uptime in nanoseconds: 19605243074
    unloaded kexts:
    (none)
    loaded kexts:
    com.CalDigit.driver.HDPro 1.9.3
    com.blackmagic-design.iokit.DeckLinkFirmware 6.6
    com.blackmagic-design.iokit.DeckLinkDriver 6.6
    com.blackmagic-design.driver.DeckLinkHDDriver 1.0.0
    com.blackmagic-design.driver.BlackmagicFrameLink 6.6
    com.apple.driver.AppleTyMCEDriver 1.0.2d2
    com.apple.driver.InternalModemSupport 2.6.2
    com.apple.driver.AppleHWSensor 1.9.3d0
    com.apple.driver.AppleHDA 1.9.9f12
    com.apple.driver.AppleUpstreamUserClient 3.4.5
    com.apple.driver.AppleMCCSControl 1.0.17
    com.apple.driver.AudioAUUC 1.13
    com.apple.kext.ATIFramebuffer 6.2.6
    com.apple.driver.AppleUSBDisplays 283
    com.apple.DontSteal_Mac_OSX 7.0.0
    com.apple.driver.AudioIPCDriver 1.1.6
    com.apple.driver.AppleIntelYonahProfile 14
    com.apple.driver.AppleIntelPenrynProfile 17
    com.apple.driver.AppleIntelNehalemProfile 11
    com.apple.driver.AppleMCEDriver 1.1.9
    com.apple.driver.AppleIntelMeromProfile 19
    com.apple.driver.ACPISMCPlatformPlugin 4.5.0d5
    com.apple.ATIRadeonX2000 6.2.6
    com.apple.driver.AppleLPC 1.4.12
    com.apple.driver.CSRHIDTransitionDriver 2.3.8f7
    com.apple.driver.initioFWBridge 2.5.8
    com.apple.driver.StorageLynx 2.5.8
    com.apple.driver.Oxford_Semi 2.5.8
    com.apple.driver.LSIFW500 2.5.8
    com.apple.driver.IOFireWireSerialBusProtocolSansPhysicalUnit 2.5.8
    com.apple.iokit.SCSITaskUserClient 2.6.5
    com.apple.BootCache 31
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.iokit.IOAHCIBlockStorage 1.6.3
    com.apple.driver.AppleIntel8254XEthernet 2.1.1b7
    com.apple.driver.AppleFWOHCI 4.7.1
    com.apple.driver.AppleUSBHub 4.1.7
    com.apple.driver.AppleAHCIPort 2.1.5
    com.apple.driver.AppleIntelPIIXATA 2.5.1
    com.apple.driver.AppleEFINVRAM 1.4.0
    com.apple.driver.AppleUSBEHCI 4.1.7
    com.apple.driver.AppleUSBUHCI 4.1.5
    com.apple.driver.AppleACPIButtons 1.3.5
    com.apple.driver.AppleRTC 1.3.1
    com.apple.driver.AppleHPET 1.5
    com.apple.driver.AppleSMBIOS 1.6
    com.apple.driver.AppleACPIEC 1.3.5
    com.apple.driver.AppleAPIC 1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient 105.13.0
    com.apple.security.sandbox 1
    com.apple.security.quarantine 0
    com.apple.nke.applicationfirewall 2.1.11
    com.apple.driver.AppleIntelCPUPowerManagement 105.13.0
    com.apple.driver.AppleHDAPlatformDriver 1.9.9f12 - last loaded 17763284636
    com.apple.iokit.IOSCSIParallelFamily 2.0.1
    com.apple.driver.AppleHDAHardwareConfigDriver 1.9.9f12
    com.apple.driver.AppleProfileReadCounterAction 17
    com.apple.driver.DspFuncLib 1.9.9f12
    com.apple.driver.AppleProfileTimestampAction 10
    com.apple.driver.AppleProfileThreadInfoAction 14
    com.apple.driver.AppleProfileRegisterStateAction 10
    com.apple.driver.AppleProfileKEventAction 10
    com.apple.driver.AppleProfileCallstackAction 20
    com.apple.iokit.IOFireWireIP 2.0.3
    com.apple.iokit.IOSurface 74.2
    com.apple.iokit.IOBluetoothSerialManager 2.3.8f7
    com.apple.iokit.IOSerialFamily 10.0.3
    com.apple.iokit.IOAudioFamily 1.8.0fc1
    com.apple.kext.OSvKernDSPLib 1.3
    com.apple.driver.AppleHDAController 1.9.9f12
    com.apple.iokit.IOHDAFamily 1.9.9f12
    com.apple.iokit.AppleProfileFamily 41
    com.apple.driver.AppleSMC 3.1.0d3
    com.apple.driver.IOPlatformPluginFamily 4.5.0d5
    com.apple.iokit.IONDRVSupport 2.2
    com.apple.kext.ATI2600Controller 6.2.6
    com.apple.kext.ATISupport 6.2.6
    com.apple.iokit.IOGraphicsFamily 2.2
    com.apple.driver.CSRUSBBluetoothHCIController 2.3.8f7
    com.apple.driver.AppleUSBBluetoothHCIController 2.3.8f7
    com.apple.iokit.IOBluetoothFamily 2.3.8f7
    com.apple.driver.AppleUSBHIDMouse 162
    com.apple.driver.AppleHIDMouse 162
    com.apple.driver.AppleUSBHIDKeyboard 141
    com.apple.driver.AppleHIDKeyboard 141
    com.apple.iokit.IOUSBHIDDriver 4.1.5
    com.apple.iokit.IOSCSIBlockCommandsDevice 2.6.5
    com.apple.driver.AppleUSBMergeNub 4.1.5
    com.apple.driver.AppleUSBComposite 3.9.0
    com.apple.iokit.IOFireWireSerialBusProtocolTransport 2.0.1
    com.apple.iokit.IOFireWireSBP2 4.0.6
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.5
    com.apple.iokit.IOBDStorageFamily 1.6
    com.apple.iokit.IODVDStorageFamily 1.6
    com.apple.iokit.IOCDStorageFamily 1.6
    com.apple.driver.XsanFilter 402.1
    com.apple.iokit.IOATAPIProtocolTransport 2.5.1
    com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.5
    com.apple.driver.AppleFileSystemDriver 2.0
    com.apple.iokit.IONetworkingFamily 1.10
    com.apple.iokit.IOFireWireFamily 4.2.6
    com.apple.iokit.IOUSBUserClient 4.1.5
    com.apple.iokit.IOAHCIFamily 2.0.4
    com.apple.iokit.IOATAFamily 2.5.1
    com.apple.iokit.IOUSBFamily 4.1.7
    com.apple.driver.AppleEFIRuntime 1.4.0
    com.apple.iokit.IOHIDFamily 1.6.5
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet 6
    com.apple.driver.DiskImages 289
    com.apple.iokit.IOStorageFamily 1.6.2
    com.apple.driver.AppleACPIPlatform 1.3.5
    com.apple.iokit.IOPCIFamily 2.6
    com.apple.iokit.IOACPIFamily 1.3.0
    Model: MacPro3,1, BootROM MP31.006C.B02, 8 processors, Quad-Core Intel Xeon, 2.8 GHz, 5 GB, SMC 1.25f4
    Graphics: ATI Radeon HD 2600 XT, ATI Radeon HD 2600, PCIe, 256 MB
    Memory Module: global_name
    Bluetooth: Version 2.3.8f7, 2 service, 12 devices, 1 incoming serial ports
    Network Service: Ethernet 2, Ethernet, en1
    PCI Card: pci-bridge, sppci_pci2pcibridge, Slot-4
    PCI Card: pci-bridge, sppci_pci2pcibridge, Slot-4
    PCI Card: pcibdbd,a10c, sppci_video, Slot-4@6,1,0
    PCI Card: ATI Radeon HD 2600, Display, Slot-1
    Serial ATA Device: ST3320820AS_P, 298.09 GB
    Serial ATA Device: ST3500320AS, 465.76 GB
    Parallel ATA Device: OPTIARC DVD RW AD-7170A
    USB Device: Hub, 0x05ac (Apple Inc.), 0x911b, 0xfd500000
    USB Device: Apple Cinema Display, 0x05ac (Apple Inc.), 0x921b, 0xfd520000
    USB Device: Keyboard Hub, 0x05ac (Apple Inc.), 0x1006, 0xfd300000
    USB Device: Apple Optical USB Mouse, 0x05ac (Apple Inc.), 0x0304, 0xfd330000
    USB Device: Apple Keyboard, 0x05ac (Apple Inc.), 0x0220, 0xfd320000
    USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8206, 0x5d200000
    FireWire Device: built-in_hub, Up to 800 Mb/sec
    FireWire Device: unknown_device, Iomega HDD, Up to 800 Mb/sec
    FireWire Device: unknown_device, Unknown
    So please i will be grateful if you could help me with some solutions.

    Hi if you call Caldigit, support can help you step by step and figure out the problem!

  • Windows no longer detecting my Audigy 4?(Non-P

    Hey all. I've had my Audigy 4 (non-Pro) installed and working super for about 50 days, but it started giving me a weird problem. Windows was no longer detecting the card! It was weird. DX Diag, programs like EVEREST... they all report no sound card whatsoever.
    Here are my PC specs:
    XP Home Edition
    Albatron K8X800 Pro
    S754 3200+ ClawHammer
    x 2 OCZ ELPE 52 MB(2-3-2-5)
    Visiontek XTASY X850XT PE
    x 80 GB SATA 2 Seagate, x 80 GB Maxtor
    Some other things to note:
    XP has been repaired. Went from Service Pack , updates, and all the way to Service Pack 2. The card requires XP w/SP2, yes, so I have that covered.
    Onboard audio is disabled through the bios. I have AC'97 integrated audio on this.
    My motherboard has fi've PCI slots - although I can only access 4 because my video card is in the way, and I have tried three of those and I get the same problem.
    I have tried it in other PCs in my house, double-checked each time - so it is not ESD as I originally believed. It works just fine on those PCs. It is being not located only on MY PC.
    So guys and gals, I do not know what to do... I am stumped. It's the weekend so I can't call Creative support until Monday. I don't want to request an RMA through my warranty because clearly it's just a problem with my PC. What should I do?!Message Edited by Celsius on -26-2005 07:36 PM

    Device not recognized in iTunes

  • IPod Touch/Phone 4gens No Longer Detected in WINDOWS MY COMPUTER but OK in iTunes

    Since I have not found help online regarding the above situation I'm looking for help accordingly.   For most folks it's iTunes not detecting i-Devices, but my situation is unique.
    It started last night after I was on the phone for hours with Norton regarding error messages I was getting with Internet Security.  Those issues have been resolved.
    Again: iTunes detects and interacts successfully with ALL my iDevices.  Windows Vista > My Computer no longer does.
    Please help.

    Just now I performed the following:
    Turned off and turned back on AMDS(Apple Mobile Device) Service.
    Disabled Norton Internet Security, and tried checking if Windows would see my devices.
    For anyone who has Windows Vista you are familiar with the notes that play when you plug in a USB device: "da-dunk!"  Low-High note dadunk indicates connected.   High-low indicates it was disconnected.
    I can tell there is a problem because right after the Low-High dadunk in Vista I get a triple Low-note Du-du-dunk.
    Please help!

  • Not detecting tv display when connected with Apple Mini-DVI to Video Adapte

    I am connecting my macbook to my older tv using a Apple Mini-DVI to Video Adapter to an RCA (yellow video prong) and then into the tv. The red and white audio prongs hang loose, not hooked into anything on both ends. When I go into Displays there is no option for mirroring displays. I hit 'detect displays' but nothing happens. The Apple Mini-DVI to Video Adapter is brand new, just ordered it from apple. And I use the RCA cord all the time with other machines into my tv and it works fine.
    Any help is really appreciated. Thanks!

    Which generation MacBook do you have because at some point Apple dropped support for that adapter. Here is a link to a list of Apple adapters and compatible computer models:
    http://support.apple.com/kb/HT3235

  • No TV detected using mini-DVI to S-VHS/Scart

    In my old laptop, I have used the S-VHS output from the graphics card, and in order to see the monitor on my TV, I had to set the TV as default monitor. Now I recently purchased an iMac with a mini-DVI to video. I put my s-vhs cable into this adapter and at the other end I put the s-vhs cable into a scart adapter and then into the tv. When I push "Detect displays"-button, I see a short flicker (grey lines) on my TV and then it becomes black again. I have tried all possible resolutions, but I have a feeling that the TV is not properly detected. I have also tried all possible codecs like NTSC, PAL and SECAM on my TV ++, but it doesn't work?! I'm a total newbie, so hopefully there is a simple solution:) - maybe some settings on the iMac?

    Okay you should connect your dvi to S-video and then the other end of the S-video small round 7 pin connector to the S-video port on your TV.
    Then set your tv channel to input or video in sometimes listed as L1 or aux in.
    Once this is set to same as what you would connect a DVD or VHS via rca round pin red/yellow/black or white cables to the channel / input then press detect.
    The screen should go black and then after say 5+ secs. you should see a colorfull / background or something on the tv and on your Apple and it will also show the resolution settings for each screen on that screen itself.
    Then you can choose either to mirror the screens = same size display and desktop on both or each one to be independent.
    Maybe set your tv then to 800x600 to be safe and select what ever tv standard is available in your country. (ntsc/PAL)
    PS: the S-video looks like the old PS2 mouse connectors from windows PC's from before usb was discovered.

Maybe you are looking for

  • Songs are on my iPod, but don't show up under the "Artist" heading

    My problem is that all my music DOES import onto my iPod and work, but some songs do not appear in the "Artist" catagory. I can find the songs by looking through the "Album" catagory, but it doesn't work in Artist. Also, they cannot be found via the

  • Creation of subtype for IT 0016

    Hi When I am selecting IT 0016-Contract Elements in PA30, I am not getting any values in the sybtype field. How can I create subtype for contract ? I have already created contract types. Thanks Rajesh

  • Error in converting Planned Order to Production Order (Urgent)

    Hi All, I am facing an error when i am trying to convert a planned order to production order. +Error message: "Assignment order/WBS" is not allowed (WBS L.XXXXXX-XXXX) Diagnosis: The current status of object 'WBS L.XXXXXX-XXXX' prohibits business tra

  • Help!!! Sound isn't working!

    When I plug my earbuds into my Ipod touch there is no sound but when I remove the headphones there is sound. I know this must be a problem with my ipod because I have tried other earbuds and it still won't work. How can I fix this without having to b

  • How to Commit in InfoBus Data Items

    Hi, I created an Applet using JDev2.0. I called the DB schema using Connection Manager, InfoBus Data Items, SessionInfo and rowSetInfo. I customised the UI form using Infoswing. As per my logic, after user modified the data and press the SUBMIT butto