Insert hangs due to pk violation (plsql)

Hello everybody,
i'm unable to cope with the following problem:
1) suppose to have a table with a single column and it's primary key
CREATE TABLE TABUSRLG
TUL_CODUSR VARCHAR2(30 BYTE)
ALTER TABLE TABUSRLG ADD (
PRIMARY KEY
(TUL_CODUSR) ENABLE);
2) from a session execute
insert into tabusrlg values 'A';
and DON'T rollabck or commit
3) from another session try the same insert
insert into tabusrlg values 'A';
this insert hangs (and i agree with this)
but ...
Is there a way to prevent the insert to hangs ? i'd like tpo skip the insert in this case without waiting for a timeout.
Usually when i want to update a record i execute a select for update nowait ;
if the instruction throws an exception the record is locked and i don't try the update
I'm looking for something similar but in this case i don't find a way to sort out it
Any suggestion ?
Many thanks in advance
Stefano

Stefano,
I am still not clear Why should Oracle hold a Lock and prevent from another session Inserting data?
I was not able to replicate the situation. Can anybody send steps to replicate the scenario?
SESSION 1:
CREATE TABLE test_table (col varchar2(10));
select username,
a.sid,
a.type,
lmode,
request
from v$lock a, v$session b
where a.sid = b.sid
  AND username = USER;
USERNAME     SID     TYPE     LMODE     REQUEST
PURVESH          23     AE          4          0
PURVESH          17     AE          4          0
PURVESH          143     JQ          4          0
PURVESH          143     AE          6          0
PURVESH          23     TO          3          0 
insert into test_table values ('A');
select username,
a.sid,
a.type,
lmode,
request
from v$lock a, v$session b
where a.sid = b.sid
  AND username = USER;
USERNAME     SID     TYPE     LMODE     REQUEST
PURVESH          23     AE          4          0
PURVESH          17     AE          4          0
PURVESH          143     JQ          6          0
PURVESH          143     AE          4          0
PURVESH          23     TO          3          0
PURVESH          23     TM          3          0
PURVESH          23     TX          6          0
-- As you see here a Table Row Level lock (TX) and a Table Lock (TM) is placed to prevent Table Structure modification.
SESSION 2:
insert into test_table values ('B');
select username,
a.sid,
a.type,
lmode,
request
from v$lock a, v$session b
where a.sid = b.sid
  AND username = USER;
USERNAME     SID     TYPE     LMODE     REQUEST
PURVESH          23     AE          4          0
PURVESH          17     AE          4          0
PURVESH          143     JQ          6          0
PURVESH          143     AE          4          0
PURVESH          23     TO          3          0
PURVESH          17     TM          3          0
PURVESH          23     TM          3          0
PURVESH          17     TX          6          0
PURVESH          23     TX          6          0
The above data proves that another session was not prevented from inserting a record into the same table. SID 17 has placed another TX and TM in Mode 3.I could not understand why are you thinking of alternatives without finding out where the actual problem lies?
I would recommend you to check out what locks are being held on your table and investigate the reason.
You can definitely let us know if you face any issue, just ensure to post appropriate data for our analysis.
Regards,
P.

