Strange deadlock in multithreaded application

Hi all

I have an application with five threads working on the same database instance. The application is responsible for importing data from an external resource in a table called temporary_archive.

After data is validated and internally split and moved to other tables, the temporary_archive of the table should be cleaned to the top (this is done by a delete statement).

The delete statement is wrapped in a function within a package, because until the statement is executed, checks are performed. If all threads in the application can call this routine of cleaning needed. Here's a clip to make it clearer what is done:

begin
  if m_clean_all then
     delete from temporary_archive;
  else
     delete from temporary_archive
       where id = my_id and
             nvl(sequenz_nr, 0) = 0;
  end if;
exception when others then
  rollback;
end;

After a while of running, the application or better data reported a deadlock situation when executing the statement

delete from temporary_archive
       where id = my_id and
             nvl(sequenz_nr, 0) = 0;

All five threads try to run the delete statement at the same time with different my_id.

I tested this routine on two similar Oracle 11 g database. Instantly a test for a long time with a lot of data never led to the impasse, on the basis of data else it fails after a few imports. Each Thread has its own Session.

My question is:

How this could lead to a deadlock if the my_id is different and different table rows should be accessible?

~ Bjorn

My suspicion is that you do not have different my_ids at times.

However, why delete after validation/move?

Why not a TWG to remove on commit?

In addition, instead of your own version of parallelism, you might be able to use Oracle built parallel capabilities.

Tags: Database

