PowerShell 3.0 stuck in infinite loop resolving members internally (is this a PS bug??)

Sorry for long post... I have this scenario:
- Issue is on PS3, PS2 works fine
- I create a new object via "$myObj = New-Object PSObject"
- I append a number of PSMembers to it via something similar to:
"if (-not (Get-Member -InputObject $myObj -Name MyProperty))
 Add-Member -InputObject $myObj -MemberType ScriptProperty -Name MyProperty -Value { return MyFunction }
I am seeing situations where what I believe is the call to "Get-Member" causes a huge number of invocations that appear to be calling the equivalent of the "MyFunction" in the above sample. I have debug statements in the MyFunction
function and nested functions and can see they are called by what appears to be the PS framework itself. Even running a "Get-PSCallstack" call from one of these functions seems to also trigger the debug statements to be hit (midway through the callstack
output??!) - bit confused by that but it's like PS is invoking the member in order to reflect it or something.
I used Trace-Command and could see that the "MemberResolution" trace source is repeatedly/infinitely called with the output:
MemberResolution Information: 0 :         Matching "*"
MemberResolution Information: 0 :             Generating the total list of members
MemberResolution Information: 0 :                 Type table members: 0.
MemberResolution Information: 0 :                 Adapted members: 0.
MemberResolution Information: 0 :             21 total matches.
This appears to be in an infinite loop. Therefore I added "-ListenerOption Callstack" to the Trace-Command call and captured the following and more (notice the call to PSObject.ToStringEmptyBaseObject()):
at System.Management.Automation.PSObject.AdapterGetMembersDelegate[T](PSObject msjObj)
   at System.Management.Automation.PSMemberInfoIntegratingCollection`1.GetIntegratedMembers(MshMemberMatchOptions matchOptions)
   at System.Management.Automation.PSMemberInfoIntegratingCollection`1.Match(String name, PSMemberTypes memberTypes, MshMemberMatchOptions matchOptions)
   at System.Management.Automation.PSObject.ToStringEmptyBaseObject(ExecutionContext context, PSObject mshObj, String separator, String format, IFormatProvider formatProvider)
   at System.Management.Automation.PSObject.ToString(ExecutionContext context, Object obj, String separator, String format, IFormatProvider formatProvider, Boolean recurse, Boolean unravelEnumeratorOnRecurse)
   at System.Management.Automation.PSObject.ToString()
   at System.String.Join(String separator, Object[] values)
   at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
I then disassembled the relevant code in Reflector and could see that the ToString() method of PSObject has a check for "if obj.immediateBaseObjectIsEmpty" then to call the ToStringEmptyBaseObject() function. I could also see that the immediateBaseObjectIsEmpty
field is set in the CommonInitialization internal method if "obj is PSCustomObject" (which is the actual object type you get when you New-Object PSObject).
I then updated my code to create "$myObj = New-Object Object" (i.e. System.Object instead) and the issue goes away.
Can anyone explain what I may have done wrong here or is this looking like a bug in PowerShell?
Cheers!

Hi Matt,
I'm not sure if we are on the same page? Getting the list of (i.e. metadata of) the members shouldn't invoke the member.  I have used this technique in many places and it's never been an issue whereby you "wrap" a utility function with
a ScriptProperty or ScriptMethod to provide OO semantics on a PS object. The member isn't invoked by Get-Member, only when it's called explicitly.
Here's a small example:
function TestFunction
 Write-Host "TestFunction called"
 return "TestFunction return value"