Similar Messages

  • How to reduce buffer busy waits, session hanging due to buffer busy waits

    Hi,
    How to reduce buffer busy waits, session hanging due to buffer busy waits.
    Thanks,
    Sathis.

    When I see through enterprise manager I see lot of
    tables with buffer busy waits.
    Is there any way by table name we can check the
    blocks info.
    The simple way is to look at the SQL statement and corresponding table name?
    P1=file#, P2=block#. You can extract segment name(table or index) using this info.
    Query v$bh like following:
    SQL> select file#, block#, class#, objd from v$bh where file# = P1 and block# = P2;
    SQL> select object_name from all_objects where object_id = <objd>;See following doc:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1051.htm
    Or you can dump block:
    SQL> alter system dump datafie <P1> block <P2>;Some excerpts from block dump:
    scn: 0x07df.17e70782 seq: 0x01 flg: 0x04 tail: 0x07822301
    frmt: 0x02 chkval: 0x61d0 type: 0x23=PAGETABLE SEGMENT HEADER
    Map Header:: next  0x00000000  #extents: 1    obj#: 55881  flag: 0x10000000>
    Can we do something at table level that will reduce
    the waits.
    Yes, some methods are known. But before thinking of that, you must verify which block class and which access are involved.
    Typo... always. :(
    Message was edited by:
    Dion_Cho

  • "LabVIEW FPGA: The compilation failed due to timing violations, but there is no path information because the timing violations are not of type PERIOD

    The compilation of my labview fpga vi fails with the error message "LabVIEW FPGA:  The compilation failed due to timing violations, but there is no path information because the timing violations are not of type PERIOD".
    In the 'final timing (place and route)' report, the requested frequencies are all below the maximum frequencies and the compilation error message is only displayed at the very end on the 'summary' page.
    I tried to optimize my labview fpga vi with pipelining, but had no success.
    Can anybody offer some advice on how to debug fpga code with this error? Is this really a timing error or something else?
    Software:
    Labview 2011, fpga 2011, xilinx tools 12.4 sp1
    Hardware:
    NI PXIe-1071 Chassis
    NI PXIe-8108 Embedded controller
    NI PXIe-7965R FPGA FlexRIO FPGA module
    NI 5761 250 MS/s 14 bit Analog input digitizer
    The Xilinx log of the compilation run is attached.
    Also, this issue was already discussed in this thread ~6 months ago, but no satisfying answer was offered so far...
    Thanks,
    Fabrizio
    Attachments:
    xilinxlogc.txt ‏2313 KB

    Hi Kyle,
    the problem is: I have one computer which compiles the VI successfully and a second one which shows that error. Both use the same software setup (LV2011SP1+RT+FPGA from DS2012-01). Both use the same project file - atleast SVN shows no difference.
    - You can have one FPGA VI where one computer is compiling successful and a second one complains. (Btw. I have a SRQ running in Germany on this topic.)
    - More problems: After successful compiling on first computer and transferring all to second computer (using SVN, including the full project folder with all files like bitfiles, lvproj, and everything) the second computer is unable to start the RT executable due to error "FPGA VI needs to recompile". Solution so far: Call the FPGA-OpenReference with the bitfile instead of the VI (as I used to do until now)...
    - More problems: After modifying the FPGA-OpenReference to use the bitfile (on the 2nd computer) and transferring all the files back to the 1st computer (using SVN as before, including the whole project) the 1st computer complains: FPGA-OpenReference is creating a different reference than is used in the VI. So what happens here? On one computer my VI is ok, the reference is typed correctly. Transferring all the files to a different computer the VI isn't ok anymore due to changes of the reference??? You know: all files are the same: lvproj, FPGA bitfile didn't change, cRIO reference didn't change...
    All those problems didn't occur on my RT-FPGA projects in LV2010SP1. I'm not pleased...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Compilation failed due to timing violations, Getting Xflow error and resources over use.

    Hi,
    I am extensively using Fixed point math library functions which i have downloaded from NI website in my FPGA application.I am getting following errors while compiling the code.
    I would like to know is there any limitations in using fixed point functions?
    I am configuring all funtions as a 64 bit word length and 32 bit integer length in cofig parameter set up and all are outside the timed loop.
    Apart from below error it is occupieng LUT's 300% in one simple VI (mathematical calculations using fixed point functions).
    So i would like to know is there any way to optimize the code?.
    Status: Compilation failed due to timing violations.
    The compile process reported a timing violation.
    Suggestions for eliminating the problem:
      * For Timed Loops with timing violations
          - Reduce long arithmetic/combinatorial paths
          - Use pipelining within Timed Loops
          - Reduce the number of nested case structures
      * Reduce clock rates if possible
      * Recompile
    Refer to the LabVIEW Help for more information about resolving compilation errors. Click the Help button to display the LabVIEW Help.
    Compilation Summary
    Device Utilization Summary:
       Number of BUFGMUXs                        2 out of 16     12%
       Number of External IOBs                 214 out of 484    44%
          Number of LOCed IOBs                 214 out of 214   100%
       Number of MULT18X18s                     69 out of 96     71%
       Number of SLICEs                       4387 out of 14336  30%
    Clock Rates: (Requested rates are adjusted for jitter and accuracy)
      Base clock: 40 MHz Onboard Clock
          Requested Rate:      40.408938MHz
          Achieved Rate:       36.974044MHz    <<<=== Timing Violation

    lion-o wrote:
    The Fixed Point Library is certainly not a demo, and we encourage you to use it extensively.
    Really? "Demo" is perhaps too strong a word, but the NI Labs page says that the toolkits there "aren't quite ready for release" and are "experimental prototype"s. My understanding was that they work, but are only meant to show potential future products and get feedback on them. If this is not the case, perhaps the wording needs to be changed.
    I know I wouldn't want to be using something throughout my code and then find out that it is not supported when the next LV version came out because it was only a prototype. Can you promise support into the future for these? If you can't, that should be clearly stated.
    Try to take over the world!

  • LABVIEW APPLICATION HANGS DUE TO INSUFICIENT MEMORY

    I AM USING LABVIEW 7.1. I BUILD ONE APPLICATION. IN THAT APPLICATION I USED MSCOMM ACTIVEX FOR SERIAL COMMUNICATION TO MY PLC. ALSO I USED TOOLBAR , STATUS BAR ACTIVEX IN MY APPLICATION. IT WORKS OK. BUT AFTER SOME TIME SOFTWARE GET HANGS DUE TO INSUFFICIENT MEMORY. I FOUND THAT AFTER 3SECOND THAT EXE SIZE IN MEMORY GET INCREASED BY 4K. WHY DON'T KNOW. PLEASE TELL WHY MEMORY SIZED INCREASED.

    How can we say why, without seeing your code ?
    -Check if you open references and not closing them.
    -Use "Performance and Memory" to see in which vi, the memory is increased

  • This search page has been blocked due to a violation of terms of use

    I had my 4 year old grandson on my laptop and now when i open Mozilla i get the message: this page has been blocked due to a violation of terms of use, sorry for the temporary inconvenience.
    i don't know if he did something on the search page. I tried reinstalling firefox and it keeps on giving me the message

    Do you know what the URL is of the web page you are trying to access is it depending on your country something like: http://www.google.co.uk/firefox?client=firefox-a&rls=org.mozilla:en-GB:official
    What is the URL of the message that you get ?
    If the message is from Mozzila, I do not know if the contact email on the [[Terms of Service]] page may be of help. It strikes me as rather odd if someone can accidentally break ToS on either Google or a Mozilla site accidentally, especially a four year old child.

  • Essbase server is hanging due to BSO applications

    Hi All,
    We upgraded from 9.3.1 to 9.3.3 in august and since then we are having issues. We have about 12 BSO applications, Size is 2GB each. After the upgrade when the users do some operations sucn as rerteval or outline edits etc the essbase hangs and we have to reboot to resolve this issue but after sometime (1 hour later) on performing the same operations it hangs again.
    We initially thought it is the server problem, so we migrated all these 12 apps to 3 diferent servers and the other server also started hanging due to these apps. SO this solidifies that there is something wrong in these BSO applications...Any ideas????
    System info: Windows environment
    sever: windows server 2003
    hyp - 9.3.3
    Oracle support also jumped in but could not resolve the issue.
    Any help would be appreciated.
    Thanks!!!

    Have a look on Essbase conf file
    for netdelay and net recount try increaseing 1000 each and look for diffrence
    Also look on avaiable RAM on server. Allot 2 gb per application
    let say you have 12 app then 12*2=24 + 6 Gb i.e=30gb so better get 32gb
    up to my understanding since ram seq goes 8 ,16, 32, 64
    also look at your processor how many core have alloted
    Have a read on :http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/frameset.htm?part_optimize.html

  • IAS 6.5 requests hanging due to session deadlocks

    In our application on IAS 6.5, we are seeing requests hang due to PlatformNASSession.invalidate() getting stuck. At the time that this happens, our cpu utilization shoots to 100%. We're not sure if the cpu usage is the cause, the effect, or unrelated to the session hanging but the two problems seem to surface at the same time. Is there any known problem that causes the sessions to get hosed up?
    The only way we're able to fix this problem is to kill -9 the kjs process (only 1 of our 4 breaks at a time) that is using all the cpu. At that point, the kjs is automatically restarted and everything begins to work fine again. However, everything going on inside that kjs is lost and the system is running at a crawl in the meantime.
    Here is a stack trace of one of the threads that's getting stuck:
         "Thread-567" prio=5 tid=0x3858f0 nid=0x25f waiting on monitor [0xa9d7e000..0xa9d7fc68]
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:420)
              at com.netscape.server.servlet.platformhttp.PlatformNASSession.invalidate(Unknown Source)
              at com.bankofamerica.ui.servlet.action.authentication.LogoffAction.perform(LogoffAction.java:42)
              at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1785)
              at com.bankofamerica.ui.servlet.BOAActionServlet.processActionPerform(BOAActionServlet.java:68)
              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1584)
              at com.bankofamerica.ui.servlet.BOAActionServlet.process(BOAActionServlet.java:41)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown Source)
              at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown Source)
              at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
              at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
              at com.kivasoft.thread.ThreadBasic.run(Native Method)
              at java.lang.Thread.run(Thread.java:484)
    Here is the ias-web.xml that is seeing the issues:
         <session-info>
              <impl>distributed</impl>
              <timeout>240</timeout>
              <timeout-type>last-access</timeout-type>
              <secure>false</secure>
              <domain/>
              <path/>
              <scope/>
         </session-info>

    Hi! have you resolved this issue? Right now we are also experiencing the same problem.
    We're using IAS6.5 SP1, but to no avail when the incoming requests hangs, IAS doesnt generate core dump. As basis for our investigation, we just rely on the IAS Logs, but we couldnt find any abnormalities recorded on the logs that could help us resolve the problem.
    I appreciate any help from you.
    Best Regards,
    Rachele

  • Random freezes with INSERT-HANG-DETECTED in system log

    Hi,
    Since a few months I am experiencing random freezes on my early 2011 MacBook Pro 15". Sometimes they occur every few minutes and sometimes they can be away for hours. During the freeze the system is not responding and often a spinning beachball is shown. After the freeze the system resumes to work as normal.
    In the system log (/var/log/system.log) I noticed the following messages which seem to have a timestamp corresponding to the freeze:
    WebProcess[151]: INSERT-HANG-DETECTED: Tx time:28.505937, # of Inserts: 1, # of bytes written: 4875, Did shrink: NO
    Does anyone know what these messages mean?
    It doesn't seem to be related to the application that is in use during the freeze. Most of the time I only use Mail, Safari, Calendar, Terminal and Preview. My system (10.6.8) is fully up-to-date. The Activity Monitor does not show exceptional CPU or Memory usage.
    What could also be relevant is that the freezes started to appear a week after I replaced a defective Hitachi HDD with a Crucial M4 SDD.
    Does anyone have had the same issues with this SSD?
    Thanks in advance for any help.
    Maarten

    This is an update to the question above.
    I put in the original HDD and had the same issues. At one time it didn't even boot anymore. Then I sent in my MBP for repair. They first replaced the HDD with no success. Then they replaced the logic board and all issues dissapeared.
    Maarten

  • Issue with INSERT INTO, throws primary key violation error even if the target table is empty

    Hi,
    I am running a simple
    INSERT INTO Table 1 (column 1, column 2, ....., column n)
    SELECT column 1, column 2, ....., column n FROM Table 2
    Table 1 and Table 2 have same definition(schema).
    Table 1 is empty and Table 2 has all the data. Column 1 is primary key and there is NO identity column.
    This statement still throws Primary key violation error. Am clueless about this? 
    How can this happen when the target table is totally empty? 
    Chintu

    Nope thats not true
    Either you're not inserting to the right table or in the background some other trigger code is getting fired which is inserting into some table which causes a PK violation. 
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Unable to insert row in object table from plsql block

    I have table called test based on an object type. When I issue an insert statement from sqlplus, the row is inserted. The exact same sql statement in a plsql block gives the error below. Any ideas? (it is not a constraint problem).
    SQL> insert into test values( 3,2,1,1,'asp',1,'mach' );
    1 row created.
    SQL> begin
    2 insert into test values( 3,2,1,1,'asp',1,'mach' );
    3 end;
    4 /
    insert into test values( 3,2,1,1,'asp',1,'mach' );
    ERROR at line 2:
    ORA-06550: line 2, column 16:
    PL/SQL: ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-302: component 'DOCUMENT' must be declared
    ORA-06550: line 2, column 4:
    PL/SQL: SQL Statement ignored
    (ddl)
    CREATE OR REPLACE type document as object
    DOC_ID NUMBER (38),
    BATCH_ID NUMBER (38),
    STATE NUMBER (2),
    TRANSIENT NUMBER (2),
    ASP VARCHAR2 (20),
    USER_ID NUMBER (6),
    MACHINE VARCHAR2 (30),
    MEMBER PROCEDURE setState,
    MEMBER function getState RETURN NUMBER
    ) not final;
    create table test of document;

    Hi Adam
    You need to instantiate your object type in your insert statement(while doing through PL/SQL block), so try like this
    Insert into test values(document(1,2,'CO',55,'xyz','kkk','PENTIUM'));
    The reason you were successful through SQLPLUS was that, SQLPLUS automatically instantiate the values into object type.
    Qurashi

  • Only select statements work (update/insert hang)

    Hi, I am running CF MX version 7,0,2,142559 Standard Edition
    and ColdFusion is hanging everytime I attempt an insert or update
    statement again Oracle 8i and 9i using the jdbc thin driver and an
    odbc socket driver.
    Select statements work fine. I have tried everything I could
    think of and I get the same results. All rights are given to the
    datasource and the user. I can do insert and update statement via
    another application (Toad) with the same Oracle user.
    Any suggestions??? I don't see any hot fixes for this but
    that doesn't mean one doesn't exist.
    Also, many times it causes the system cpu utlization to stick
    at 100% until I restart ColdFusion.
    Thanks for any help.

    Hi,
    I had similar results on Oracle 10G while using cfmx 7.02. I
    actually updated the macromedia_drivers.jar from the coldfusion
    support site.
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=42dcb10a
    An update to the datadirect JDBC drivers. Try that. If not,
    make sure you have the latest JDBC drivers from Oracle. Since
    previous versions would make the update/insert;s hang.

  • Mail.app hang due to postgresql permissions?

    I did a time machine restore, and all is fine except I can't use mail.app.  The app hangs before the GUI loads. The console is reporting this (over and over again):
    org.postgresql.postgres: 2011-07-21 08:40:56 EDT FATAL:  could not create log file "/Library/Logs/PostgreSQL.log": Permission denied
    com.apple.launchd: (org.postgresql.postgres[912]) Exited with code: 1
    So it seems mail.app can't use its database, due to a change in user-group permissions?  How can I repair this without resorting to a clean reinstall of Lion?

    Hi,
    I tried to bind my OD Lion server with the Directory Utility to OD itself so to the local database. Bad idea and the only way getting server up and running again was to restore TIme Machine Backup.
    After the restore Profile Manager did not work anymore (Error reading config). With the two lines mentioned here in the threat I was able to fix this problem:
    sudo touch /Library/Logs/PostgreSQL.log
    sudo chown _postgres:admin /Library/Logs/PostgreSQL.log
    I don't know what I would have done without that. I have to say I'm using Mac only for a few months now but problems with Windows machines are really nothing compared with what Mac OS is causing. It's a real disapointment for such an amount of money. Maybe Windows does not look that nice and fancy but behind the scenses there is at least good engeneering. Sorry for that lines. They don't belong here I'm just quite upset about this OS. Time Machine has saved me now two times from a absolute disaster by executing operating system tasks.

  • BSOD due to access violation in dfsc

    Our new (not yet production) file server (W2k12) crashed last night due to an access violation in dfsc.sys. Afaik it happened the first time, but I am not totally sure. I also was unable to find out whether this is a common problem with a known fix. Windbg
    output is:
    MODULE_NAME: dfsc
    FAULTING_MODULE: fffff80363a82000 nt
    DEBUG_FLR_IMAGE_TIMESTAMP: 5010aaed
    EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - Die Anweisung in 0x%08lx verweist auf Speicher 0x%08lx. Der Vorgang %s konnte nicht im Speicher durchgef hrt werden.
    FAULTING_IP:
    nt!RtlRemoveUnicodePrefix+7d
    fffff803`63e5e6fd 483919 cmp qword ptr [rcx],rbx
    CONTEXT: fffff88008692870 -- (.cxr 0xfffff88008692870)
    rax=0000000000000000 rbx=fffff8a068545920 rcx=0000000000000008
    rdx=fffff8a068545920 rsi=0000000000000801 rdi=0000000000000802
    rip=fffff80363e5e6fd rsp=fffff88008693270 rbp=fffffa804478eec0
    r8=fffff8a068545920 r9=0000000000000053 r10=0000000000000005
    r11=fffff8a05f0fc5f0 r12=fffffa804478ee58 r13=0000000000400000
    r14=0000000000000000 r15=fffff88001c19110
    iopl=0 nv up ei ng nz ac po cy
    cs=0010 ss=0018 ds=002b es=002b fs=0053 gs=002b efl=00010297
    nt!RtlRemoveUnicodePrefix+0x7d:
    fffff803`63e5e6fd 483919 cmp qword ptr [rcx],rbx ds:002b:00000000`00000008=????????????????
    Resetting default scope
    DEFAULT_BUCKET_ID: WIN8_DRIVER_FAULT
    BUGCHECK_STR: 0x3B
    CURRENT_IRQL: 0
    LAST_CONTROL_TRANSFER: from fffff88001c2be61 to fffff80363e5e6fd
    STACK_TEXT:
    fffff880`08693270 fffff880`01c2be61 : fffff8a0`685458e0 fffffa80`4478ee20 fffffa80`4478eec0 fffffa80`4478ee20 : nt!RtlRemoveUnicodePrefix+0x7d
    fffff880`086932a0 fffff880`01c1b604 : fffff8a0`31531340 fffffa80`4478ee20 fffffa80`4478eec0 fffffa80`4478ee20 : dfsc+0x1ae61
    fffff880`086932e0 fffff880`01c29799 : 00000000`00000000 fffff880`08693380 fffff8a0`0ac77d18 00000000`00000000 : dfsc+0xa604
    fffff880`08693340 fffff880`01c1d7ef : fffff880`01c19140 fffff880`08693500 00000000`ffffffff fffff8a0`31531340 : dfsc+0x18799
    fffff880`086933b0 fffff880`01c1dd01 : fffff880`01c19140 fffff880`08693470 00000000`ffffffff fffff880`08693508 : dfsc+0xc7ef
    fffff880`08693410 fffff880`01c1d9f9 : 00000000`00000000 fffff880`08693500 00000000`ffffffff fffff8a0`62436644 : dfsc+0xcd01
    fffff880`086934a0 fffff880`01c1dd01 : fffff8a0`f93fb250 fffff880`01c19130 00000000`00000009 fffff8a0`0ac77d18 : dfsc+0xc9f9
    fffff880`086934d0 fffff880`01c1ca72 : fffff8a0`f93fb250 fffff8a0`0ac77d10 00000000`00000009 fffff8a0`304b6590 : dfsc+0xcd01
    fffff880`08693560 fffff880`01c20151 : 00000000`00000001 fffff880`01c19110 00000000`00000000 fffff880`01c19110 : dfsc+0xba72
    fffff880`086935a0 fffff880`0205c411 : fffffa80`ac0495c0 fffff8a0`0ac77d10 00000000`00000000 fffff803`63b6c967 : dfsc+0xf151
    fffff880`08693620 fffff880`0205d4b6 : fffff880`086937a0 00000000`00000000 00000000`00000000 fffff880`086936d0 : mup!MupSurrogatePurgeNegativeCacheEntry+0x4975
    fffff880`08693680 fffff880`00a694ee : fffffa80`57593960 00000000`00000000 00000000`0000003e 00000000`00000270 : mup!MupSurrogateGetUncProviderDeviceObject+0x806
    fffff880`08693750 fffff880`00a9335d : fffffa80`590ed2e0 fffffa80`6c4b6d10 fffffa80`446fe0f0 00000000`00000801 : fltmgr!FltReleaseContext+0x90e
    fffff880`086937f0 fffff803`63eae818 : 00000000`00000000 00000000`00000005 fffffa80`575939f8 00000000`000007ff : fltmgr!FltGetRequestorProcessIdEx+0x189c1
    fffff880`086938a0 fffff803`63eab8c5 : fffffa80`4acf6cd0 fffffa80`4acf6cd0 00000000`00000000 fffffa80`44700190 : nt!NtAllocateVirtualMemory+0x5c98
    fffff880`08693a80 fffff803`63ebb238 : 00000000`00000000 fffff880`08693c48 00000001`00000040 fffffa80`4304b080 : nt!NtAllocateVirtualMemory+0x2d45
    fffff880`08693bd0 fffff803`63eb63de : 00000000`00000000 00000000`00000000 fffff8a1`b9575e01 ffffc0f0`7729e80a : nt!ObOpenObjectByName+0x258
    fffff880`08693ca0 fffff803`63ec48d9 : 000000a1`34a3e430 ffffc0f0`00100080 000000a1`34a3e438 00000000`00000000 : nt!ObCreateObject+0x6ee
    fffff880`08693d40 fffff803`63adb453 : 00000000`00000340 fffff803`63efa0c6 fffff880`08693df8 00000000`00000000 : nt!NtCreateFile+0x79
    fffff880`08693dd0 000007ff`345f313a : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KeSaveStateForHibernate+0x2a33
    000000a1`34a3e3c8 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x000007ff`345f313a
    FOLLOWUP_IP:
    dfsc+1ae61
    fffff880`01c2be61 41bbfeff0000 mov r11d,0FFFEh
    SYMBOL_STACK_INDEX: 1
    SYMBOL_NAME: dfsc+1ae61
    FOLLOWUP_NAME: MachineOwner
    IMAGE_NAME: dfsc.sys
    STACK_COMMAND: .cxr 0xfffff88008692870 ; kb
    Does anyone know about this problem and its cause?
    Thanks in advance,
    Christoph

    I came in this morning and found that one of my servers rebooted unexpectedly overnight.  A search based on details from the crash dump brought me here.  Looks like we're running into the same issue.  
    Hardware: HP DL580 g7
    OS: Server 2012 Standard
    The DFS Roles are NOT installed on this server, though we do have some DFS in use on other servers.  This server does have Deduplication installed and running, I wonder if that use the DFS driver for something?
    * Bugcheck Analysis *
    SYSTEM_SERVICE_EXCEPTION (3b)
    An exception happened while executing a system service routine.
    Arguments:
    Arg1: 00000000c0000005, Exception code that caused the bugcheck
    Arg2: fffff8028fe676fd, Address of the instruction which caused the bugcheck
    Arg3: fffff88008cb8870, Address of the context record for the exception that caused the bugcheck
    Arg4: 0000000000000000, zero.
    Debugging Details:
    EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    FAULTING_IP:
    nt!RtlRemoveUnicodePrefix+7d
    fffff802`8fe676fd 483919 cmp qword ptr [rcx],rbx
    CONTEXT: fffff88008cb8870 -- (.cxr 0xfffff88008cb8870)
    rax=0000000000000000 rbx=fffff8a04d1dde50 rcx=0000000000000008
    rdx=fffff8a04d1dde50 rsi=0000000000000801 rdi=0000000000000802
    rip=fffff8028fe676fd rsp=fffff88008cb9270 rbp=fffffa809e06f780
    r8=fffff8a04d1dde50 r9=0000000000000000 r10=0000000000000003
    r11=fffff8a002b15470 r12=fffffa809e06f718 r13=0000000000400000
    r14=0000000000000000 r15=fffff880019e1110
    iopl=0 nv up ei ng nz ac pe cy
    cs=0010 ss=0018 ds=002b es=002b fs=0053 gs=002b efl=00010293
    nt!RtlRemoveUnicodePrefix+0x7d:
    fffff802`8fe676fd 483919 cmp qword ptr [rcx],rbx ds:002b:00000000`00000008=????????????????
    Resetting default scope
    DEFAULT_BUCKET_ID: WIN8_DRIVER_FAULT
    BUGCHECK_STR: 0x3B
    PROCESS_NAME: rdpclip.exe
    CURRENT_IRQL: 0
    LAST_CONTROL_TRANSFER: from fffff880019f3e61 to fffff8028fe676fd
    STACK_TEXT:
    fffff880`08cb9270 fffff880`019f3e61 : fffff8a0`4d1dde10 fffffa80`9e06f6e0 fffffa80`9e06f780 fffffa80`9e06f6e0 : nt!RtlRemoveUnicodePrefix+0x7d
    fffff880`08cb92a0 fffff880`019e3604 : fffff8a0`35bde8f0 fffffa80`9e06f6e0 fffffa80`9e06f780 fffffa80`9e06f6e0 : dfsc!DfscRmUnlinkReferral+0x95
    fffff880`08cb92e0 fffff880`019f1799 : 00000000`00000000 fffff880`08cb9380 fffff8a0`5431f1c8 00000000`00000000 : dfsc!DfscCacheStore+0x410
    fffff880`08cb9340 fffff880`019e57ef : fffff880`019e1140 fffff880`08cb9500 00000000`ffffffff fffff8a0`35bde8f0 : dfsc!DfscGetDsDCReferral+0x121
    fffff880`08cb93b0 fffff880`019e5d01 : fffff880`019e1140 fffff880`08cb9470 00000000`ffffffff fffff880`08cb9508 : dfsc!DfscRmValidateDomainIterate+0x53
    fffff880`08cb9410 fffff880`019e59f9 : 00000000`00000000 fffff880`08cb9500 00000000`ffffffff fffff8a0`62436644 : dfsc!DfscValidateReferral+0x109
    fffff880`08cb94a0 fffff880`019e5d01 : fffff8a0`0bfde2d0 fffff880`019e1130 00000000`00000009 fffff8a0`5431f1c8 : dfsc!DfscRmValidateRootGetParent+0x79
    fffff880`08cb94d0 fffff880`019e4a72 : fffff8a0`0bfde2d0 fffff8a0`5431f1c0 00000000`00000009 fffff8a0`54dc3840 : dfsc!DfscValidateReferral+0x109
    fffff880`08cb9560 fffff880`019e8151 : 00000000`00000001 fffff880`019e1110 00000000`00000000 fffff880`019e1110 : dfsc!DfscCmValidateState+0x7e
    fffff880`08cb95a0 fffff880`01da4411 : fffffa80`aa256a20 fffff8a0`5431f1c0 00000000`00000000 fffff802`8fb75967 : dfsc!DfscSurrogateCreate+0x105
    fffff880`08cb9620 fffff880`01da54b6 : fffff880`08cb97a0 00000000`00000000 00000000`00000000 fffff880`08cb96d0 : mup!MupCallSurrogatePrePost+0xd1
    fffff880`08cb9680 fffff880`00b644ee : fffffa81`6b6ff080 00000000`00000000 00000000`00000029 00000000`00000270 : mup!MupCreate+0x766
    fffff880`08cb9750 fffff880`00b8e35d : fffffa81`6cb2ec80 fffffa81`63b3e990 fffffa80`9e773440 00000000`00000801 : fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x25e
    fffff880`08cb97f0 fffff802`8feb7818 : 00000000`00000000 00000000`00000005 fffffa81`6b6ff118 00000000`000007ff : fltmgr!FltpCreate+0x34d
    fffff880`08cb98a0 fffff802`8feb48c5 : fffffa81`6c459a90 fffffa81`6c459a90 00000000`00000000 fffffa80`9e76d630 : nt!IopParseDevice+0x173c
    fffff880`08cb9a80 fffff802`8fec4238 : 00000000`00000000 fffff880`08cb9c48 00000001`00000040 fffffa80`9d122f20 : nt!ObpLookupObjectName+0x806
    fffff880`08cb9bd0 fffff802`8febf3de : 00000000`00000000 00000000`00000000 fffff8a0`01d3ac01 ffff592b`2abb430d : nt!ObOpenObjectByName+0x258
    fffff880`08cb9ca0 fffff802`8fecd8d9 : 000000d9`b3a4e5e0 ffff592b`00100080 000000d9`b3a4e5e8 00000000`00000000 : nt!IopCreateFile+0x37c
    fffff880`08cb9d40 fffff802`8fae4453 : 00000000`0000039c fffff802`8ff030c6 fffff880`08cb9df8 00000000`00000000 : nt!NtCreateFile+0x79
    fffff880`08cb9dd0 000007ff`0d9c313a : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x13
    000000d9`b3a4e578 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x000007ff`0d9c313a
    FOLLOWUP_IP:
    dfsc!DfscRmUnlinkReferral+95
    fffff880`019f3e61 41bbfeff0000 mov r11d,0FFFEh
    SYMBOL_STACK_INDEX: 1
    SYMBOL_NAME: dfsc!DfscRmUnlinkReferral+95
    FOLLOWUP_NAME: MachineOwner
    MODULE_NAME: dfsc
    IMAGE_NAME: dfsc.sys
    DEBUG_FLR_IMAGE_TIMESTAMP: 5010aaed
    STACK_COMMAND: .cxr 0xfffff88008cb8870 ; kb
    BUCKET_ID_FUNC_OFFSET: 95
    FAILURE_BUCKET_ID: 0x3B_dfsc!DfscRmUnlinkReferral
    BUCKET_ID: 0x3B_dfsc!DfscRmUnlinkReferral
    Followup: MachineOwner

  • Process-controlled workflow hang due to dump

    Hi all,
    due to a temporary dump in an SRM 7 system, some document-related workflows are stucked... in other terms, these workflow processes have been started, the the dump occoured and by now, they seems to be stucked in "in process" state.
    Tecnically, these are not workflow in error, so SWI2_DIAG is not helpful.
    We'd like to unlock this situation and -eventually- restart the workflow process. How can we do it?
    Thanks in advance for your help and support.
    edit: system dump is now solved, which means, triggering the same workflow process will result in a success.
    Edited by: Matteo Montalto on Jun 30, 2011 4:34 PM

    Ok. There used to be OSS Note 1458380 - Process Controlled Workflow Restart Program, if the document is in "Awaiting Approval" Status.
    Or do the manual restart by using tcode SWUE (Event trigger)
    Object Category - ABAP Class
    Object Type - /SAPSRM/CL_WF_PDO_SC
    Event - READY_FOR_WORKFLOW
    Object Key - <DOCUMENT_GUID>
    Event Parameter - <SC Creator User ID>
    and Click "Create Event" button
    Use SWI1 to check whether the event is created and see whether the document is submitted for workflow triggering or use SWI6 to check for that SC document

Maybe you are looking for