Similar Questions

  • strange behavior of the application in vista

    Hello!

    Our firm has developed an application using the wacom tablet. It has been developed on Win XP and Labview 2010. Our client use Win Vista OS and knows a message «program stopped working...» "very randomly when using the application. We traced the problem down to a Subvi, which exports the measurement data and it appers that the program crashes when he enters a loop for, but not always and the application works without problem on Win XP and Win 7. How are your suggestions, which can change in the Subvi?

    The problem is solved: very happy smiley: I used the format based on string to write directly in the text file. Thanks for all the suggestions and the effort. I will attach my new VI if everyone will have similar problems in the future.

  • Strange behaviour of my application

    Hello

    I use Storm 2 with Verizon 3 g enabled.

    When I use my request with a Wi - fi it works OK but when I use it with data plan is not running properly.

    It doesn't give me all the data coming from the web service. and the map is not displayed correctly.

    So, I prepared a version of debugging to know what post URL is generated.

    Here is the record of service book

    When I debuged application, it gives me the following result

    Is the current record valid?: trueIs it Disabled: false
    
    Data is valid and is enabled
    
    UID at record0: MMS 50009Is the current record valid?: trueIs it Disabled: true
    
    Final User Id:null
    

    Is it possible to run the application as well on the data plan?

    WAP2 does not work on Verizon in the USA.

    You don't need any APN info with this carrier - you should be able to establish a direct TCP connection.

  • Strange ClassCastException ADF Mobile application

    Hello experts,

    I use JDev 11.1.2.4

    I have a custom provider class who is in charge of some elements by invoking the bean applicationScope method.

    I try to turn my right to selectItems object. I could list object essentially right, but suddenly face ClassCastException. But I could not find a solution on the internet.

    I know that these classes are exactly the same. (but increasingly I see on that package debugging time and range has no differences, as seen)

    Where is the problem? I read on the internet something about Chargers of different classes, but I couldn't reach first cause or solution.

    Please helpme

    brgds

    package com.accmee.mobile.supplier;

    import com.accmee.mobile.pojo.ServiceCategory;

    import com.acme.structure.util.datalist.SimpleListSupplier;

    import java.util.ArrayList;

    to import java.util.Collection;

    import java.util.List;

    Import javax.el.MethodExpression;

    Import oracle.adfmf.framework.api.AdfmfJavaUtilities;

    Import oracle.adfmf.javax.faces.model.SelectItem;

    SerializableAttribute public class ServiceCategorySupplier extends SimpleListSupplier

    {

    public ServiceCategorySupplier (boolean blankItemApplied)

    {

    Super (blankItemApplied);

    }

    public ServiceCategorySupplier()

    {

    Super();

    }

    Public Sub loadList()

    {

    Try

    {

    MethodExpression = me AdfmfJavaUtilities.getMethodExpression ("#{applicationScope.loginBean.loadCategories}", List.class, new class [] {}); / * This method of bean applicationScope loads via webservice consume via JavaAPI and works correctly returns the list with items * /.

    List categories = (List) me.invoke (AdfmfJavaUtilities.getAdfELContext (), new Object [] {});

    itemList.addAll (getConvertedToSelectItemList (categories, true)); Here password parameter in the method which is facing exceptional

    }

    catch (System.Exception e)

    {

    e.printStackTrace ();

    }

    }

    public String getListName()

    {

    return of the 'categories ';

    }

    public static Collection getConvertedToSelectItemList (list, boolean blankItemApplied)

    {

    Collection convertedCollection = new ArrayList();

    SelectItem selectItem = null;

    If (blankItemApplied)

    {

    selectItem = new SelectItem();

    convertedCollection.add (selectItem);

    }

    for (int i = 0; i < list.size (); i ++)

    {

    ServiceCategory superEntity = (ServiceCategory) list.get (i); Here's the ClassCastException, this bird exception line

    selectItem = getConvertedToSelectItem (superEntity);

    convertedCollection.add (selectItem);

    }

    Return convertedCollection;

    }

    public static getConvertedToSelectItem (superEntity ServiceCategory) SelectItem

    {

    SelectItem selectItem = new SelectItem();

    selectItem.setLabel (superEntity.getName ());

    selectItem.setValue (superEntity);

    return selectItem;

    }

    }

    I had to change my approach. So, I changed returnType loadCategories method for GenericType instead of my custom class.

    Then it worked like that.

    SerializableAttribute public class ServiceCategorySupplier extends SimpleListSupplier

    {

    public ServiceCategorySupplier (boolean blankItemApplied)

    {

    Super (blankItemApplied);

    }

    public ServiceCategorySupplier()

    {

    Super();

    }

    Public Sub loadList()

    {

    Try

    {

    MethodExpression = me AdfmfJavaUtilities.getMethodExpression ("#{applicationScope.loginBean.loadCategories}", List.class, new class [] {});

    List categories = (List) me.invoke (AdfmfJavaUtilities.getAdfELContext (), new Object [] {});

    list.addAll (categories);

    loadItemList();

    }

    catch (System.Exception e)

    {

    e.printStackTrace ();

    throw new AdfException (e.getMessage (), AdfException.ERROR);

    }

    }

    Public Sub loadItemList()

    {

    SelectItem selectItem = null;

    itemList = new SelectItem [list.size ()];

    ServiceCategory serviceCategory = null;

    for (int i = 0; i)<>

    {

    GenericType (GenericType) = list.get (i) serviceCategoryType;

    serviceCategory (ServiceCategory) = GenericTypeBeanSerializationHelper.fromGenericType (ServiceCategory.class, serviceCategoryType);

    selectItem = getConvertedToSelectItem (serviceCategory);

    itemList [i] = selectItem;

    }

    }

    public static getConvertedToSelectItem (superEntity ServiceCategory) SelectItem

    {

    SelectItem selectItem = new SelectItem();

    selectItem.setLabel (superEntity.getName ());

    selectItem.setValue (superEntity.getId ());

    return selectItem;

    }

    public String getListName()

    {

    return of the 'categories ';

    }

    }

  • Icons of applications do not respond!

    Since the release of El Capitan 10.11.5, some of my applications (specifically requests that launches other applications) are block when I left them, and they remain hovering on my dock. And no, ctrl + click > forcequit does nothing, and it does not even appear on the activity monitor. The strange thing is the applications themselves leave, leaving behind a shell of an icon sitting there in my dock. I can't reboot my computer because the thinking mac these icons are requests pending to stop smoking because they are forever does not and cannot continue to close. The only way to erase my docks of these stuck icons is to force a shut down that I'd avoid everytime I want to play games.

    Four requests (LolClient, League of Legends, Borderlands 2, Information System) to the right are all "shells" and those who still does not and can not be closed.

    • LolClient and League of Legends have been opened automatically through the right LeagueofLegends of the application of the steam app.
    • Borderlands2 was opened automatically via the application of steam, which, if some of you don't know, to the right of the dictionary application.
    • Information system has been opened through appleicon top left > about this Mac > report on the system.

    All this has happened recently, and I have no idea what caused it, the most recent update may

    Data sheet:

    • MacBook Pro (retina, 13 inches, early 2015)
    • Processor: Intel Core i5 at 2.7 GHz
    • Memory: 8 GB 1867 MHz DDR3
    • Graphics card: Intel Graphics Iris 6100 1536 MB

    Try keyboard shortcut to force quit open applications: command + shift + option + ESC press and hold for three seconds.

  • Application crashes when connecting remotely for debugging

    Hello again all you lovers forum useful!

    I'm debugging a strange behaviour in my application that does occur on a specific computer in special circumstances.  To do this, I have enabled debugging in my application and finally was able to see it as an option in the menu "Debug Application or Shared Library" on my local computer (I had to first find out the hard way that you cannot change the name of the application and have always run in debug mode, even if you change the name of the associated also .aliases and .ini files).

    When I try to connect to my request, the "connection status" displays lists of downloading my subVIs much and then finally downloading my main VI.  At this point, my main VI façade appears on my local computer.  However, everything freezes then, while on the remote computer, my application (waiting for correctly so that the debugger start) crashes with a generic Windows "...". has encountered a problem and needs to close"message.  If I click to more information, I see that the name is lvrt.dll (my application is usually not real-time, but it uses a timed loop or two).

    I would like suggestions as to what may cause this error and how to fix it.  Unfortunately, because it's a working application I can't post my code.  I'm using LabVIEW 2010 SP1, and two computers running Windows XP.

    Thanks in advance for your time!

    -Joe

    Well, I accidentally worked around the problem, although I never found the root cause.

    My applications MS Office had put by my it Department yesterday, and now when I compile my app, it tells me that a VI integrated Excel is broken, somewhere in the NIReport.llb folder, I added to the section 'always include' my construction specification application source file properties.  I removed NIReport.llb temporarily since I do not have the part of my application which is used to make this debugging and debugging now my application works.  Weird!  I was able to successfully debug my original problem that started this whole mess, though, so I'm happy with the final result.

    Now, I just get NIReport.llb working again.  I'm guessing there are probably an updated version to match MS Office 2010, which is my new version.  I had added NIReport.llb to support using "Easy text Report.vi" for printing.  Given that my app size dropped 50% when I got him out earlier, I can get another printing option, however.  I can solicit the opinions about it, but if so I'll so, in another thread to keep this one to.

    To anyone who has been reading this thread and thinking about how to solve my problem, thank you for your time!

    Until next time,.

    -Joe

  • Strange files in Local Settings\Temp

    I found some strange files on my XP Pro machine (I know that it is no longer supported), a thousand or more, and I don't think they were there before. They take a little memory (value 7gigs). The path is:

    C:\Documents and Settings\Computer\Local Settings\Temp

    The names of the files are: IMT1A0.xml, IMT1AOA.xml, etc. They open with IE, but I just have to watch them is only possible in a reader of C++. Looks like the files for the help and support center. Are they supposed to be there?

    [Original title: strange files]

    Some application programs you run/installed put them there.  All files in a TEMP directory can be deleted safely with the following minor exceptions:

    1. If a file is being used, Windows won't let you delete it

    2. If you have installed an application, there may be files in a TEMP directory that will be necessary to complete the installation after restart.  To deal with this possibility, simply restart the machine before you delete the files in the TEMP directory.

  • Error on the packaging: error 103: application.qnx is an unexpected element/attribute

    Hi all

    A week ago, I sent my application the second time signed, now I do this third time because accidentally I sent the request with the word "debug" on the icon.

    I'm trying to do anything with the process of signing using the excellent How - to's here here , but unfortunately I'm stuck on the first step, when I try to package I have strange error "error 103: application.qnx is an unexpected element/attribute" on the file my - app.xml.

    What is c? What should do?

    Thank you very much

    Because you have qnx tag in the file. Remove and everything in it - this tag and content belongs to blackberry - tablet.xml. Validator of Adobe (which gives you an error) air does not recognize as a first class citizen, then put all of the additional tags in the additional xml file.

  • XP mode: Applications & 'Negative' Color Scheme

    In the installation of Win 7 Pro new, clean, I installed successfully VPC and the Xp Mode and after preliminary audit everything works beautifully.  I usually start by opening the virtual computer, and then start the application needed. However, after I read in literature MS, you may simply click on the name of the menu application start and spawn the Xp mode and start the app, I tried it.   MasterCook and MS Streets & Trips usually open but Lotus 123, friend Pro, Word Perfect 12 and Quatro Pro all strangely open: their complete application window was inverted color (think negative old kodacolor or ecktachrome).  The functions of the application, but the operator goes crazy!

    Hi Billy,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    TechNet Forum

    http://social.technet.Microsoft.com/forums/en-us/w7itprovirt/threads

    Hope this information helps.

  • [MAF - AMPA] Strange behavior of the MAF with REST service

    Hi MAF Experts.

    I just noticed that there is a strange behavior in my application of the MAF. The first loading of the page, amx:page does not make its contents (of REST). However if I kill the app and relaunch the app, content appears.

    Pattern:

    1. Start of the CRG App
    2. Opening of session
    3. Dashboard (the content is rendered)
    4. Go to any other aspect (lets say a list of products)
    5. Open product list (content do not get returned)
    6. Kill the MAF application
    7. Start of the CRG App
    8. Dashboard (the content is rendered)
    9. Go to the product list
    10. List of products (content gets rendered)

    I put a few breakpoints on EntityCRUDService and RestPersistenceManager.

    So far it return the list of entities and display the correct data (from watches in debug mode)

    Last thing I noticed is the red color below. She defined the EntityList with the new value of REST (This displays a correct value).

    TaskExecutor.getInstance (.execute (isDoRemoteReadInBackground ())

    , () -> {

    Auto Sync all actions pending first, pass false for inBackground because

    We want to process actions pending before the reading distance

    getDataSynchManager (.synchronize (false));

    The list of entities < E > = executeRemoteFindAll();

    If (entities! = null)

    {

    When an error occurs (for example server is not available, the method returns the value zero)

    setEntityList (entities);

    }

    });

    Any suggestion?

    All the rest service are configured with AutoQuery = true in the persistence - mapping.xml

    See you soon,.

    Hendry

    Hendry,

    Thanks your testcase, I was able to understand the problem.

    It turns out that MAF 2.1 has problems dealing with the advanced way in which AMPA running background tasks with the help of a thread in all of features.

    We have slightly modified the implementation in AMPA to use one thread per function and now the update issue is resolved. I sent you a link to new construction.

    We will publish the new generation soon on GitHub so that others can benefit in the same solution.

    Steven Davelaar,

    Oracle Mobile A-team.

  • Strange bug hidden when the page is refreshed

    I have a really strange bug in an application.

    I have a report on the table which displays some O/N flags. The columns that display the flags are implemented as hyperlinks, so the user can reset the flags to "n" by clicking on the links.

    It is based on the following post:

    Processes necessary to remove line

    I did this by pointing the hyperlink to the same page and by assigning an item hidden on the page with an id of line, as shown in the above post.

    When the page loads, it has PL/SQL in front header area running SQL to define the indicators of "n" in the database. Right after that I use a process to clear the cache to reset the hidden element.

    It all works very well... when the user clicks on the hyperlink, the hidden element is filled and PL/SQL is running, then the hidden item is reset. If the user goes to another page and back, PL/SQL does not yet (because the hidden element is now empty).

    However, if the user clicks on the hyperlink, and they then refresh the page (F5), the PL/SQL is running again. Whenever they refresh the PL/SQL runs despite the cache for this element during the erasing. It seems as if the page refreshes is somehow the hidden item, remembered when the user has clicked on the hyperlink.

    I guess that by pressing F5 is to return all of the data, it sends the last time... How can I stop this from happening?

    Hello

    You can also use an approach using Ajax as described here: [http://apex.oracle.com/pls/otn/f?p=41715:17].

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • Import/export strange problem - region with lack of letters, etc...

    Hello

    I'm moving my request between two environments using export/import standard APEX process. Unforutnatelly I am facing a very strange problem - after import application, this is a very unusual way, for example:
    -on some pages, there's cut of html tags (< / HTML instead of < / HTML > at the end of the source).
    -some definitions of the region are also cut, not only at the end but also inside (FM instead OF, usually mistakes in the names of syntax, tables and columns)

    What is more interesting, when I change this errors and save the report, it does not record correctly as well. I have new errors and then in other places.

    But not only the letters are missing. Sometimes never table column attributes in the attributes report APEX poster tab errors (some inserted rows against each other, empty, alias or topics etc.).

    Only imported applications act in this way. Application exported and imported to the works of the same environment very well. I use APEX 3.0 with Oracle 10 g EE 10.2.0.1.0.

    Do you have any idea why?

    Kind regards
    Przemek

    I checked DAD and Web Toolkit version on the production server. It uses NLS_CHARACTERSET - EE8ISO8859P2 and PL/SQL Web Toolkit 10.1.2.0.0

    This installation has not been completed successfully. What are documented configuration required to install and configure APEX 3.0:

    http://download.Oracle.com/docs/CD/B32472_01/doc/install.300/b32468/post_inst.htm#CHDHCBGI
    http://download.Oracle.com/docs/CD/B32472_01/doc/install.300/b32468/pre_require.htm#BABGBJJD

  • Illustrator CC 2014 does not load under OSX 10.10.3

    We have a user using the latest version of illustrator 2014 CC which is locked during startup that just started last Friday.  It has been operational for the last month and a half without any problems.

    On the OSX activity monitor the recent Hang counter counts more every minute and seems to be hung on the Resources/TwirlTool.rsrc.

    We have uninstalled and reinstalled the application and run a loser as the casue of this deadlock.  Other applications CC open without any problem and our other two users do not experience this problem and they have a similar configuration.

    Any ideas/suggestions?

    Frank

    Frank,

    You can try to reinstall using the way complete three steps (the otherwise strange things may persist):

    (Check the box to delete the preferences), run the clean uninstall and reinstall.

    http://www.Adobe.com/support/contact/cscleanertool.html

  • vCPU distribution issues

    Hello

    I am trying to understand the virtual machines on the same physical host and their CPU usage.  I have a two processors four hearts in this host.  I have allocated 3 vCPUs and 2 vCPUs to the application server to the terminal server.  (once again both on the same physical host).  I also read on the assignment only 1 vCPU per VM, but have not yet tried.  What do you think of this information below?

    Application server:

    This shows the configuration of default resources: http://picasaweb.google.com/lh/photo/EzKHXVEHU49ShpPy6wDK5S3TS606dIvr41qRtVcvCu0?feat=directlink

    It shows a picture of the performance of the virtual machine: http://picasaweb.google.com/lh/photo/i-m_0e92bunQhGpU9jV3ny3TS606dIvr41qRtVcvCu0?feat=directlink

    Why is the max cpu 600 MHZ when I allocate two 2.5 ghz vCPU?  Is that the size of the chart just specced out for certain types of average use?

    Server terminal server:

    Which shows the configuration of default resources: http://picasaweb.google.com/lh/photo/EbD1hRLKnYBiY9WtqH6U8i3TS606dIvr41qRtVcvCu0?feat=directlink

    It shows a picture of the performance of the virtual machine: http://picasaweb.google.com/lh/photo/PvHV1_PcIyqKqV9HepSf-y3TS606dIvr41qRtVcvCu0?feat=directlink

    The max cpu this is 3000 MHZ when I'm allocating three 2.5 ghz vCPU? (once again the thoughts are welcome)

    Also, if I use integrated planning in ESXi, and I simply assign 1, 2 or 3, etc., vCPUs, the Scheduler uses all hearts to its tasks?  He only appears in the paintings of performance as 0, 1, 2 on the server terminal server in three vCPU and 0 and 1 on the application server?

    Thanks for your thoughts.

    Hi vm408,

    First, it is important to know what type of processor you have. In what concerns HyperThreading, which is on the number of cores logic and physical host compare.

    On the course of VMware, we discussed after that, and VMware trainer has indicated that:

    1 vmkernel always works on physical base 0. This is important when approve you carrots vCPU/physical.

    2. multiple vCPU help some time when you have a native (SQL, Exchange) multithreaded application. It can also act against when multiple virtual machines with several vCPU multithreaded application running, e.g.: host with 8 logical cores, has 2 x 4vCPU SQL each + 1 swap x 4vCPU = 12 vCPUs. To run the respective application each VM needs 4 cores to be ready. Tip: you VM is fine until you see CPU ready 2 > by all hearts or combined.

    3. it is not recommended, but guaranteed return, you can assign physical basis to vCPU (non-physical 0-based). Many benefits of virtualization will become unavalable, but some insulation and performance will be provided.

    If your host has hyperthreading processors, assign not strange vCPUs (5, 3, etc.). There is a tip - hyperthreading last processors are actually appears in the guest as hyperthreading OS and the same behavior, i.e. vCPU 1 is phisycal and vCPU 2 would be its logical side.

    With regard to your questions:

    If I give a two VM cores and another three VM cores, are their main resources that overlap... am I sharing carrots?  -You process will be treated on any available physical core. Point of virtualization is to share cycles available CPU.

    As on my pictures, it shows that the virtual machine with two being on 0 and 1 and the virtual machine with three be 0-2.  Does this mean that they share carrots?  -Yes, but only when the kernel is available. vCPU 0 on VM1 = is not not using physical core 0 (vmkernal) when she needs and = 0 on VM2 vCPU can run on the physical base 7. He is the host jobs to find availble free kernel and to calculate its power.

    There is nothing to fear in your scenario. If you need to buy a faster CPU performance, in terms of vCPU 1 or 2 should be sufficient.

    delay to 20ms for CPU's like 1000 years for us humans. I don't think that what is happening really (IMHO).

  • Freeze lock discussions internal JVM

    H3. Question
    We have a problem with a multithreaded application that runs on the JVM 1.6 (/ opt/jdk1.6.0_21): two threads appear to be locked on the internal semaphore of the JVM. We have no lock on this code (even on the superclass).

    Is it possible to guess a solution for this problem?

    H3. Data
    H5. Java thread dump
    The java Threads are (Note States inconsistent Object.wait () and RUNNABLE):
    "Thread-2577696" prio=10 tid=0x08b76c00 nid=0x8f3 in Object.wait() [0x2f439000]
       java.lang.Thread.State: RUNNABLE
         at naf.arquitectura.DatoEnArray.<clinit>(DatoEnArray.java:21)
         at atclib.copy.CPY_CRPEE032.<init>(CPY_CRPEE032.java:15)
         at com.atcanet.impresor.comun.accesoDatos.AccesoDatosEtiquetaCorreo.darDomicilioPersona(AccesoDatosEtiquetaCorreo.java:312)
         at com.atcanet.impresor.separador.procesador.EtiquetaCorreo.domicilioPersona(EtiquetaCorreo.java:280)
         at com.atcanet.impresor.separador.procesador.EtiquetaCorreo.procesar(EtiquetaCorreo.java:106)
         at com.atcanet.impresor.separador.procesador.BloqueProcesamiento.ejecutarProceso(BloqueProcesamiento.java:37)
         at com.atcanet.impresor.separador.procesa
    
    "Thread-2577700" prio=10 tid=0x0ab44c00 nid=0x8f7 in Object.wait() [0x2f47b000]
       java.lang.Thread.State: RUNNABLE
         at atclib.copy.CPY_CRSRB080.<init>(CPY_CRSRB080.java:16)
         at com.atcanet.impresor.comun.accesoDatos.AccesoDatosEtiquetaCorreo.obtenerClaveImpresion(AccesoDatosEtiquetaCorreo.java:591)
         at com.atcanet.impresor.separador.procesador.ControlComunicadosResumen.procesarComResumen(ControlComunicadosResumen.java:136)
         at com.atcanet.impresor.separador.procesador.ControladorDatos.procesar(ControladorDatos.java:299)
         at com.atcanet.impresor.separador.procesador.BloqueProcesamiento.ejecutarProceso(BloqueProcesamiento.java:37)
         at com.atcanet.impresor.separador.procesador.LanzadorProceso.run(LanzadorProceso.java:82)
    H5. Native thread dump
    A dump "jstack m" with the native threads of 2291 and 2295 shows this (note that the ObjectSynchronizer19waitUninterruptibly):
    ----------------- 2291 -----------------
    0xb7f7f402          ????????
    0xb7942ee5     _ZN2os13PlatformEvent4parkEv + 0xe5
    0xb79ff15b     _ZN13ObjectMonitor4waitExbP6Thread + 0x5fb
    0xb79fc513     _ZN18ObjectSynchronizer19waitUninterruptiblyE6HandlexP6Thread + 0x53
    0xb7739447     _ZN13instanceKlass15initialize_implE19instanceKlassHandleP6Thread + 0x77
    0xb7738bc8     _ZN13instanceKlass10initializeEP6Thread + 0x58
    0xb7753cd6     _ZN18InterpreterRuntime4_newEP10JavaThreadP19constantPoolOopDesci + 0xc6
    0xb4364da4     * naf.arquitectura.DatoEnArray.<clinit>() bci:0 line:21 (Interpreted frame)
    0xb435234c     <StubRoutines>
    0xb775e920     _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x190
    0xb79423a8     _ZN2os20os_exception_wrapperEPFvP9JavaValueP12methodHandleP17JavaCallArgumentsP6ThreadES1_S3_S5_S7_ + 0x18
    0xb775e77f     _ZN9JavaCalls4callEP9JavaValue12methodHandleP17JavaCallArgumentsP6Thread + 0x2f
    0xb773a8f6     _ZN13instanceKlass27call_class_initializer_implE19instanceKlassHandleP6Thread + 0xb6
    0xb7739681     _ZN13instanceKlass15initialize_implE19instanceKlassHandleP6Thread + 0x2b1
    0xb7738bc8     _ZN13instanceKlass10initializeEP6Thread + 0x58
    0xb77398dc     _ZN13instanceKlass15initialize_implE19instanceKlassHandleP6Thread + 0x50c
    0xb7738bc8     _ZN13instanceKlass10initializeEP6Thread + 0x58
    0xb7753cd6     _ZN18InterpreterRuntime4_newEP10JavaThreadP19constantPoolOopDesci + 0xc6
    0xb4364da4     * atclib.copy.CPY_CRPEE032.<init>() bci:11 line:15 (Interpreted frame)
    0xb435508d     * com.atcanet.impresor.comun.accesoDatos.AccesoDatosEtiquetaCorreo.darDomicilioPersona(java.lang.String, java.lang.String, java.lang.String, java.lang.String) bci:71 line:312 (Interpreted frame)
    0xb4354f27     * com.atcanet.impresor.separador.procesador.EtiquetaCorreo.domicilioPersona(java.lang.String, java.lang.String, java.lang.String, java.lang.String) bci:9 line:280 (Interpreted frame)
    0xb435508d     * com.atcanet.impresor.separador.procesador.EtiquetaCorreo.procesar(java.lang.Object[]) bci:94 line:106 (Interpreted frame)
    0xb4355403     * com.atcanet.impresor.separador.procesador.BloqueProcesamiento.ejecutarProceso(int, java.lang.Object[]) bci:19 line:37 (Interpreted frame)
    0xb4354f27     * com.atcanet.impresor.separador.procesador.LanzadorProceso.run() bci:33 line:82 (Interpreted frame)
    0xb435234c     <StubRoutines>
    0xb775e920     _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x190
    0xb79423a8     _ZN2os20os_exception_wrapperEPFvP9JavaValueP12methodHandleP17JavaCallArgumentsP6ThreadES1_S3_S5_S7_ + 0x18
    0xb775e127     _ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandle12symbolHandleS3_P17JavaCallArgumentsP6Thread + 0xb7
    0xb775e1da     _ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandle12symbolHandleS4_P6Thread + 0x6a
    0xb77de965     _Z12thread_entryP10JavaThreadP6Thread + 0xa5
    0xb7a3259e     _ZN10JavaThread3runEv + 0x11e
    0xb794389e     _Z10java_startP6Thread + 0x14e
    0x00b7d49b     start_thread + 0xcb
    ----------------- 2295 -----------------
    0xb7f7f402          ????????
    0xb7942ee5     _ZN2os13PlatformEvent4parkEv + 0xe5
    0xb79ff15b     _ZN13ObjectMonitor4waitExbP6Thread + 0x5fb
    0xb79fc513     _ZN18ObjectSynchronizer19waitUninterruptiblyE6HandlexP6Thread + 0x53
    0xb7739447     _ZN13instanceKlass15initialize_implE19instanceKlassHandleP6Thread + 0x77
    0xb7738bc8     _ZN13instanceKlass10initializeEP6Thread + 0x58
    0xb77398dc     _ZN13instanceKlass15initialize_implE19instanceKlassHandleP6Thread + 0x50c
    0xb7738bc8     _ZN13instanceKlass10initializeEP6Thread + 0x58
    0xb7753cd6     _ZN18InterpreterRuntime4_newEP10JavaThreadP19constantPoolOopDesci + 0xc6
    0xb4364da4     * atclib.copy.CPY_CRSRB080.<init>() bci:16 line:16 (Interpreted frame)
    0xb435508d     * com.atcanet.impresor.comun.accesoDatos.AccesoDatosEtiquetaCorreo.obtenerClaveImpresion(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.atca.grid.GridJobContext) bci:35 line:591 (Interpreted frame)
    0xb4354f27     * com.atcanet.impresor.separador.procesador.ControlComunicadosResumen.procesarComR
    H5. Classes

    As you can see above, the threads are frozen on DatoEnArray:21 and CPY_CRSRB080:16
    19: public abstract class DatoEnArray extends Dato                                                                                                                                              
    20: {                                                                                                                                                                                           
    21:   protected static final DatoEnArray REDEFINE_GENERICO = new Texto("REDEFINE_GENERICO");                                                                                                                                
                                                                                                                                                                                           
    10: public class CPY_CRSRB080 extends CopyRutina                                                                                                                                                
    11: {                                                                                                                                                                                           
    12:   private String nombre = "CRSRB080";                                                                                                                                                       
    13:                                                                                                                                                                                             
    14:                                                                                                                                                                                             
    15:   public TextoCompuesto NIVEL_01 = null;                                                                                                                                                    
    16:   public Texto CODPOST = new Texto(5);             

    The class loading and the call block initialize is implicitly only son. If you load the class in a thread, all other threads that are trying to use this class must wait until he has finished.

    It is possible to enter a deadoad with these implicit lock in theory, but I have never seen this happen in practice.

    for example
    If you start a thread in a static block initialize and wait that this thread is complete, but the thread has need of the class that you load, you get a deadlock.

Maybe you are looking for

  • For older ipads alternative night shift

    To my great disappointment, like many other users ipad 2,3,4, I discovered after I upgraded to iOS 9.3 today night shift is not available for my device. I already wrote my complaint to the comments of the Apple. Does anyone know an alternative for th

  • No sound on Tablet split screen-(tv)

    Tablet PC from HP ENVY x 2 11-g010nr, 8.1 32-bit windows. When I search for, and then click to open an item that has the video, I get video but no sound. Sometimes if I restar, audio t comes into play. What should I do about it?

  • Install Windows server 2008 r2 blue screens before

    I try to install windows server 2008 r2 on my system and it blue screens right after that the disc is loaded in the ram.  I don't not even to the selection of installation phase. It crashes just after the windows logo charge. IM receives the stop err

  • Need a VBIB32.bas file updated containing updates RegisterGPIBGlobals

    I use the new device USB GPIB on Windows XP, with VB6. In the VBIB32.bas file I have, the RegisterGPIBGlobals routine doesn't have a case for this GPIB. It is to return a 5. Is there a file available? Thank you Tim

  • HP HDX 1180-CA

    I bought the HP HDX - CA 1180, one of top entertainment page of the HP laptops. Since I bought the laptop I found that this machine is incompatible. Keep gel or send me blue scree saying: I have the virus or hordware not compatible with this machine.