Shop OBEX P1 Docs P2 Docs Learn Events
Xp Mode under Win7 Pro — Parallax Forums

Xp Mode under Win7 Pro

tdlivingstdlivings Posts: 437
edited 2012-06-25 16:01 in Propeller 1
I had a bit of a time getting the Propeller GCC Beta installed in a virtual Xp Pc .
Wndows 7 has Xp mode which is a virtual Xp Pro and has worked fine up until the other night.
I did an add remove programs to uninstall the Simple IDE 06-12 and while it appeared to work I noticed
the folders it was installed in were not gone after the install.
I went ahead and ran the setup for the beta and it did not get far before complaining it could not delete
files in the propgcc folder.

I tried to delete the folders manually but every time it said it could not because they were being used. Even though
nothing was running on the virtual pc except the desktop.
I found the SimpleIDE was still on the machine and did run even though it was no longer shown in the programs. Ran it
by double clicking the exe file.

The answer is that I ran task manager and found two orphend processes SimpleIDE and Propeller-load which were alive.
They were the processes that had the lock on the folders preventing files or the folder to be deleted by me manually or
by the setup for the beta.
Killing those two orphen processes using task manager solved the problem. the beta installer worked fine after that.

Hope this helps anyone else that has similar issues.
Tom

Comments

  • Daniel HarrisDaniel Harris Posts: 207
    edited 2012-06-25 10:35
    Hi Tom,

    Thank you for the report. I will keep an eye out for the orphaned processes on my test machines. If we find it happening with repeatability, we can squash that bug.
  • tdlivingstdlivings Posts: 437
    edited 2012-06-25 15:42
    Daniel
    I can repeat the problem with the latest beta.
    If you build Hello.c and try and load and run it without a valid serial port then close SimpleIDE you
    then find orphend propeller-load and SimpleIDE processes.
    I tried re-doing hello.c right away with a valid serial port thinking it would find the orphend processes
    and clear them out after a normal load and run but they were still there. I did not look but that indicates
    a second copy of the processes was loaded and cleared by the successfull operation.

    Also when you bail out of a load attempt without a valid serial port to talk to the orphend SimpleIDE process
    is taking 99% of the CPU.

    In a virtual XP machine under XP Mode it is a seperate mouse click to attatch to the PropBOE serial port, actually any
    usb device not just the BOE. So it is easy to forget to do that.
    I do not know if the same thing happens on a non virtual machine if the board is turned off or the serial port is not valid.

    Tom
  • jazzedjazzed Posts: 11,803
    edited 2012-06-25 16:01
    Thanks for getting a "repeat by" ! Will follow up.
    tdlivings wrote: »
    Daniel
    I can repeat the problem with the latest beta.
    If you build Hello.c and try and load and run it without a valid serial port then close SimpleIDE you
    then find orphend propeller-load and SimpleIDE processes.
    I tried re-doing hello.c right away with a valid serial port thinking it would find the orphend processes
    and clear them out after a normal load and run but they were still there. I did not look but that indicates
    a second copy of the processes was loaded and cleared by the successfull operation.

    Also when you bail out of a load attempt without a valid serial port to talk to the orphend SimpleIDE process
    is taking 99% of the CPU.

    In a virtual XP machine under XP Mode it is a seperate mouse click to attatch to the PropBOE serial port, actually any
    usb device not just the BOE. So it is easy to forget to do that.
    I do not know if the same thing happens on a non virtual machine if the board is turned off or the serial port is not valid.

    Tom
Sign In or Register to comment.