$myObj = New-Object PSObject
Add-Member -InputObject $myObj -MemberType ScriptProperty -Name TestScriptProperty -Value `
 Write-Host "TestScriptProperty called"
 return TestFunction
Write-Host "Getting members"
Get-Member -InputObject $myObj -Name TestScriptProperty | Select *
Write-Host "Invoking property"
$myObj.TestScriptProperty
Here's the output (Get-Member output a bit mangled due to the text wrapping):
Getting members
TypeName                                   Name                                                                      
MemberType Definition                               
System.Management.Automation.PSCustomOb... TestScriptProperty                                                    
ScriptProperty System.Object TestScriptProperty {get=...
Invoking property
TestScriptProperty called
TestFunction called
TestFunction return value
Yup I see your point, but when you run your original code with this example object you can see there is no loop. There must either be a loop in the function or in the body of the script itself. This is very tough to troubleshoot without seeing the code you
are actually running.
You said you are adding several members to the custom object. Is this done in a loop?

Similar Messages

  • Iphone stuck in infinite loop, HELP!

    my iphone after resetting all settings through settings>general>reset, is stuck in an infinite loop.
    it turns on, shows the apple logo, then about a minute later the loading symbol appears, after 10mins it quickly flashs black and then starts the loop again, i have left it for over 12 hours, to see if it will fix itself, but it wont.
    i cant get it into dfu or recovery mode, it wont even turn off until it runs out of battery and then repeats its loop. when i charge it it just starts the loop again!
    please i really need help, if i cant resolve this problem, im not going to buy the ipad and the iphone 4g as i planned to do so.
    please could anyone help!

    If you can't get your iPhone into DFU or recovery mode, there is a major problem. You can make an appointment at an Apple store if there is one nearby.
    This is a user to user help forum only, so doubtful if any fellow users will lose any sleep over your threat not to purchase an iPad or the next generation iPhone when released if this problem cannot be resolved. If not, more than likely there is a hardware problem or failure. If a problem arises with your PC that you cannot resolve, are you not going to purchase another PC either?

  • SQL stored procedure Staging.GroomDwStagingData stuck in infinite loop, consuming excessive CPU

    Hello
    I'm hoping that someone here might be able to help or point me in the right direction. Apologies for the long post.
    Just to set the scene, I am a SQL Server DBA and have very limited experience with System Centre so please go easy on me.
    At the company I am currently working they are complaining about very poor performance when running reports (any).
    Quick look at the database server and CPU utilisation being a constant 90-95%, meant that you dont have to be Sherlock Holmes to realise there is a problem. The instance consuming the majority of the CPU is the instance hosting the datawarehouse and in particular
    a stored procedure in the DWStagingAndConfig database called Staging.GroomDwStagingData.
    This stored procedure executes continually for 2 hours performing 500,000,000 reads per execution before "timing out". It is then executed again for another 2 hours etc etc.
    After a bit of diagnosis it seems that the issue is either a bug or that there is something wrong with our data in that a stored procedure is stuck in an infinite loop
    System Center 2012 SP1 CU2 (5.0.7804.1300)
    Diagnosis details
    SQL connection details
    program name = SC DAL--GroomingWriteModule
    set quoted_identifier on
    set arithabort off
    set numeric_roundabort off
    set ansi_warnings on
    set ansi_padding on
    set ansi_nulls on
    set concat_null_yields_null on
    set cursor_close_on_commit off
    set implicit_transactions off
    set language us_english
    set dateformat mdy
    set datefirst 7
    set transaction isolation level read committed
    Store procedures executed
    1. dbo.p_GetDwStagingGroomingConfig (executes immediately)
    2. Staging.GroomDwStagingData (this is the procedure that executes in 2 hours before being cancelled)
    The 1st stored procedure seems to return a table with the "xml" / required parameters to execute Staging.GroomDwStagingData
    Sample xml below (cut right down)
    <Config>
    <Target>
    <ModuleName>TransformActivityDim</ModuleName>
    <WarehouseEntityName>ActivityDim</WarehouseEntityName>
    <RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName>
    <Watermark>2015-01-30T08:59:14.397</Watermark>
    </Target>
    <Target>
    <ModuleName>TransformActivityDim</ModuleName>
    <WarehouseEntityName>ActivityDim</WarehouseEntityName>
    <RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName>
    <ManagedTypeViewName>MTV_Microsoft$SystemCenter$Orchestrator$RunbookAutomationActivity</ManagedTypeViewName>
    <Watermark>2015-01-30T08:59:14.397</Watermark>
    </Target>
    </Config>
    If you look carefully you will see that the 1st <target> is missing the ManagedTypeViewName, which when "shredded" by the Staging.GroomDwStagingData returns the following result set
    Example
    DECLARE @Config xml
    DECLARE @GroomingCriteria NVARCHAR(MAX)
    SET @GroomingCriteria = '<Config><Target><ModuleName>TransformActivityDim</ModuleName><WarehouseEntityName>ActivityDim</WarehouseEntityName><RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName><Watermark>2015-01-30T08:59:14.397</Watermark></Target><Target><ModuleName>TransformActivityDim</ModuleName><WarehouseEntityName>ActivityDim</WarehouseEntityName><RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName><ManagedTypeViewName>MTV_Microsoft$SystemCenter$Orchestrator$RunbookAutomationActivity</ManagedTypeViewName><Watermark>2015-01-30T08:59:14.397</Watermark></Target></Config>'
    SET @Config = CONVERT(xml, @GroomingCriteria)
    SELECT
    ModuleName = p.value(N'child::ModuleName[1]', N'nvarchar(255)')
    ,WarehouseEntityName = p.value(N'child::WarehouseEntityName[1]', N'nvarchar(255)')
    ,RequiredWarehouseEntityName =p.value(N'child::RequiredWarehouseEntityName[1]', N'nvarchar(255)')
    ,ManagedTypeViewName = p.value(N'child::ManagedTypeViewName[1]', N'nvarchar(255)')
    ,Watermark = p.value(N'child::Watermark[1]', N'datetime')
    FROM @Config.nodes(N'/Config/*') Elem(p)
    /* RESULTS - NOTE THE NULL VALUE FOR ManagedTypeViewName
    ModuleName WarehouseEntityName RequiredWarehouseEntityName ManagedTypeViewName Watermark
    TransformActivityDim ActivityDim MTV_System$WorkItem$Activity NULL 2015-01-30 08:59:14.397
    TransformActivityDim ActivityDim MTV_System$WorkItem$Activity MTV_Microsoft$SystemCenter$Orchestrator$RunbookAutomationActivity 2015-01-30 08:59:14.397
    When the procedure enters the loop to build its dynamic SQL to delete relevant rows from the inbound schema tables it concatenates various options / variables into an executable string. However when adding a NULL value to a string the entire string becomes
    NULL which then gets executed.
    Whilst executing "EXEC(NULL)" would cause SQL to throw an error and be caught, executing the following doesnt
    DECLARE @null_string VARCHAR(100)
    SET @null_string = 'hello world ' + NULL
    EXEC(@null_string)
    SELECT @null_string
    So as it hasnt caused an error the next part of the procedure is to move to the next record and this is why its caught in an infinite loop
    DELETE @items WHERE ManagedTypeViewName = @View
    The value for the variable @View is the ManagedTypeViewName which is NULL, as ANSI_NULLS are set to ON in the connection and not overridded in the procedure then the above statement wont delete anything as it needs to handle NULL values differently (IS NULL),
    so we are now stuck in an infinite loop executing NULL for 2 hours until cancelled.
    I amended the stored procedure and added the following line before the loop statement which had the desired effect and "fixed" the performance issue for the time being
    DELETE @items WHERE ManagedTypeViewName IS NULL
    I also noticed that the following line in dbo.p_GetDwStagingGroomingConfig is commented out (no idea why as no notes in the procedure)
    --AND COALESCE(i.ManagedTypeViewName, j.RelationshipTypeViewName) IS NOT NULL
    There are obviously other ways to mitigate the dynamic SQL string being NULL, there's more than one way to skin a cat and thats not why I am asking this question, but what I am concerned about is that is there a reason that the xml / @GroomingCriteria is incomplete
    and / or that the procedures dont handle potential NULL values.
    I cant find any documentation, KBs, forum posts of anyone else having this issue which somewhat surprises me.
    Would be grateful of any help / advice that anyone can provide or if someone can look at their 2 stored procedures on a later version to see if it has already been fixed. Or is it simply that we have orphaned data, this is the bit that concerns most as I dont
    really want to be deleting / updating data when I have no idea what the knock on effect might be
    Many many thanks
    Andy

    First thing I would do is upgrade to 2012 R2 UR5. If you are running non-US dates you need the UR5 hotfix also.
    Rob Ford scsmnz.net
    Cireson www.cireson.com
    For a free SCSM 2012 Notify Analyst app click
    here

  • Apple TV 1st gen stuck in infinite loop

    Hi
    This has probably been covered a few times but the only answers I could find was from an archived discussion.
    The other day I was given an Apple TV 1st gen, it had not been used for quite some time, and decided to upgrade the software, when I noticed it still had old pictures and music on from the previous user, not wanting to keep these pictures, I decided to reset the machine to factory settings, which it did, but on the restart it was stuck at a loop giving me a code to enter into iTunes, and then resetting and giving me a different code.
    i've tried several resets of the settings, holding menu and - together, but still having no joy.
    Its never been tampered with, but its really annoying me.
    Can anyone help? this is a very old product so figure something might have been done during this time
    Cheers
    Dave

    sounddave,
    I have been in the middle of the same problem for months.
    I think the problem is with the software version that the older 40GB Apple TV's revert to after the factory restore.  Mine reverted to version 1.0, and that is when the loop started happening.  Since when did a factory restore become a factory paper weight creator!
    I read somewhere that the Apple TV looks at an Apple server and the older software doesn't play well with the updated server causing it to keep rebooting.  I'll try to find a link about this if I can find it again.  I remember reading that it happened to a bunch of people with older Apple TV software on a particular day that Apple upgraded their server.
    If you don't let your Apple TV connect to the internet, it will stop the infinite loop, but it also means you can't upgrade your software.  I haven't tried it yet, but it also might be an issue with newer versions of iTunes.
    I tested this by unplugging my router, and the Apple TV stopped looping.
    I tried to fix this before without success, but I am really determined this time.

  • UDP client stuck in infinite loop

    public static void main(String args[]) throws Exception
          BufferedReader inFromUser= new BufferedReader(new   InputStreamReader(System.in));
          DatagramSocket clientSocket= new DatagramSocket();
          InetAddress IPAddress = InetAddress.getLocalHost();
          byte[] sendData = new byte[1024];
          byte[] receiveData = new byte[1024];
          String sentence = "";
          boolean quit = true;
               while(quit == true);
               String initiateConntact = "hi there";
               sendData= initiateConntact.getBytes();
               DatagramPacket sendPacket= new DatagramPacket(sendData, sendData.length, IPAddress, 9876);
               clientSocket.send(sendPacket);
               DatagramPacket receivePacket= new DatagramPacket(receiveData, receiveData.length);
               clientSocket.receive(receivePacket);
               String modifiedSentence= new String(receivePacket.getData());
               InetAddress getIPFromServer = receivePacket.getAddress();
               System.out.println("The server is located at : " + getIPFromServer);
               sentence = inFromUser.readLine();
               System.out.println("From Server:" + modifiedSentence);
                  if(sentence.equals("bye"));
                     quit = false;
                             clientSocket.close();
          }I am just courious why this pice of code gets stuck in an infinite loop.
    (it seems anyway). It doesnt even make it into the while statement. If i replace the while with an if statement, everything works smoothly. Does anyone know what is actually happening here and why?
    Thanks for your time.

    Why didnt the java compiler report the ;? or the
    missing =?Because they're both syntactically valid.
    You might want to code a loop with no body:
    while ((ch = readChar()) != 0);
    (same as)
    while ((ch = readChar()) != 0)
    // do nothing
    And you might want to assign a boolean variable and compare it at the same time:
    while (flag = callSomeMethod())
    (as opposed to)
    while ((flag = callSomeMethod()) == true)
    Although in both cases I'd write them differently rather than making a statement which has 'side-effects' and makes for slightly less-readable code.

  • Device Driver stuck in infinite loop

    This propblem maybe only happed 2 times in the frist 6 months of my computer purchase, but the past few months it's been happening more and more untill it happens every day, or just about anytime I play a video game.
    The exact error message is "The device driver got stuck in and infinite loop, this usually indicates a problem with the device itself or the device driver programming the hardware incorrectly"
    The specs of my computer are
    Windows Vista(Home Premium)
    Gateway Fx6800-01e
    Intel(R) Core(TM) i7 CPU  920 @ 2.67GHz   2.67GHz
    3.00 GB Memory
    64-bit Operating System

    Kindly try to boot the system into Safe mode and then uninstall the display driver.
    After this you should able too boot the system into normal mode. Download the latest driver from lenovo website
    http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/7ld152ww.exe
    Best Regards,
    Tanuj
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Empty trash stuck in infinite loop....

    I just upgraded to Mtn Lion and I have a hard drive with time machine back up from a leopard machine, I wanted to delete that, and use the drive with Mtn lion, I put the backups folder into trash and tried to empty it, it is stuck in an infinite loop, the items to delete is in -ve......anybody else seen this? how to recover, if I stop the process, the files are still there...any solutions?

    Stop the process. Remove the files from Trash and put them back on the disk they came from.
    Next, open Disk Utility (Applications/Utilities/Disk Utility.app), choose the hard disk that you were trying to delete the files from. Click the 'Erase' tab and then 'Erase...'.

  • How to install firefox, when trying says previous version detected must reboot. Stuck in infinite loop

    Trying to install newly downloaded firefox (had previously removed about a month ago through programs uninstall), however when I try to run the install, it says a previous version is detected, and the system must reboot. System reboots, but install never happens, I go to run the download again, and it appears I'm stuck in an infinite loop. I can't get latest version firefox to install

    I succeeded in installing Firefox after getting this message.
    I went to add/remove programs to verify that Firefox wasn't on the list, then I went to the program files directory and deleted the Mozilla/Firefox directory that was left over from the uninstall.
    I attempted to reinstall Firefox and, voila, it installed with no issues.
    I know it can be dangerous to delete a program directory, but if you have properly uninstalled the program itself and it isn't in the add/remove list (but still exists in the program directory), deleting the parent directory for the program should affect system performance.
    I have done this dozens of times over the years and never had a problem (I have NEVER deleted a system directory though. That would be a BAD idea).
    I hope this helps.
    /CDNVIKING

  • Java Pattern Matcher (Pattern.class bug? Stuck in Infinite Loop)

    Hi,
    I'm using the java pattern matcher and it appears to be stuck in an infinite loop and will not return from Pattern.class.
    It stays stuck in the following two code sequences...
    I'm using the following regex...
    java.util.regex.Matcher[pattern=[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|biz|info) region=0,353648 lastmatch=
    MAIN BLOCK STUCK IN LOOP:
    boolean study(TreeInfo info) {
    if (type != INDEPENDENT) {
    int minL = info.minLength;
    atom.study(info);
    info.minLength = minL;
    info.deterministic = false;
    return next.study(info);
    } else {
    atom.study(info);
    return next.study(info);
    SECOND BLOCK STUCK IN LOOP:
    boolean match(Matcher matcher, int i, CharSequence seq) {
    // Check for zero length group
    if (i > matcher.locals[beginIndex]) {
    int count = matcher.locals[countIndex];
    if (count < cmin) {
    matcher.locals[countIndex] = count + 1;
    boolean result = body.match(matcher, i, seq);
    // If match failed we must backtrack, so
    // the loop count should NOT be incremented
    if (!result)
    matcher.locals[countIndex] = count;
    return result;
    if (next.match(matcher, i, seq))
    return true;
    if (count < cmax) {
    matcher.locals[countIndex] = count + 1;
    boolean result = body.match(matcher, i, seq);
    // If match failed we must backtrack, so
    // the loop count should NOT be incremented
    if (!result)
    matcher.locals[countIndex] = count;
    return result;
    return false;
    return next.match(matcher, i, seq);
    Is this a bug with the Java 1.6 Pattern Matcher?
    Thanks
    V$h3r

    The Java Pattern Matcher is getting stuck in the following code...
    boolean study(TreeInfo info) {
    if (type != INDEPENDENT) {
    int minL = info.minLength;
    atom.study(info);
    info.minLength = minL;
    info.deterministic = false;
    return next.study(info);
    } else {
    atom.study(info);
    return next.study(info);
    boolean match(Matcher matcher, int i, CharSequence seq) {
    // Check for zero length group
    if (i > matcher.locals[beginIndex]) {
    int count = matcher.locals[countIndex];
    if (count < cmin) {
    matcher.locals[countIndex] = count 1;
    boolean result = body.match(matcher, i, seq);
    // If match failed we must backtrack, so
    // the loop count should NOT be incremented
    if (!result)
    matcher.locals[countIndex] = count;
    return result;
    if (next.match(matcher, i, seq))
    return true;
    if (count < cmax) {
    matcher.locals[countIndex] = count + 1;
    boolean result = body.match(matcher, i, seq);
    // If match failed we must backtrack, so
    // the loop count should NOT be incremented
    if (!result)
    matcher.locals[countIndex] = count;
    return result;
    return false;
    return next.match(matcher, i, seq);
    }Here is a copy of the REGEX that I'm using...
    It works on most of the other STRINGS but when I do a REGEX on the the html source for http://www.exponent.com it will get stuck...
    Pattern p = Pattern.compile("[a-zA-Z0-9+_~-]+(?:\\.[a-zA-Z0-9+_~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+(?:com|org|net|biz|info|[a-zA-Z]{2})");Thanks,
    V$h3r

  • Iphone 4 factory unlocked stuck in infinite loop

    I have a factory unlocked Iphone 4 that is stuck in loop. I thought this only happened to jailbroken phones. Please help.

    Do you have receipt that you bought your previous phone in Canada? If so, go back to apple store in Michigan, and perhaps they will replace it. Otherwise, you pro ably should have returned it to the store in Canada. You best bet is to call apple and see if they can come up with a solution.

  • Patchadd stuck in infinite loop -HELP!!

    Hi all,
    Iam trying to install some OS patches in SunOS 5.8 machine[sun4u sparc SUNW,Sun-Fire-280R]
    But after the process starts, it seems to get stuck in an endless loop. I get the following messages.
    Checking installed patches...
    Verifying sufficient filesystem capacity (dry run method)...
    After the second line, the process of installing patch does not seem to end.
    I did the install in single mode.
    Rebootted the machine and did an fsck. But didnt help. Tried downloading a patch to patch 'patchadd' , but could not install it as well.
    I tried debugging the patchadd. Here is a debugging trace.
    required utlsa are available
    Checking installed patches...
    Verifying sufficient filesystem capacity (dry run method)...
    + exit_code=0
    + pkgInst=
    + pkgDispList=
    + dryrunFailure=
    + ReqArrCount=0
    + firstTimeThru=yes
    + cd /var/spool/patch/112396-02
    + + pwd
    curdir=/var/spool/patch/112396-02
    + typeset -i pkgInsCtr=0
    + newpkglist= SUNWcsr
    + pkgInst= SUNWcsr
    + newpkglist= SUNWcsr SUNWcsu
    + pkgInst= SUNWcsr SUNWcsu
    + pkglist= SUNWcsr SUNWcsu
    + [[ -f SUNWcsr/pkginfo ]]
    + echo inside. . . .
    inside. . . .
    + /usr/bin/cp /tmp/patchadd-127541250/response.1250 /tmp/patchadd-127541250/response.1250.1
    + [[ yes == no ]]
    + [[ yes == yes ]]
    + echo first time thru
    first time thru
    + [[ no == yes ]]
    + pkgadd -D /tmp/patchadd-127541250/112396-02.1250 -S -n -a /tmp/patchadd-127541250/admin.tmp.1250 -r /tmp/patchadd-127541250/
    response.1250.1 -R / -d . SUNWcsr SUNWcsu
    + 1>> /tmp/patchadd-127541250/pkgaddlog.1250 0< /dev/null 2>& 1
    It seems like it is getting stuck in the pkgadd command .
    Any help on this would be highly appreciated.
    Thanks,
    Vimalnath. A

    HI,
    Make sure the patch doesn't exists in the system.
    Ski

  • M100 stuck in infinite loop

    Someone just brought their m100 to me and I am unable to help them so I am turning to you to try to help me out here.
    The palm keeps blinking on and off from the logo to a blank screen. I cannot get it to respond. I tried a soft reset but it wont respond.
    I am also unable to sync the palm because it is in the "keyboard mode." Anyway, it wont respond so there is NO way to get it to sync.
    I cannot do a hard reset before I sync this palm because I am trying to retrieve all the information. All I need is to get it onto the computer - so a hard reset is not the solution!
    Any suggestions as to how to get it to respond?
    Post relates to: Tungsten E2

    CW-
    Sounds like you are stuck in a reset loop.  The only want that I have been able to break out of it is with a hard reset.  Knowing that you can't perform a hard reset because you will lose your data, have you tried a warm reset yet?  A warm reset is like booting your PC in "safe mode".  Under a warm reset some features are disabled like IR beaming and networking.  You might be able to HotSync to back up your data and then perform the hard reset.
     Check out this page for details on how to perform a warm reset.
    Alan G
    Post relates to: Treo 755p (Sprint)

  • Treo 755p stuck in infinite loop.

    My 755p (Verizon) is stuck between the Access Powered screen then Palm screen then blank screen then Access Powered screen then Palm screen then blank screen then Access Powered screen then Palm screen then blank screen then Access Powered screen then Palm screen then blank screen then.
    Please help!
    Post relates to: Treo 755p (Verizon)

    To fix this what we need to do is hard reset your device. The instructions to do that is here http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=887 this tells you how to do all types of resets. Also, what we need to do is rename your backup folder. What this folder is, it hold all your programs from the last time you synced your PC. On your computer go here My Computer--> C drive --> Program files --> Palm/PalmOne--> your hotsync user name --> and right click on your backup folder and rename it to "backup.old" Resync your device to the same user name and you will get all your contacts, calendar, tasks, and memos.
    You can install the programs again but make sure they are compatible with the device. Also try one program again and wait 24 hours to see if the same thing happens again. This way you know what program is causing the issue.

  • [solved]pacman seems to be stuck in infinite loop

    Hi, All
    I was trying out gnome2.20 which is till in testing.
    Installation of the packages was smooth, but I could not start X after the installation.
    The Xorg logs said that there was no X sever installed while the It was listed in the pacman -Q
    I decided to remove everything and do it again so I did a
    pacman -Rc xorg-server
    During the removal I thought of taking a backup of my xorg.conf and intruppted the package removal process by Ctrl+C.
    After copying the xorg.conf
    I re ran 
    pacman -Rc xorg-server
    but it seems to be running in loop.
    The message printed are like(these are not the actual message as I  dun have an acces to the system)
    Kmplayer not found in database
    Kmplayer not found in database
    Kmplayer not found in database
    So presently am not able to do anything (install/remove X). Text mode is working fine though.
    Can somebdy suggest some workaround(deleting/adding) something from/in the pacman database. or smthing like that.
    Thanks
    Sri
    Last edited by srimalik (2007-10-08 16:49:49)

    I would rather try to do that with kmplayer (pacman -S or pacman -R or both).
    Otherwise, the loop itself should be fixed in pacman 3.1.
    But what caused the loop in the first place, I am not sure. There might still be a problem in the interruption handling.
    Pacman is supposed to catch ctrl+c for exiting cleanly, But maybe it failed to in this case.. I don't know.

  • Stuck in infinite loop of dialog boxes

    I dragged a directory into Final Cut Pro 6.0.2 and this is the chain of dialog boxes:
    "Please choose a translation document file."
    <OK>
    "Choose a File"
    <Cancel> (I can't hit <Choose> because I don't have a translation document file)
    "ERROR: No translation templates matching the selected XML file were found. Unable to import this file."
    <OK>
    "Please choose a translation document file."
    <OK>
    "Choose a File"
    <Cancel> (I can't hit <Choose> because I don't have a translation document file)
    "ERROR: No translation templates matching the selected XML file were found. Unable to import this file."
    <OK>
    "Please choose a translation document file."
    <OK>
    "Choose a File"
    <Cancel> (I can't hit <Choose> because I don't have a translation document file)
    "ERROR: No translation templates matching the selected XML file were found. Unable to import this file."
    <OK>
    "Please choose a translation document file."
    <OK>
    "Choose a File"
    <Cancel> (I can't hit <Choose> because I don't have a translation document file)
    "ERROR: No translation templates matching the selected XML file were found. Unable to import this file."
    <OK>

    it could be because I dragged a directory, FCP is doing this for every file in that directory.
    In Windows, when this happens, you can set a weight on the ESC key and let it run until it's done. I guess Macs haven't gotten that far in paperweight technology yet.

Maybe you are looking for