problem about virtual-machine-Collection of common programming errors


  • Mikhail Kupchik
    virtual-machine
    We’ve had a nasty one come up at work.We have to resurrect and modify a piece of code that was last built sometime in the late 1990s. The toolset ran on Windows 3.1 and 3.11. It does not run under Windows XP: NTVDM reports an unhandled exception. We’ve tried everything we can think of for compatibility. (If anyone has a serious checklist for this kind of thing, I’ll take it.)Is there a way, using a third-party virtual machine system, or SOMETHING, to run a real, live, honest-to-Ghu Windows 3

  • Andro Selva
    android caching memory-leaks bitmap virtual-machine
    The problem that I’m addressing is known to be in devices with 16 mb of heap memory, and I need to solve it. I have threads getting images from a server (Big Images) and having them cached then displayed. The problem is that I run out of memory. To explain a little further I’m posting my log cat as well as some code:public class Test extends Activity implements OnClickListener { ImageView paint, wheels, shadow;Button b; int j = 2; int i = 1; String pathToWheels, pathToPaint, pathToShadow; String

  • ElderMael
    java exception virtual-machine
    I have been reading the JLS and I encountered the section 11.1.3. Asynchronous Exceptions from which I quote:Most exceptions occur synchronously as a result of an action by thethread in which they occur, and at a point in the program that isspecified to possibly result in such an exception. An asynchronousexception is, by contrast, an exception that can potentially occur atany point in the execution of a program.AndAsynchronous exceptions occur only as a result of:[…]An internal error or resou

  • EJP
    c garbage-collection virtual-machine undefined-behavior
    I am making a virtual machine for a small computer language. This virtual machine is developed in C using the GNU utility Flex. The project compilation is therefore with GNU GCC and then Flex.Within this virtual machine, I have a GC Stop & Copy. Before my changes, GC’s working memory could not enlarge – e.g go from 512 bytes to 1024 bytes if the first flip has not optimized the space used to be able to make a new allocation.This changes seemed to work. In fact, I don’t know if it worked real

  • Pradeep
    android cordova virtual-machine
    I’m trying to run a sample app given here but its not running on either 2.3.3 or on 4.0.3 Here is stack trace.. And what Syntax error in auth.js.. Please help me….07-23 18:40:38.935: E/Web Console(533): Uncaught SyntaxError: Unexpected token } at file:///android_asset/www/auth.js:42 07-23 18:40:39.886: D/chromium(533): Unknown chromium error: -6 07-23 18:40:40.135: D/AndroidRuntime(533): Shutting down VM 07-23 18:40:40.135: W/dalvikvm(533): threadid=1: thread exiting with uncaught exception (g

  • Kara
    c++ compiler virtual-machine
    So, I am making a online application that user’s can submit code and the output will be shown to the user. I have made Security a top priority and have taken the following steps to make sure that the code runs securely:Running the code on a VM, On a VPS that’s only use is to run these VM’s. These VM’s do not allow any networking or file access past the working directory. Using the following G++ flags:-O -std=c++98 -pedantic-errors -Wfatal-errors -Werror -Wall -Wextra -Wno-missing-field-initializ

  • Phani
    virtualization virtual-machine qemu kvm libvirt
    I have installed KVM on my Ubuntu system. Using vmbuilder, I setup a linux VM. When I tried to access the console using virsh console vm command, I was getting an error. I tried to follow the solution but, I cannot seem to be able to make permanent changes whatsoever to the configuration file. I tried both manually editing the xml config file as well as using the virsh edit command. But after I edit the file and close it, if I reopen the config file using virsh edit again, I get back the origina

  • Kara
    centos virtual-machine chef provisioning
    I just installed a fresh CentOS 6.3 VM and disabled SELinux. Below is the exact script that I ran to install Ruby, Chef Solo, and attempted to provision the VM:#!/bin/bash # # Install Chef-Solo if it doesn’t exist, then provision the server. # CHEF_FILE=”https://dl.dropbox.com/u/4204671/LiquidCompass/lc-chef.tar.gz”if [ “$#” -eq 0 ]; thenecho “You must provide the type of server this is. (Eg: production-api, qa-api, development)”exit 1 fiif [ ! -x “/usr/bin/chef-solo” ]; thenrpm -Uvh http://rbel

  • The Lord of Time
    installation virtual-machine windows-server-2008-r2
    Title says it all, but I’m running into an error deploying Windows Server 2008 R2 on a Linux host, inside VBox. This is a during-installation issue, which is that it gets to the “Loading Windows…” screen with the Windows logo on it, then during that process triggers an “Unknown Error” Black Screen of Failure, stating “Encountered an unknown error” with an error code of 0xc0000025.Any suggestions to how I should continue?

  • user40643
    serial-port embedded virtual-machine qemu beagleboard
    I’m running an Linux Image (kernel 3.2.8) for beagleboard-xm on QEMU’s 1.4.0 emulator Ubuntu distribution for 13.04. My image is created using Buildroot beagle_defconfig. I added some pkgs to be able to debug a little.QEMU call cmd:`$ sudo qemu-system-arm -M beaglexm -m 1024 -sd ./test.img -clock unix -serial stdio -device usb-mouse -device usb-kbd -serial pty -serial pty` [sudo] password for emperador: char device redirected to /dev/pts/3 (label serial1) char device redirected to /dev/pts/4 (la

  • n00b
    visual-studio-2010 sql-server-2008 windows-authentication virtual-machine intranet
    I am supporting a .NET 4.0 (Visual Studio 2010) web application that authenticates to a SQL Server 2008 database which resides on my work intranet. The application authenticates to the database using windows authentication. Thats all fine and dandy if Im developing on my host, but I am developing on a virtual machine that is not on the work domain. Thus when the project build and runs, it throws a SqlClient.SqlException”Login failed. The login is from an untrusted domain and cannot be used with

  • Gangnus
    java eclipse memory initialization virtual-machine
    I am getting follwoing error frequently in eclipse IDE 3.2, how do I solve itjava.lang.OutOfMemoryError: PermGen spacejava.lang.ClassLoader.defineClass1(Native Method)java.lang.ClassLoader.defineClassCond(Unknown Source)java.lang.ClassLoader.defineClass(Unknown Source)java.security.SecureClassLoader.defineClass(Unknown Source)org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1814)org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872

  • Darth Coder
    java configuration hadoop mapreduce virtual-machine
    I am new to Hadoop and am stuck while trying to set up a small 2 node cluster for my Hadoop. FYI I am using RHEL5 as my native OS with the hadoop-vm image ( available here, its running ubuntu-8 CLI). I have successfully installed the image and running it from VMware player. I am able to ssh from my native terminal to the virtual machine and have made the necessary configuration changes. I am using hadoop-0.18 and basically want to be able to run basic example programs with the base Os running al

Originally posted 2013-11-27 11:59:37.