Strange SQL behavior

When we run a simple select query against our DB, it will hang. When a different query is run under a different session, both the first and the second query return almost instanteously. Has anyone seen this behavior? What did you do to fix the problem? What is the problem?
I have analyzed all the snapshots, V$ views, etc, and I cannot find a particular reason for why this is occurring.
Thanks

>When we run a simple select query against our DB, it will hang. When a different query is run under a different session, both the first and the second query return almost instanteously.
can you please post your query?

Similar Messages

  • Bug in my code or strange memory behavior ?

    Hi, Guys !
    It's been a while since I post something in this forum - trying to use your help when it's really needed.
    So, here we go ...
    (we use Oracle 8.1.7 on Unix box and SQL * Plus 8.1.6)
    While back I wrote "core" PL/SQL package that resides in let's say DB1 database. It has RECORD_EXISTS_FNC function designed to dynamically check If the record exists in certain table/view. Assumptions are that you pass in :
    Table/View name, Column name, and unique numeric value (because by DBA rules all of our Tables have SEQUENCE as a Primary Key. And I plan soon to put in overloaded function to accept unique character value)
    Also every Table has SYS_TIME_STAMP and SYS_UPDATE_SEQuence columns that populated by Trigger before Insert/Update representing Last Update time_stamp
    and how many times record was updated within same second.
    (in case more than one User updates same record in same time - that was written before Oracle had more granular date/time). So function has SYS_TIME_STAMP and SYS_UPDATE_SEQUENCE parameters (optional) accordingly.
    And It looks something like :
    FUNCTION RECORD_EXISTS_FNC
    (iBV_NAME IN USER_VIEWS.VIEW_NAME%TYPE,
    iPK_FIELD IN USER_TAB_COLUMNS.COLUMN_NAME%TYPE,
    iPK_VALUE IN NUMBER,
    iSYS_TIME_STAMP IN DATE DEFAULT NULL,
    iSYS_UPDATE_SEQ IN NUMBER DEFAULT NULL) RETURN BOOLEAN IS
    TYPE REF_CUR IS REF CURSOR;
    CR REF_CUR;
    i PLS_INTEGER DEFAULT 0;
    vRESULT BOOLEAN DEFAULT FALSE;
    vQUERY USER_SOURCE.TEXT%TYPE;
    BEGIN
    vQUERY := 'SELECT 1 FROM ' || iBV_NAME || ' WHERE ' || iPK_FIELD || ' = ' || iPK_VALUE;
    IF iSYS_TIME_STAMP IS NOT NULL AND iSYS_UPDATE_SEQ IS NOT NULL THEN
    vQUERY := vQUERY || ' AND SYS_TIME_STAMP = TO_DATE (''' || iSYS_TIME_STAMP || ''')
    AND SYS_UPDATE_SEQ = ' || iSYS_UPDATE_SEQ;
    END IF;
    IF iBV_NAME IS NOT NULL AND
    iPK_FIELD IS NOT NULL AND
    iPK_VALUE IS NOT NULL THEN
    OPEN CR FOR vQUERY;
    FETCH CR INTO i;
    vRESULT := CR%FOUND;
    CLOSE CR;
    END IF;
    RETURN vRESULT;
    EXCEPTION
    WHEN OTHERS THEN
    IF CR%ISOPEN THEN
    CLOSE CR;
    END IF;
    INSERT_ERROR_LOG_PRC ('CORE_PKG', 'ORACLE', SQLCODE, SQLERRM, 'RECORD_EXISTS_FNC');
    RETURN vRESULT;
    END RECORD_EXISTS_FNC;
    So the problem is when I call this function from let's say
    database DB2 (via db remote link and synonym) and I know exactly that record does exists (because I am selecting those SYS fields before pass them in) - I get the correct result TRUE. The other programmer (Patrick) calls this function within same DB2 database, within same UserID/password (obviously different session), running exactly the same testing code and gets result FALSE (record doesn't exist, but it does !) He tried to Logoff/Login again several times within several days and try to run it and still was getting FALSE !
    I tried to Logoff/Login again and I was getting mostly TRUE and sometimes FALSE too !!!
    I thought may be It has something to do with REF CURSOR that I use to build SQL on the fly, so I changed to NDS
    using EXECUTE IMMEDIATE statement - nothing changed.
    vQUERY := 'SELECT COUNT (1) FROM ' || iBV_NAME || ' WHERE ' || iPK_FIELD || ' = ' || iPK_VALUE;
    IF iSYS_TIME_STAMP IS NOT NULL AND iSYS_UPDATE_SEQ IS NOT NULL THEN
    vQUERY := vQUERY || ' AND SYS_TIME_STAMP = TO_DATE (''' || iSYS_TIME_STAMP || ''') AND SYS_UPDATE_SEQ = ' || iSYS_UPDATE_SEQ;
    END IF;
    EXECUTE IMMEDIATE vQUERY INTO i;
    vRESULT := NOT (i = 0);
    RETURN vRESULT;
    Interesting note : when Patrick doesn't pass SYS parameters (Time_stamp, Update_sequence), or passes NULLs - function always finds the record ! (Statement 2 below)
    May be it has to do with the way TO_DATE () function gets parsed in that dynamic SQL - I don't know ...
    Here's the test code :
    SET SERVEROUTPUT ON;
    DECLARE
    SYS_TIME DATE;
    SYS_SEQ NUMBER;
    bEXISTS BOOLEAN DEFAULT FALSE;
    BEGIN
    SELECT SYS_TIME_STAMP, SYS_UPDATE_SEQ INTO SYS_TIME, SYS_SEQ FROM LOCATION_BV WHERE PK = 1;
    bEXISTS := CORE_PKG.RECORD_EXISTS_FNC ('LOCATION_BV','PK',1, SYS_TIME, SYS_SEQ); -- STATEMENT 1
    --bEXISTS := CORE_PKG.RECORD_EXISTS_FNC ('LOCATION_BV','PK',1, NULL, NULL);        -- STATEMENT 2
    IF bEXISTS THEN
    DBMS_OUTPUT.PUT_LINE ('TRUE');
    ELSE
    DBMS_OUTPUT.PUT_LINE ('FALSE');
    END IF;
    END;
    I asked our DBA, he has no clue about this strange inconsistent results.
    I debugged line by line, extracted that generated SQL and ran it in same account - works fine !
    Does anyone knows or have clues or can help what's going on ???
    I don't know If this is bug in my code or strange memory behavior ?
    (Please let me know If anything unclear)
    Thanx a lot for your help and time !
    Steve K.

    see your other thread
    Bug in my code or strange memory behavior ?

  • Capturing DVCAM in FCP 6.0.2 and encountering strange capture behavior

    I have FCP 6.0.2 and OSX 10.5.2 and QT 7.3.1. I have been capturing several DVCAM cassettes using my Sony DSR-20 deck. Although I have done this countless times before in earlier versions of FCP, I am encountering some strange repetitive behavior. I am capturing 30 minute clips one at a time. When I use batch capture it will cue the tape up properly to the in point...and then start capturing until it gets to about 10-12 minutes in, and then capture unexpectedly stops, no dialogue box, the tape rewinds and starts capturing again from the original in point. On this second capture, the tape sails past the 10 minute mark and keeps going to the end of the 30 minute clip. It then stops, gives me the dialogue box that it has successfully captured. And it has.
    But every DVCAM tape I captured today exhibited the same behavior. Capture would be successful until about about 10 minutes in, then FCP aborts (no dropped frame message, no dialogue box) rewinds the tape back to the in point, tries again, and this time succeeds with the second pass capturing the entire clip. Note at the 10 minute mark there is no scene change or no camera start/stop.
    Have other users experienced this issue? And if so, is there a workaround or a possible patch forthcoming from FCP?
    Many thanks,
    John

    Yes, each tape has an in and out point defined. In my 6 years of editing with Final Cut and DVCAM tapes I've never encountered this issue before in the capturing process until now. I will have to see in future weeks with other captures whether this is an on-going issue or not, but at least I can capture for now.

  • Strange Permissions Behavior with Public/Private Drop Box

    Strange Permissions Behavior with Non-Course Drop Box
    In an effort to promote iTunes U on campus this semester (and to get people working with audio and video more) we're having a contest in which people can submit personal or group audio/video projects.
    This being an iTunes promo, we intend for students to submit their contributions via a drop box.
    To that end, I began experimenting with drop boxes in iTunes U, which I haven't done much of previously. I've created a course called "iTunes U Drop Box Test" under "Campus Events". Within that, I have two tabs: "Featured Submissions" and "Dropbox". My goal with this drop box was to allow faculty, students and college folks the ability to use the drop box ("college" being a role I've defined for those who don't fit into the faculty/student roles).
    When I first started experimenting, access to the "iTunes U Drop Box Test" course looked like this:
    --- Credentials (System) ---
    Edit: Administrator@urn:mace:itunesu.com:sites:lafayette.edu
    Download: Authenticated@urn:mace:itunesu.com:sites:lafayette.edu
    Download: Unauthenticated@urn:mace:itunesu.com:sites:lafayette.edu
    Download: All@urn:mace:itunesu.com:sites:lafayette.edu
    --- Credentials ----
    Download: College@urn:mace:lafayette.edu
    Download: Instructor@urn:mace:lafayette.edu
    Download: Instructor@urn:mace:lafayette.edu:classes:${IDENTIFIER}
    Download: Student@urn:mace:lafayette.edu
    Download: Student@urn:mace:lafayette.edu:classes:${IDENTIFIER}
    For the "Featured" Submissions tab, I gave the non-system credentials the "download" right, and for the "Dropbox" tab I gave the non-system credentials the "dropbox" right.
    My understanding of this setup is that everyone should have had the ability to view the course and the contents of the "Featured Submissions" tab and that those in the College/Instructor/Student roles would be able to upload files via the "Dropbox" tab ... but not see the contents of said tab after the files were uploaded (aside from any files they uploaded themselves).
    This is not the behavior we saw however. While the College/Instructor/Student roles could upload files to the dropbox, everyone (including the unauthenticated public) was able to see all of the contents of the dropbox.
    The only way I could get this to work as advertised was to change all of the system credentials save the "Administrator" to "No Access":
    --- Credentials (System) ---
    Edit: Administrator@urn:mace:itunesu.com:sites:lafayette.edu
    No Access: Authenticated@urn:mace:itunesu.com:sites:lafayette.edu
    No Access: Unauthenticated@urn:mace:itunesu.com:sites:lafayette.edu
    No Access: All@urn:mace:itunesu.com:sites:lafayette.edu
    Once I did this, everything worked as advertised: College/Instructor/Student roles could upload tracks, and the "Dropbox" tab would only display tracks they uploaded.
    So my question is ... is this the correct behavior for the drop box? It looks like when the system credentials are in play, they're simply overriding whatever the normal "view" rule is for the drop box, which doesn't seem right.

    Your current configuration where things work as you wanted does seem correct to me. You are not using any System Credentials to accomplish the functionality and that's fine.
    Here's some more info to clarify how / why this is working for you and why you had to set "No Access" for the System Credentials:
    The System Credential "Authenticated@..." is going to get assigned to any user that goes through your transfer script. Even if you transfer script assigns no credentials to a user, upon entering iTunes U they will have at least 1 - the "Authenticated@..." credential. Therefore, unless you block access using "No Access", any user that passes through your transfer script is going to be able to access the area in question.
    When you change values for "Unauthenticated@..." or "All@..." you are defining what someone that DOES NOT pass through your transfer script can do. You want both of those to be "No Access" at the top level of your site if you do not want unauthenticated visitors.
    The distinction between "Unauthenticated" and "All" is that "All" applies to all users whether they pass through the transfer script or not.
    Here's another way to remember things:
    User passes through your transfer script, iTunes U automatically assigns:
    Authenticated@....
    All@....
    User does not pass through your transfer script and instead access your iTunes U site through derivable URL*, they get assigned:
    Unauthenticated@....
    All@....
    *The derivable URL for a site is: http://deimos.apple.com/WebObjects/Core.woa/Browse/site-domain-name
      Mac OS X (10.4.6)  

  • Strange SQL statement in my PL/SQL session

    Hi all,
    i found a very strange SQL statement in my session.
    SELECT 1
    FROM SYS.streams$_prepare_ddl p
    WHERE ( (p.global_flag = 1 AND :1 IS NULL)
    OR (p.global_flag = 0 AND p.usrid = :2)
    AND ROWNUM = 1;
    This statement is waiting latch wait event but consistent get higher and higher.
    This session seems didn't execute my PL/SQL's main logic and halt at this statement.
    And after 5 or 6 hours this session is error out with snapshot too old.
    Does anyone know what this statement doing? according to Metalink for create table and create user statement will trigger this statement. But why it takes so long?
    Looking forward for your advise...

    If you have a problem with latch events, then maybe this session or another session is doing a similar action quite often and using the latches.
    I would check for some part of you application that constantly tries to create tables and/or users. Maybe it is possible to change that logic. E.g. use global temp tables.
    Also post your database version. Did you migrate recently or is it a fresh install?
    @user594309: Think more before posting. And read up about bind variables.

  • Strange XSLT Behavior: xsl:template match

    Hello I found the following strange XSLT behavior when using xsl:template. I only want to read the content of the element /Source/Surname/Details. Therefore I match this path using xsl:template match.
    What is strange that in the target message also the value of the Element LastName is written at the end. Please see example below. This is just a short example to point out the problem. I have a bigger message structure where I have to match a similar path. How can I avoid the the value of the FullDetails is just written at the end (not even beeing in an element)? I would have expected that the path is only matched once and the instructions then executed without <LastName> beeing even touched.I used XML Spy for this test.
    Here is an example:
    Source message:
    <?xml version="1.0" encoding="UTF-8"?>
    <Source>
         <Surname>
              <Details>MyFirstName</Details>
         </Surname>
         <LastName>
              <FullDetails> MyLastName </FullDetails>
         </LastName>
    </Source>
    XSLT
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:template match="/Source/Surname">
    <PORR>
    <Name><xsl:value-of select="Details"/></Name>
    </PORR>
    </xsl:template>
    </xsl:stylesheet>
    Target Message
    <?xml version="1.0" encoding="UTF-8"?>
    <PORR xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <Name>MyFirstName</Name></PORR>MyLastName
    Edited by: Florian Guppenberger on Oct 8, 2009 4:35 AM
    Edited by: Florian Guppenberger on Oct 8, 2009 4:36 AM
    Edited by: Florian Guppenberger on Oct 8, 2009 4:36 AM
    Edited by: Florian Guppenberger on Oct 8, 2009 4:37 AM

    Hi,
    I am not sure why your XSLT behaving like that,please try this XSL,what i did chnages is Templete match /*,I given exact path in Value of select,.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:template match="/*">
    <PORR>
    <Name><xsl:value-of select="/Source/Surname/Details"/></Name>
    </PORR>
    </xsl:template>
    </xsl:stylesheet>
    Regards,
    Raj

  • Strange typeover behavior in Newsfeeds

    I am getting this strange intermittent behavior when create a post in the Newsfeed.
    As you begin to type the text compress and it almost looks like the letters are typing over themselves
    The resulting text can be posted and looks fine when posted, it some times does throw an error but the error and type over don't seem connected
    It happens on all browser types and even phones and tablets

    Hi,
    Thank you for your post.
    This is a quick note to let you know that we are performing research on this issue.
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Strange ZWSREG behavior

    We are in the middle of a rollout of about 300 new machines. (used sysprep in the image) The first 100 are doing something strange. They boot up get renamed and join the windows domain with their new name, but register with ZEN as the randomly generated Microsoft name. (usually someting like N-398477634379d979) I deleted the workstation object, unreged and rereged the computer, but it always reregisters with the randomly generated name. What gives? I found a TID that said this was fixed by an update on the latest desktop agent, but that I could work around it by deleting the incorrectly named object and waiting for the machine to reboot, However it still registers with the wrong name. Any ideas? Thanks.
    J. Daniel Treadwell

    But these are new computers. They should not have image safe data yet. I tried it, but got the same result.
    Originally Posted by Craig Wilson
    Try running ZISWIN -R when you unregister.
    My guess is that it's pulling the old info from Image Safe Data.
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Support Forums Volunteer Sysop
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.
    "jtreadwell" <[email protected]> wrote in message
    news:[email protected]..
    >
    > We are in the middle of a rollout of about 300 new machines. (used
    > sysprep in the image) The first 100 are doing something strange. They
    > boot up get renamed and join the windows domain with their new name,
    > but register with ZEN as the randomly generated Microsoft name.
    > (usually someting like N-398477634379d979) I deleted the workstation
    > object, unreged and rereged the computer, but it always reregisters
    > with the randomly generated name. What gives? I found a TID that said
    > this was fixed by an update on the latest desktop agent, but that I
    > could work around it by deleting the incorrectly named object and
    > waiting for the machine to reboot, However it still registers with the
    > wrong name. Any ideas? Thanks.
    >
    >
    > J. Daniel Treadwell
    >
    >
    > --
    > jtreadwell
    > ------------------------------------------------------------------------
    > jtreadwell's Profile: NOVELL FORUMS - View Profile: jtreadwell
    > View this thread: Strange ZWSREG behavior - NOVELL FORUMS
    >

  • Strange Client Behavior after upgrading to 10g

    Hello Friends !!!!
    Here is my scenario:
    Oracle Database 10g 10.2.0.3
    Windows 2008 Server SP2
    After upgrading from oracle 9.2.0.1.0 and Windows 2003 Server I'm facing a strange behavior.
    Many times over the days some machines do not release some table resources even having their status "INACTIVE" and the wait event "SQL *Net message from client" and wait class "IDLE".
    Therefore, i got a lot of locked sessions, and users complaining..... until I kill them
    The client machine was as well switched to Oracle 10g client....
    Have you guys got any tips about this scenario?
    Tks for any advice.

    About the lock queue:
    1. blocking session has an exclusive table lock on VENDEDORES table; this is very rare in application because most of the time not needed: application code should try to avoid to take such kind of lock.
    2. blocked sessions request a row share table lock: it looks like that VENDEDORES table is a child table linked to some parent table with a foreign key constraint and that an index on the child table foreign key is missing (this kind of lock is requested if you DELETE from parent table or update parent table primary key).
    About the lock session: this is the blocking session that is waiting since 19 seconds on client: it is likely an application issue: you should try to investigate what the client (aservice.exe) is doing while holding an exclusive table lock.

  • Question about strange cursor behavior - Sybase ASE 12.5.4

    Hi folks,
    I have a stored procedure in Sybase ASE 12.5.4 presenting a strange behavior. Follow below some code to simulate the error.
    /* Create the table structure */
    drop table tbx1
    go
    create table tbx1
    (c1 int,
    c2 int,
    c3 char)
    go
    /* Create a CLUSTERED index NOT UNIQUE */
    create clustered index idx1 on tbx1 (c1)
    go
    /* Populate the table with few records */
    insert into tbx1 select 1, 1, 'N'
    insert into tbx1 select 2, 1, 'N'
    insert into tbx1 select 2, 2, 'N'
    go
    /* Test case #1 - The following code will not fetch the 3rd record */
    declare c1 cursor for
    select c1, c2 from tbx1 where c3 = 'N'
    go
    declare @c1 int, @c2 int
    open c1
    fetch c1 into @c1, @c2
    while @@sqlstatus = 0
    begin
      select @c1, @c2  -- View the current fetched row
      update tbx1 set c3 = 'N' where c1 = @c1 and c2 = @c2
      fetch c1 into @c1, @c2 
    end
    close c1
    deallocate cursor c1
    /* Recreate the table structure */
    drop table tbx1
    go
    create table tbx1
    (c1 int,
    c2 int,
    c3 char)
    go
    create clustered index idx1 on tbx1 (c1)
    go
    /* Repopulate the table */
    insert into tbx1 select 1, 1, 'N'
    insert into tbx1 select 2, 1, 'N'
    insert into tbx1 select 2, 2, 'N'
    go
    /* Test case #2 - The following code enters in an infinite loop, fetching the 3rd record indefinitely */
    declare c1 cursor for
    select c1, c2 from tbx1 where c3 = 'N'
    go
    declare @c1 int, @c2 int
    open c1
    fetch c1 into @c1, @c2
    while @@sqlstatus = 0
    begin
      select @c1, @c2 -- View the current fetched row
      update tbx1 set c3 = 'N' where c1 = @c1
      fetch c1 into @c1, @c2 
    end
    close c1
    deallocate cursor c1
    If we execute a select on tbx1 before execute Test case #1, the result is:
    c1   c2    c3
    1    1     N
    2    1     N
    2    2     N
    If we execute the same select on tbx1 after execute Test case #1, the result is:
    c1   c2    c3
    1    1     N
    2    2     N   --> row position changed
    2    1     N   --> row position changed
    Analyzing the execution plan, updates on both Test cases are being done in deferred mode.
    Could someone answer my questions, please:
    1 - After executing Test case #1, 2nd and 3rd record change this position in table. How could this happening since I'm not updating any fields in the clustered index? This have any relation with deferred update deleting and reinserting the rows on overflows pages?
    2 - Suppose the updates are changing the rows position in the table, how could explain the inconsistent fetch order on cursor processing (on Test Case #1, only 2 records are fetched - on Test Case #2, the loop never ends)?
    Regards,
    Douglas

    Thanks for your replies. I've already solved my problem, just creating a unique clustered index. But I haven't understood what happened yet in the 2 cases above.
    As suggested by Mark, I've read Chapter 18 from Transact SQL Users Guide. In section
    "Join cursor processing and data modifications", there is a citation about what happens with cursor position after a update:
    "A searched or positioned update on an allpages-locked table can change the location of the row; for example, if it updates key columns of a clustered index. The cursor does not track the row; it remains positioned just before the next row at the original location. Positioned updates are not allowed until a subsequent fetch returns the next row. The updated row may be visible to the cursor a second time, if the row moves to a later position in the search order".
    As stated above, the cursor position keeps the same independently if the rows change their order.
    I don't know if my logic is very simplistic, but I imagine that what should happen in #Test Case 1 is (assuming the access method is a clustered index scan):
    a) After the 2nd fetch, cursor position is on 2nd row:
    c1   c2    c3
    1    1     N  
    2    1     N   <-- cursor position
    2    2     N  
    b) After the update, 2nd and 3rd rows switch their positions, but cursor should keep its position (before 3rd row):
    c1   c2    c3
    1    1     N  
    2    2     N  
                    <-- cursor position
    2    1     N
    c) On 3rd fetch, the 3rd row is read "again" and cursor reaches the end of table.
    In relation #Test Case 2, I can't imagine how a cursor could enters a infinite loop since the cursor position shouldn't change and "apparently the row positions are the same" after the "incorrect" update.
    Moreover, I still have doubts about how a field update that isn't in a clustered index can change row position in a allpages-locked table.
    The main goal of my questions isn't solve the problems but get a better knowledge about some Sybase internals (and avoid similar problems in the future).
    Please give me more detailed explanations about my questions and comment my analysis. Related readings about this issues are welcome.
    Douglas

  • Strange window behavior with CS5

    I have begun experiencing strange behavior with PS CS5. I should begun with the machine configuration: 2.66GHz iMac (8,1) Intel Core Duo with 4GB RAM and OSX 10.6.6, Radeon HD 2600 Pro graphics card. The initial symptom showed up suddenly as an inability to display an image window; that is, I could open PS normally, everything would show up properly, but when I opened an image file of any sort, there would be no image window. Other cues indicated that the file was open; for example, the window menu would show it selected, and the layers palette would show the file's layers.
    It did not seem to matter what type of file was involved: PSD, JPG, TIF, whatever. Occasionally, this behavior would begin during a session. Sometimes it would happen right off the bat. Sometimes, stopping and restarting PS seemed to clean things up; other times, this had no effect. After messing around quite a bit with different permutations and combinations, all I could say was that the problem was random.
    I might add that I've had PS CS5 on this machine pretty much since it was announced, and had not had problems with it before. So this issue came along quite suddenly a couple of weeks ago. This was a little after I'd installed an update for Nik's Viveza 2; and I began to suspect that. Although why Viveza should do such a strange thing was odd, and Viveza was never part of the files I was experiencing issues with. Anyway, I went back to an earlier version of Viveza and the problem persisted.
    Since I run Time Machine, I also went back to versions of the entire PS folder from a month back, and found the same problem. Along the way, I experimented with the files I was using with PS CS4 & CS3, which I also have installed on this machine. These two versions of PS run perfectly well. At least the CS4 version has precisely the same plugins as the CS5 folder, and this seems to discount the potential problem with plugins.
    To be sure about CS5, I completely deactivated, deinstalled, and reinstalled it. The same issues occurred. Now, I have to admit that I let PS run its update process so that I brought it back to the most recent version in this step of my troubleshooting. So, I can't be certain that the issue isn't with some update of CS5.
    I might add that I have been running CS5 in 32-bit mode, for compatibility with certain plugins. This may or may not be an issue, since I have limited experience with running in 64-bit mode. At this point, I should add a bit more about the confusing behavior.
    While messing around with CS5, I also suspected the GPU support, since my problem had to do with windows. When the problem presents itself, the usual cycle through window views that you get by pressing the "F" key seems to get messed up. In particular, the "F" key doesn't work at all. Next, if you use the View menu to select different views, the full screen with menu bar view will often have garbled pixels, while the full screen view will show a blank grey screen. Then, cycling back to a window view will show a window with blank grey contents. This is interesting since the starting point was no window at all; but going into full screen and then back will produce a window with bogus contents.
    Now, the next strange thing, having to do with the GPU, is that CS5 often fails to recognize the Radeon HD 2600 card. Oddly enough, it did originally. And I had it running in Basic mode. However, CS4 does recognize the GPU; and I can set it in any variety of modes: Basic, Normal, and Advanced. This behavior is not consistent at all either; that is, while CS5 almost always now fails to detect the GPU, sometimes it does. As near as I can tell, this failure to detect the card does not depend upon whether I start CS5 in 32-bit or 64-bit mode. OTOH, CS4 always recognizes the GPU.
    Another form of this odd behavior arises if I start CS5 cold, and then just open a new blank window. This almost always works. I get a blank white window, and I can paint on it with a brush, etc. However, if I go ahead at this point and open a file, then the new file takes over the window; and there are no tabs. If I select the original new file, usually labelled "Untitled", the window bar will show the change of filename but the window's contents and the layers palette will continue to show the old file that I had opened. Cycling through views can sometimes get back to the new Untitled file, but just selecting file windows never works.
    Yet another aspect of this messed up window behavior is that the workspace bar, which shows the Bridge, MiniBridge and view icons on the upper left and the various workspace options and CS Live on the upper right, is present but blank. OTOH, the tool bar is always displayed correctly, as is the horizontal bar that shows the various tool options. Likewise, the palettes for the workspace such as layers, swatches, adjustments, and so on, are always correctly displayed on the left.
    My next steps in trying to figure this out will be to ensure that I am running the latest of all plugins so that I can get everything running in 64-bit mode and try this again. However, the single factor that seems consistent in this whole mess is that whenever I do find this odd behavior, the performance preferences window will indicate that CS5 is not detecting the GPU. Whenever this happens, if I open up CS4 and check the same performance preference in it, the GPU is detected. I can have the two preference windows side by side on the screen in fact, CS4 sees the GPU and CS5 does not. The counter-indication is that sometimes CS5 will work properly and the preferences window still shows that the GPU has not been detected. Having said that, I can add that if I have opened up CS5, and it has found the GPU, and I have set it into, say, Basic mode, and then later found CS5 messing up, and I go back and check the performance preferences again, the GPU has always been lost. So, CS5 can mess up windows with or without the GPU detected and active; but when if it started with the GPU present, it will show up as lost after the weird behavior starts.
    To add one more observation, I have had Macs and other computers with failing GPUs. This computer is showing none of the typical signs of that. Every other program seems to be working just fine, and I have a lot of these, many graphics intensive; e.g., Corel Painter 11, Parallels v6 running Windows 7, PS CS4, Lightroom v3, Aperture v3, and so on. It is just CS5 that is messing up.
    I could load up this message with screen shots of all this nonsense, but I'm not sure what that would add to the strange tale, other than I'm not pulling your legs. I am, however, pulling out my own hair.
    As I stated before, this began quite suddenly a couple of weeks ago, early Feb 2011. My best guess as to cause is some combination of incompatible updates between CS5, OSX, and maybe some plugin or other. I found unusual behavior with onOne's FocalPoint v2 last year after Apple updated GPU drivers in some OSX update, and cratered that program. It took onOne a month or two to fix that. I have CS5 on a laptop with the same OSX version, and on that I haven't seen these issues; but then, I haven't been using it as intensely over there. Also, that machine has different CPU and GPU models than this iMac.
    So, to the community: is anybody else starting to see this odd stuff? Am I alone?

    Here's the reason I say that the same plugins exist for both CS4 & CS5. Sometime last year, the internal hard drive on this computer died (as they so often do), and it was replaced under the Apple care warranty. As a consequence, I decided to rebuild the OS and applications from scratch and bring back my user files from backup. I among other things, I reinstalled all of CS4 as well as CS5 (and I had to put CS3 back too for reasons having to do with printing calibration images for Quad Tone RIP). Then, I went to reinstall the plugins that I needed. I use Nik Software, onOne, Portrait Professional and various Topaz plugins. To my recollection, most of these install in PS CS3, CS4, CS5, Aperture, and Lightroom. In short, it is not that I've copied or moved plugin folders from one application folder to another, just that the installers automatically detect the presence of the various applications and put the various plugins into each, as appropriate.
    The only 32-bit plugins that I have that don't fit into this category are from Vincent Versace. He provides special versions of certain Nik plugins (Tonal Contrast, Contrast Only, etc) that function with some Acme Educational extensions for performing B&W conversion, sharpening, blah blah blah. These plugins are only 32-bit and the extensions are only CS5 compatible. I've installed these ones only into CS5; so, you've got me. OTOH, I've had these from Vincent as soon as CS5 was available; and they've worked so far without problems. Perhaps I should just edit the extensions so I could use the latest plugins direct from Nik instead of the Versace special editions...
    I've checked fonts and repaired permissions. I am presently going through the rather tedious process of disabling plugins and extensions to see if anything yields consistent results. The rather random arrival of the strangeness makes ensuring that a change is really having an effect more difficult to validate, as you will appreciate.
    I apologize for my long-winded original post. I add all of the detail so that anyone who'd experienced similar strange behaviors might properly pattern-match what they were seeing. On the one hand, in finding the cause of a problem, you look for what's changed; and theoretically nothing is new. On the other hand, there's always so much changing behind the scenes with automatic updates of this, that, and the other thing that it's impossible to make the claim that nothing's new. 

  • Strange wine behavior, home directory permission change!!

    hi all, archers.
    i'm an arch user since early 2007 and this is my first post. Since now i've always found every information needed and enjoyed this great distribution.
    btw, now i have a strange behavior with last version of wine in extra repository (0.9.61).
    situation:
    clean wine install, w/o .wine prefix from previous version creation (i always redo prefix creation every new version).
    the fact:
    after wineprefixcreate, as usual, i execute winecfg for the last personalization and sound interface selection.
    fortunately and surprisingly, i notice that my home directory AND my desktop directory have completely screwed up permission. they was set to 777!!! aargh!
    my home desktop is not so critical mission but i think this is not good!!! 
    after some test, i can say, in this my strange personal experience, that it's winecfg fault. wineprefixcreate don't change any permission. this happen only after the first winecfg execution AND only the first time. following execution of winecfg does not trigger the fault.
    googled anywhere but it seems that i'm the only one in the world with this wine strange behavior. Is it true? any else?
    a little report of my config:
    (multi device are all raid5)
    /dev/sda2    ext2     /boot
    /dev/md0     ext3    /
    /dev/md1     ext3    /home
    ... other devices in irrelevant mount point.
    not so strange rc.conf
    untouched /etc/skel
    not so strange gnome DE on top of GDM
    not so strange any else 
    thanks in advance and good arching

    Solved in another Thread

  • Strange SQL problem (order by fieldname@text)

    Hi all,
    I 'm taking a strange problem in Oracle 9i.
    Why does this query work correctly? (look the order by clause)
    SELECT foo1,
    FROM vw_prat_vend1
    WHERE 1=1
    AND (ce_vcod = '30888.03P34')
    AND (TRIM (ce_piva) = '01931450363')
    AND ( ce_dofl IN ('VAR') )
    ORDER BY cd_prat@text
    It seems that Oracle ignores it.
    In the 11g version the same query goes wrong.
    Thank you.

    Indeed, very strange.
    I cannot come up with an explanation
    SQL> Select distinct object_type from user_objects Order by object_type@foofoo desc
    OBJECT_TYPE       
    VIEW              
    TYPE BODY         
    TYPE              
    TRIGGER           
    TABLE             
    SYNONYM           
    SEQUENCE          
    SCHEDULE          
    RULE SET          
    RULE              
    QUEUE             
    PROCEDURE         
    PACKAGE BODY      
    PACKAGE           
    LOB               
    JOB               
    JAVA SOURCE       
    JAVA CLASS        
    INDEX             
    FUNCTION          
    EVALUATION CONTEXT
    DATABASE LINK     
    22 rows selected.
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production   
    1 row selected.

  • Strange SQL Problem

    I'm having a really strange problem and I hope someone here can explain why this is happening:
    I run this query, it should only return segment2 if the first character is alpha and the 2nd character is number.
    SELECT
    gcc.segment2
    ,SUBSTR(apps.gl_flexfields_pkg.get_description_sql( gcc.chart_of_accounts_id,2,gcc.segment2),1,40) segment2_desc
    FROM gl_code_combinations gcc
    WHERE (REGEXP_LIKE(substr(segment2, 1,1), '^[a-zA-Z]*$') AND
    SUBSTR(segment2, 2,1) NOT LIKE '%[^a-zA-Z]%');
    So it returns the correct results segment along with the description:
    X01234
    X12345
    X54321
    etc.
    Run same query with enabled _flag added to where clause and expressions don’t work:
    SELECT
    gcc.segment2
    ,SUBSTR(apps.gl_flexfields_pkg.get_description_sql( gcc.chart_of_accounts_id,2,gcc.segment2),1,40) segment2_desc
    FROM gl_code_combinations gcc
    WHERE (REGEXP_LIKE(substr(segment2, 1,1), '^[a-zA-Z]*$') AND
    SUBSTR(segment2, 2,1) NOT LIKE '%[^a-zA-Z]%')
    AND gcc.enabled_flag = 'Y';
    Returns a list of just one segment value with it's description:
    DT101
    DT101
    etc.
    Why is this happening? I'm intending to use this query in a value set. Just trying it out in Toad and SQL Developer right now.

    Hi,
    MinnieB wrote:
    I'm having a really strange problem and I hope someone here can explain why this is happening:
    I run this query, it should only return segment2 if the first character is alpha and the 2nd character is number.
    SELECT
    gcc.segment2
    ,SUBSTR(apps.gl_flexfields_pkg.get_description_sql( gcc.chart_of_accounts_id,2,gcc.segment2),1,40) segment2_desc
    FROM gl_code_combinations gcc
    WHERE (REGEXP_LIKE(substr(segment2, 1,1), '^[a-zA-Z]*$') AND
    SUBSTR(segment2, 2,1) NOT LIKE '%[^a-zA-Z]%');
    So it returns the correct results segment along with the description:
    X01234
    X12345
    X54321
    etc.
    Run same query with enabled _flag added to where clause and expressions don’t work:
    SELECT
    gcc.segment2
    ,SUBSTR(apps.gl_flexfields_pkg.get_description_sql( gcc.chart_of_accounts_id,2,gcc.segment2),1,40) segment2_desc
    FROM gl_code_combinations gcc
    WHERE (REGEXP_LIKE(substr(segment2, 1,1), '^[a-zA-Z]*$') AND
    SUBSTR(segment2, 2,1) NOT LIKE '%[^a-zA-Z]%')
    AND gcc.enabled_flag = 'Y';
    Returns a list of just one segment value with it's description:
    DT101
    DT101
    etc.
    Why is this happening? The value you're displaying is not the same as the value used in the regular expressions. The function get_description might return 'DT101' when its 3rd argument (segement2) is something like 'T101'.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, CREATE FUNCTION statements for any functions needed, and also post the results you want from that data.
    Feel free to simplify the problem. It looks like this whol;e question hinges on gcc.enabled_flag, gcc.segment2 and the value that get_description returns when that segment2 is an argument. In that case, you can post CREATE TABLE and INSERT statements for a single table with 3 columns: enabled_flag, segment2, and f (which is the same as your function results).
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}
    Edited by: Frank Kulash on Mar 1, 2013 11:19 AM
    Apparantly, I mis-read the problem. The reply above is appropriate for a question that makes sense, not what was posted. My apologies.

  • OAM process takes 100% CPU (strange SQL in it)

    Hi!
    I have noticed on our PROD that on eprocess is taking more then 7 hours with 100% CPU load. Here is brief detail about it:
    03:08:12 apps@PROD> @si 547
    Current SQL....have result if session is active....
    SQL_FULLTEXT
    Select count(distinct(R.Request_ID))  From  Fnd_Concurrent_Programs_vl CP,  Fnd_User U, Fnd_Concurr
    ent_Requests R, Fnd_Responsibility_Tl RES,  Fnd_Application_vl A
    Elapsed: 00:00:00.06
    SID_SERIAL  STATE      OSUSER     TERMINAL   LOGON           SEC_WAIT LAST_CALL
      547,42977 WAITED SHO prod       unknown    12.01 12:50:54     26423     26425
                RT TIME
    Elapsed: 00:00:00.01
    SID_SERIAL      AUDSID DBPID  APPPID USERNAME   MODULE        ACTION          STATUS   STATE
      547,42977   11087548 10585  1344   APPS       OAM                           ACTIVE   WAITED SHO
                                                                                           RT TIME
    Elapsed: 00:00:00.01
    03:15:41 apps@PROD> As you can see, SQL is prety strange and it's plan is several Gigs(!!!) Because module is OAM I have no guts to kill it just like that. Is there any way to see what is this really and could it be killed (Do I have to restart concurrent) or what?
    THX in front.
    Damir Vadas
    Edited by: Funky on Jan 13, 2009 3:15 AM

    After some KGB approaches, one user with System Administrator responsibility has admit that he has run by mistake u query!
    So be aware whom do you expose System Administrator responsibility!
    Case closed!

Maybe you are looking for

  • Calling more than one action at a time in fault policy file

    hi can any one tell me how to refer two actions at a time in faultpoicies.xml file . To make it clear to you i want to call both rethrow action and human intervention action after retry . please refer below faultpolicy file <?xml version="1.0" encodi

  • How to block material issuing after sales order invoiced?

    As the subject mentioned,  could be a possible to block material issuing since sales order invoiced, or in the another words, after the sales order completed? Or could be a possible to set sales order as closed, and then material issuing related with

  • IPhoto 5 import problems

    I have a Canon PowerShot s40 with 128 mb card. I have about 71 photos on the card. When i connect with USB cable, the imaged import fragmented or combined with other photos. On the camera they view fine. I also get a message window after I cancel the

  • ITunes starts up automatically

    recently, my iTunes started starting up automatically. i read in an old archived forum to solve this problem just disable any iTunes widgets and that took care of the problem. has anybody else had this problem? and why after using the widget for quit

  • Zen Touch 40GB file transfer probl

    This is my second player, the first one was set off for testing and this new one has the same problem. Dunno whats up with it, been on the phone to support and took all the steps, formatted it, reset it and all that over and over.. Whenever I go to p