Program hanging on thread?
Hello, as many of you have heard over the past few weeks, I'm trying to build a web messenger. I've come pretty close to getting everything working, but I've run into another issue.
When the first client connects to my server, the server sends a call to the MessageDaemon program on the Admin's comp. When the MessageDaemon gets this info, it calls the Client class for the admin. The problem I'm having "I Think" is in the server code, in the handleAClient Class.
The problem I'm having is that when both clients are up and running, the users(the first) Client gets hung up waiting for the admins(the second) client to send something. When the admin's client does send something, the text Does appear in both client programs; but it's only working for the Admin's Client. The Users Client text is being overwritten by the admin's.
I think the error is in these lines:
//GET TEXT FROM CLIENT
String readString = null;
in = new BufferedReader(new InputStreamReader(connectToClient.getInputStream()));
in = new BufferedReader(new InputStreamReader(connectToAdmin.getInputStream ()));
StringBuffer readBuffer = new StringBuffer();
// ... and read each character.
readString = in.readLine();I think I need some type of OR statement so that the thread will continue when text is received from either Clients. I beleive I may be able to fix this by seperating the IN variable into
two seperate variables, but that would only be a workaround, and I'd like to try to make this functional without that.
Here is the complete server code, If you want/need me to past the MessageDaemon and/or the Client programs just ask.
// MultiThreadServer.java
import java.io.*;
import java.net.*;
import java.util.*;
import java.awt.*;
import java.awt.event.*;
public class MultiThreadServer{
public static void main(String[] args) {
new MultiThreadServer();
//initialize public variables
public int cn = 0;
public Socket connectToDaemon;
public Socket[] mySockets = new Socket[10];
public String un;
public BufferedReader fin; //first in
// Set up IO streams
DataOutputStream osToDaemon;
DataInputStream isFromDaemon;
//default constructor
public MultiThreadServer() {
String user = "";
boolean decision = true;
//start the server process
try {
// Create a server socket
ServerSocket serverSocket = new ServerSocket(8000);
System.out.println("MultiThreadServer started at " + new Date() + '\n');
// Number a client
int clientNo = 0;
// maintain previous number
int clientPrev = 0;
// Listen for a new connection request
while (true) {
// accept connection request
Socket connectToClient = serverSocket.accept();
//number the connection and save the socket info with that number
mySockets[clientNo] = connectToClient;
System.out.println("clientNo");
/** Get Username
fin = new BufferedReader(new InputStreamReader(connectToClient.getInputStream()));
StringBuffer readfinBuffer = new StringBuffer();
String s = fin.readLine();
String s = "NewUser";
//CHECK USERNAME TO SEE IF IT'S A USER OR AN ADMIN------------------------------------
String beginning = "";
String name = "";
//GET ADMINS LOCATION -- to be developed later
//FIND ADMIN, CONNECT TO HIS DAEMON AND ASK IF HE WANTS TO TALK-----------------------
try {
//connect to MessageDaemon
connectToDaemon = new Socket("10.0.5.39", 8001);
isFromDaemon = new DataInputStream(connectToDaemon.getInputStream());
osToDaemon = new DataOutputStream(connectToDaemon.getOutputStream());
System.out.println("clientNo + 1");
// Send QueryString to Daemon
PrintWriter socketfinOut =
new PrintWriter(new BufferedWriter(new OutputStreamWriter(connectToDaemon.getOutputStream())));
socketfinOut.println("Ask");
socketfinOut.flush();
//Return decision value,
int des = isFromDaemon.readInt();
//get yes/no decision from MessageDaemon
decision = des == 0;
if (decision) {
// Display the client number
System.out.println("Starting thread for " + user + ":" + name + " Num " + clientNo +
" at " + new Date() + '\n');
// Find the client's host name, and IP address
InetAddress clientInetAddress =
connectToClient.getInetAddress();
System.out.println("Client " + clientNo + " " + s + "'s host name is "
+ clientInetAddress.getHostName() + "\n");
System.out.println("Client " + clientNo + " " + s + "'s IP Address is "
+ clientInetAddress.getHostAddress() + "\n");
// Create a new thread for the connection SEND CLIENT# AND IP ADDRESS
HandleAClient thread = new HandleAClient(connectToClient, connectToDaemon);
un = s;
cn = clientNo;
// Start the new thread
thread.start();
} else {
//Send unable to connect to admin signel
throw new IOException("Connection Refused.");
// Increment clientNo
clientNo++;
catch(IOException ex) {
System.out.println(ex.toString() + '\n' + "Cannot find admin");
// Create output stream
DataOutputStream osToClient = new DataOutputStream(connectToClient.getOutputStream());
//Send termination number back to client
osToClient.writeDouble(-9.0);
catch(IOException ex) {
System.out.println(ex.toString() + '\n' + "Hello, I've died");
// Inner class
// Define the thread class for handling new connection
class HandleAClient extends Thread {
private Socket connectToClient; // A connected socket
private Socket connectToAdmin;
// Construct a thread
public HandleAClient(Socket socket, Socket adminSocket) {
connectToClient = socket;
connectToAdmin = adminSocket;
public BufferedReader in;
// Run a thread
public void run() {
try {
// Continuously serve the client
while (true) {
int newNum = 0;
String n = "";
//GET TEXT FROM CLIENT
String readString = null;
in = new BufferedReader(new InputStreamReader(connectToClient.getInputStream()));
in = new BufferedReader(new InputStreamReader(connectToAdmin.getInputStream ()));
StringBuffer readBuffer = new StringBuffer();
// ... and read each character.
readString = in.readLine();
//PARSE STRING FOR RELEVANT INFO--will do later
// a conduit for writing (printing) over that socket:
PrintWriter socketOut1 =
new PrintWriter(new BufferedWriter(new OutputStreamWriter(connectToClient.getOutputStream())));
PrintWriter socketOut2 =
new PrintWriter(new BufferedWriter(new OutputStreamWriter(connectToAdmin.getOutputStream())));
socketOut1.println(readString);
socketOut2.println(readString);
socketOut1.flush();
socketOut2.flush();
// Now you can do what you want with the String:
System.out.println(readString + "\n");
catch(IOException e) {
System.err.println(e);
}
You could easily do what jverd was suggesting using something like the following. I didn't compile this code to try it out -- but it might give you a good idea.
Hopefully it helps.
public class MainThread extends Thread {
StringBuffer clientBuffer, serverBuffer;
public MainThread() {
clientBuffer() = new StringBuffer();
serverBuffer() = new StringBuffer();
public void clientAppend(String data) {
synchronized(clientBuffer) {
clientBuffer.append(data);
public void serverAppend(String data) {
synchronized(serverBuffer) {
serverBuffer.append(data);
public void run() {
Socket client = // get client socket
Socket server = // get server socket
ClientThread clientThread = new ClientThread(client);
ServerThread serverThread = new ServerThread(server);
clientThread.start();
serverThread.start();
try {
while (you_want_to_keep_running) {
synchronized(clientBuffer) {
if (clientBuffer.length() > 0) {
// there's client data -- do stuff
clientBuffer.setLength(0);
synchronized(serverBuffer) {
if (serverBuffer.length() > 0) {
// there's server data -- do stuff
serverBuffer.setLength(0);
// sleep to avoid eating up the CPU
try {
Thread.sleep(10);
} catch (InterruptedException ie) {}
} finally {
// be sure to stop your threads
clientThread.close();
serverThread.close();
class ClientThread extends Thread {
private Socket client;
public ClientThread(Socket client) {
this.client = client;
public void close() {
if (client != null) {
try {
client.close();
} catch (Exception e) {}
public void run() {
try {
BufferedReader in = new BufferedReader(
new InputStreamReader(
client.getInputStream()));
String line;
while ((line = in.readLine()) != null) {
clientAppend(line);
} catch (IOException iox) {
iox.printStackTrace();
class ServerThread extends Thread {
Socket server;
public ServerThread(Socket server) {
this.server = server;
public void close() {
if (server != null) {
try {
server.close();
} catch (Exception e) {}
public void run() {
try {
BufferedReader in = new BufferedReader(
new InputStreamReader(
server.getInputStream()));
String line;
while ((line = in.readLine()) != null) {
serverAppend(line);
} catch (IOException iox) {
iox.printStackTrace();
Similar Messages
-
Program hangs, can't get thread dump
Hello
I have a Java program which sometimes works OK untill the very end, but sometimes just hangs in a random moment and doesn't react to Ctrl+C or Ctrl+Break. Process doesn't use CPU, so I guess it isn't something like infinite loop (I actually cannot think of places in my program where this kind of loop may occur). I tried to get thread dump to see if there are any deadlocks, but Ctrl+Break doesn't work and jstack doesn't work also (I've read that there is -F option, but it isn't available on Windows). Also I tried to connect to a process with Java Visual VM - doesn't help too (just says 'Connecting...' forever).
What else can I do to find out what's going on in my programm and fix it?
I tried to run it with JDK 1.6.0_07 and 1.6.0_16. I'm using Windows Vista Enterprise SP1, 64-bit.
Thanks in advance, Yulia.
Edited by: Yulia_Dubinina on Oct 26, 2009 11:58 PM
Edited by: Yulia_Dubinina on Oct 27, 2009 12:13 AMYulia_Dubinina wrote:
Yesterday I tried to start my program, connect with Java Visual VM to it and see how threads visualisation will look like in a moment when program hangs. My programm died after about 50 min and all info which I was able to see was about this period of time (e.g. a timeline diagram stopped changing and the last time mark was 49:23), but Java Visual VM was still connected to a process. I tried to press Thread Dump button, it worked, but there was nothing 'criminal' on the dump it provided. So I guess maybe it's not actual thread dump, it's something that Java Visual VM was able to get before process hanged.
I don't have much experience in resolving this kind of problems, so any advices will be great appreciated.
Edited by: Yulia_Dubinina on Oct 27, 2009 2:14 PMTurn on verbose GC and see if you got lots and lots of full GC when the freeze happens. A full GC can take several minutes if you have a bad configuration (where e.g. memory has been paged out to disk) -
My j2me program hangs --need help
hi.my program hangs whenever i run my midlet and i get a message like this
Warning: To avoid potential deadlock, operations that may block, such as
networking, should be performed in a different thread than the
commandAction() handler.
below is my codes
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.io.*;
import javax.microedition.io.file.*;
import javax.microedition.io.*;
public class TCPClient extends MIDlet implements CommandListener ,ItemCommandListener {
private Display display;
private Form form;
private Command exit,set;
private TextField txtField;
private ChoiceGroup sImage;
private int sIndex;
private String strTxtField;
private Image image;
public TCPClient(){
display=Display.getDisplay(this);
form=new Form("TCPClient");
txtField=new TextField("type what u want to send",null,30,TextField.ANY);
sImage= new ChoiceGroup("pls select", Choice.EXCLUSIVE);
sImage.append("no image",null); //=0
sImage.append("image",null); //=1
exit=new Command("Exit",Command.EXIT,1); //1= highest priority,
form.append(txtField);
form.append(sImage);
form.addCommand(exit);
form.setCommandListener(this);
try{
Image image= Image.createImage("/send.jpg");
ImageItem imageItem=new ImageItem(null,image,Item.LAYOUT_CENTER ,null,Item.BUTTON);
set =new Command("Set", Command.ITEM, 1);
imageItem.setDefaultCommand( set);
imageItem.setItemCommandListener(this);
form.append(imageItem);
}//end of try
catch(IOException e){System.out.println("button error");}
}// end of constructor
public void startApp(){
System.out.println("midlet started");
ItemStateListener listener = new MyStateListener();
form.setItemStateListener(listener);// register for events
display.setCurrent(form);
public void pauseApp(){}
public void destroyApp(boolean unconditional){}
public void commandAction(Command c, Displayable s){
if(c==exit){
destroyApp(false);
notifyDestroyed();
} // end of commandAction
public void commandAction(Command c, Item item){
if(c==set){
strTxtField=txtField.getString();
System.out.println(strTxtField);
try {
String filename = "file:///root1/commands.txt";
byte[] data = strTxtField.getBytes();
FileConnection filecon = (FileConnection)Connector.open(filename,Connector.READ_WRITE);
// Always check whether the file or directory exists.
if(!filecon.exists()) {
filecon.create();
OutputStream outputStream = filecon.openOutputStream();
outputStream.write(data);
outputStream.close();
filecon.close();
} catch(IOException ioe) {
}//end of set
}//emd of commandAction method
private class MyStateListener implements ItemStateListener
boolean pictureIsShown=false; //Remember the state
int pictureIndex; //Remember the index
public void itemStateChanged(Item item)
if(item==sImage){
sIndex=sImage.getSelectedIndex();
switch(sIndex){
case 0:System.out.println(sIndex);
if (!pictureIsShown){
form.delete(pictureIndex);}
break; // end of case0
case 1:System.out.println(sIndex);
if (!pictureIsShown){
try{
ImageItem logo= new ImageItem("",Image.createImage ("/misa.jpg"), ImageItem.LAYOUT_CENTER,"");
pictureIndex=form.append(logo);
System.out.println("success");
catch(IOException e)
{System.out.println("error");}}//end of if
break;
default: System.out.println("kiss my ___");
}//end of switch
}//end of if
//do something
}//donttouch
}whenever it runs,it would hangs if i enable it to read my codes.
any help/advise is greatly appreciate.thanksHi
Use thread while creating a connection -
http://forum.java.sun.com/thread.jspa?threadID=5119680
Check this link, ll get an idea - how you can use thread?
Rohan Chandane -
Concurrently write and read caused program hang infinitely.
Hi, everyone
I used BDB XML 2.4.11
os : windows xp service pack 2
I have set the java option -Xms64M -Xmx256M
I used a util class for retrieving the XmlManager and XmlContainer handle, the code is below
import java.io.File;
import java.io.FileNotFoundException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.sleepycat.db.CheckpointConfig;
import com.sleepycat.db.DatabaseException;
import com.sleepycat.db.Environment;
import com.sleepycat.db.EnvironmentConfig;
import com.sleepycat.db.LockDetectMode;
import com.sleepycat.dbxml.XmlContainer;
import com.sleepycat.dbxml.XmlContainerConfig;
import com.sleepycat.dbxml.XmlException;
import com.sleepycat.dbxml.XmlManager;
import com.sleepycat.dbxml.XmlManagerConfig;
public class BdbXmlUtil {
private static Map<String, XmlContainer> openedContainer = new HashMap<String, XmlContainer>();
private static XmlManager xmlManager = null;
public static synchronized XmlManager getXmlManager() {
if (xmlManager == null) {
EnvironmentConfig envConf = new EnvironmentConfig();
envConf.setAllowCreate(true);
envConf.setInitializeCache(true);
envConf.setInitializeLocking(true);
envConf.setInitializeLogging(true);
envConf.setRunRecovery(true);
envConf.setTransactional(true);
envConf.setLockDetectMode(LockDetectMode.MINWRITE);
envConf.setCacheSize(256 * 1024 * 1024);
envConf.setTxnMaxActive(5000);
envConf.setMultiversion(true);
envConf.setTemporaryDirectory(new File("E:/temp/bdb-xml/tmp"));
envConf.setErrorStream(System.err);
// for performance
// The setTxnNoWait has to set ture, only the transaction set true will not take effect.
envConf.setTxnNoSync(true);
//envConf.setTxnNoWait(true);
Environment environment = null;
try {
environment = new Environment(new File("E:/temp/bdb-xml/bdb_xml_testenv"), envConf);
CheckpointConfig checkpointConf = new CheckpointConfig();
checkpointConf.setKBytes(1024);
environment.checkpoint(checkpointConf);
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (DatabaseException e) {
e.printStackTrace();
XmlManagerConfig managerConfig = new XmlManagerConfig();
managerConfig.setAdoptEnvironment(true);
try {
xmlManager = new XmlManager(environment, managerConfig);
} catch (XmlException e) {
e.printStackTrace();
return xmlManager;
public static synchronized XmlContainer getXmlContainer(String xmlContainerName) {
XmlContainer xmlContainer = null;
if (openedContainer.containsKey(xmlContainerName)) {
xmlContainer =
(XmlContainer) openedContainer.get(xmlContainerName);
} else {
XmlContainerConfig containerConf = new XmlContainerConfig();
containerConf.setTransactional(true);
containerConf.setAllowCreate(true);
containerConf.setNodeContainer(false);
containerConf.setMultiversion(true);
/*containerConf.setReadUncommitted(true);*/
try {
xmlContainer =
xmlManager.openContainer(
xmlContainerName, containerConf);
} catch (XmlException e) {
e.printStackTrace();
openedContainer.put(xmlContainerName, xmlContainer);
return xmlContainer;
public static synchronized void closeEnv() {
try {
Iterator<String> containerNames = openedContainer.keySet().iterator();
while (containerNames.hasNext()) {
XmlContainer container = openedContainer.get(containerNames.next());
container.close();
if (xmlManager != null) {
xmlManager.close();
} catch (Exception e) {
e.printStackTrace();
}I used two classes to test the concurrency, one is responsible for put document to database, and the other is used to query database while the put operation is being performed. The run method of the two classes is below:
put document process code:
boolean retry = true;
int retry_count = 0;
// while loop is used for deadlock retries
while (retry) {
XmlTransaction txn = null;
try {
XmlUpdateContext context = xmlManager.createUpdateContext();
TransactionConfig tc = new TransactionConfig();
tc.setNoSync(true);
txn = xmlManager.createTransaction(null, tc);
String doc = generateId() + ".xml";
xmlContainer.putDocument(txn, doc, "<user><name>hello world</name></user>", context);
txn.commit();
txn = null;
System.out.println("created : " + doc);
retry = false;
} catch (XmlException xe) {
retry = false;
if (xe.getDatabaseException() instanceof DeadlockException) {
System.out.println(getName()
+ " got deadlock exception!");
if (retry_count < 20) {
System.err.println(getName() + " : Retrying operation.");
retry = true;
retry_count++;
try {
Thread.sleep(100);
} catch (InterruptedException e) {}
} else {
System.err.println(getName()
+ " : out of retries. Giving up.");
} else {
System.err.println("XmlException during concurrent-test: "
+ xe.getMessage());
} finally {
if (txn != null) {
try {
txn.abort();
} catch (Exception e) {
System.err.println("Error aborting txn in concurrent-test: "
+ e.toString());
e.printStackTrace();
}the query process code :
XmlManager xmlManager = BdbXmlUtil.getXmlManager();
XmlResults res = null;
XmlQueryExpression expr = null;
XmlTransaction txn = null;
try {
BdbXmlUtil.getXmlContainer("entry.dbxml");
XmlQueryContext qc = xmlManager.createQueryContext();
expr = xmlManager.prepare("doc('dbxml:/entry.dbxml/1.xml')//user/name", qc);
TransactionConfig tc = new TransactionConfig();
tc.setSnapshot(true);
txn = xmlManager.createTransaction(null, tc);
res = expr.execute(txn, qc);
System.out.println("The query, '" + expr.getQuery() +
"'\n\t returned " + res.size() + " result(s)");
while (res.hasNext()) {
XmlValue value = res.next();
System.out.println(value.asString());
txn.commit();
txn = null;
increaseInvokeCount();
} catch (XmlException e) {
e.printStackTrace();
} finally {
if (res != null) {
res.delete();
if (expr != null) {
expr.delete();
if (txn != null) {
try {
txn.abort();
} catch (Exception e) {
System.err.println("Error aborting txn in query test: "
+ e.toString());
e.printStackTrace();
}in the main class, I have generated 100 threads to run the put document process and 30 threads to run the query process. After insert several documents to database, the whole process hangs infinitely. I think it is caused by the query process. When i set the query thread number to 1 or disable the query process, the put document process ended with success.
I think it is caused by the lock. I try to execute the query in Snapshot isolation, but it doesn't works. I also tried the No Wait On Blocks, it seem ok, but alway throws DeadLockException, which can not bear. I doubt about that the lock granularity is per page, and in my program I used the Wholedoc Containers. The Query Process just take action in one document, which is 1.xml, but the lock seem that the whole container is locked. Could it be the page is so large that it covers the whole container? I referenced the document Getting Started with Transaction Processing For Java, but find no hint.
The BDB XML is excellent in performance, and I want use it in my program. I really hope that this problem can be solved. I don't know whether it is a bug or my reason.Any suggestion will be very helpful, thanks advance.
Jhon Kao
Message was edited to better format the Java code:
gmfeinberg
added some more info to describe the problem:
Excalibur
nullDear gmfeinberg,
You are so kind. I appreciate very much for your approval. You are alway very warm-hearted to help others. Thanks very much.
I followed your advice and changed the prepare() to add the transaction as a parameter. The complete code I have already posted above. But unfortunately the program hangs also. The complete output of the db_stat -CA when the hang happens is below:
Default locking region information:
395 Last allocated locker ID
0x7fffffff Current maximum unused locker ID
9 Number of lock modes
1000 Maximum number of locks possible
1000 Maximum number of lockers possible
1000 Maximum number of lock objects possible
132 Number of current locks
134 Maximum number of locks at any one time
544 Number of current lockers
582 Maximum number of lockers at any one time
12 Number of current lock objects
19 Maximum number of lock objects at any one time
3935 Total number of locks requested
3697 Total number of locks released
0 Total number of locks upgraded
58 Total number of locks downgraded
257 Lock requests not available due to conflicts, for which we waited
101 Lock requests not available due to conflicts, for which we did not wait
0 Number of deadlocks
0 Lock timeout value
0 Number of locks that have timed out
0 Transaction timeout value
0 Number of transactions that have timed out
472KB The size of the lock region
938 The number of region locks that required waiting (3%)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock REGINFO information:
Lock Region type
5 Region ID
__db.005 Region name
0x720000 Original region address
0x720000 Region address
0x720048 Region primary address
0 Region maximum allocation
0 Region allocated
Region allocations: 3005 allocations, 0 failures, 0 frees, 1 longest
REGION_JOIN_OK Region flags
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock region parameters:
65571 Lock region region mutex [938/28484 3% 4244/7164]
1031 locker table size
1031 object table size
448 obj_off
45880 locker_off
0 need_dd
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock conflict matrix:
0 0 0 0 0 0 0 0 0
0 0 1 0 1 0 1 0 1
0 1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0
0 1 1 0 0 0 0 1 1
0 0 1 0 0 0 0 0 1
0 1 1 0 0 0 0 1 1
0 0 1 0 1 0 1 0 0
0 1 1 0 1 1 1 0 1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Locks grouped by lockers:
Locker Mode Count Status ----------------- Object ---------------
2 dd=464 locks held 2 write locks 0 pid/thread 1704/5836
2 READ 1 HELD entry.dbxml handle 2
2 READ 1 HELD entry.dbxml handle 0
5 dd=463 locks held 0 write locks 0 pid/thread 1704/5836
6 dd=462 locks held 1 write locks 0 pid/thread 1704/5836
6 READ 1 HELD entry.dbxml handle 4
9 dd=461 locks held 0 write locks 0 pid/thread 1704/5836
a dd=460 locks held 1 write locks 0 pid/thread 1704/5836
a READ 1 HELD entry.dbxml handle 6
d dd=459 locks held 0 write locks 0 pid/thread 1704/5836
e dd=458 locks held 1 write locks 0 pid/thread 1704/5836
e READ 1 HELD entry.dbxml handle 8
11 dd=457 locks held 0 write locks 0 pid/thread 1704/5836
12 dd=456 locks held 1 write locks 0 pid/thread 1704/5836
12 READ 1 HELD entry.dbxml handle 10
15 dd=455 locks held 0 write locks 0 pid/thread 1704/5836
16 dd=454 locks held 2 write locks 0 pid/thread 1704/5836
16 READ 1 HELD entry.dbxml handle 12
16 READ 5 HELD entry.dbxml handle 0
19 dd=453 locks held 0 write locks 0 pid/thread 1704/7764
1d dd=452 locks held 1 write locks 0 pid/thread 1704/5836
1d READ 1 HELD entry.dbxml handle 14
20 dd=451 locks held 0 write locks 0 pid/thread 1704/6460
21 dd=450 locks held 2 write locks 0 pid/thread 1704/5836
21 READ 1 HELD entry.dbxml handle 16
21 READ 2 HELD entry.dbxml handle 0
24 dd=449 locks held 0 write locks 0 pid/thread 1704/5836
52 dd=448 locks held 2 write locks 0 pid/thread 1704/5836
52 READ 1 HELD entry.dbxml handle 18
52 READ 1 HELD entry.dbxml handle 0
55 dd=447 locks held 0 write locks 0 pid/thread 1704/5836
56 dd=446 locks held 1 write locks 0 pid/thread 1704/1168
56 READ 1 HELD entry.dbxml page 13
57 dd=335 locks held 0 write locks 0 pid/thread 1704/4692
58 dd=334 locks held 0 write locks 0 pid/thread 1704/4692
59 dd=333 locks held 0 write locks 0 pid/thread 1704/4692
5a dd=332 locks held 0 write locks 0 pid/thread 1704/4692
5b dd=331 locks held 0 write locks 0 pid/thread 1704/4692
5c dd=330 locks held 0 write locks 0 pid/thread 1704/4692
5d dd=327 locks held 0 write locks 0 pid/thread 1704/7184
5e dd=324 locks held 0 write locks 0 pid/thread 1704/1168
5f dd=320 locks held 0 write locks 0 pid/thread 1704/6876
60 dd=319 locks held 0 write locks 0 pid/thread 1704/6380
61 dd=318 locks held 0 write locks 0 pid/thread 1704/6752
62 dd=317 locks held 0 write locks 0 pid/thread 1704/7348
63 dd=316 locks held 0 write locks 0 pid/thread 1704/1844
64 dd=315 locks held 0 write locks 0 pid/thread 1704/5224
65 dd=314 locks held 0 write locks 0 pid/thread 1704/5668
66 dd=313 locks held 0 write locks 0 pid/thread 1704/8164
67 dd=312 locks held 0 write locks 0 pid/thread 1704/6272
68 dd=310 locks held 0 write locks 0 pid/thread 1704/6268
69 dd=309 locks held 0 write locks 0 pid/thread 1704/7148
6a dd=308 locks held 0 write locks 0 pid/thread 1704/7184
6b dd=307 locks held 0 write locks 0 pid/thread 1704/6596
6c dd=306 locks held 0 write locks 0 pid/thread 1704/6044
6d dd=302 locks held 0 write locks 0 pid/thread 1704/6476
6e dd=301 locks held 0 write locks 0 pid/thread 1704/6916
6f dd=300 locks held 0 write locks 0 pid/thread 1704/4784
70 dd=299 locks held 0 write locks 0 pid/thread 1704/7444
71 dd=298 locks held 0 write locks 0 pid/thread 1704/5544
72 dd=297 locks held 0 write locks 0 pid/thread 1704/7140
73 dd=296 locks held 0 write locks 0 pid/thread 1704/5724
74 dd=295 locks held 0 write locks 0 pid/thread 1704/956
75 dd=294 locks held 0 write locks 0 pid/thread 1704/7916
76 dd=293 locks held 0 write locks 0 pid/thread 1704/6116
77 dd=292 locks held 0 write locks 0 pid/thread 1704/7928
78 dd=291 locks held 0 write locks 0 pid/thread 1704/6116
79 dd=290 locks held 0 write locks 0 pid/thread 1704/7160
7a dd=289 locks held 0 write locks 0 pid/thread 1704/6656
7b dd=288 locks held 0 write locks 0 pid/thread 1704/7212
7c dd=287 locks held 0 write locks 0 pid/thread 1704/6116
7d dd=286 locks held 0 write locks 0 pid/thread 1704/5820
7e dd=285 locks held 0 write locks 0 pid/thread 1704/5088
7f dd=284 locks held 0 write locks 0 pid/thread 1704/1108
80 dd=283 locks held 0 write locks 0 pid/thread 1704/7372
81 dd=282 locks held 0 write locks 0 pid/thread 1704/4692
82 dd=281 locks held 0 write locks 0 pid/thread 1704/7460
83 dd=280 locks held 0 write locks 0 pid/thread 1704/5528
84 dd=279 locks held 0 write locks 0 pid/thread 1704/7160
85 dd=278 locks held 0 write locks 0 pid/thread 1704/1168
86 dd=275 locks held 0 write locks 0 pid/thread 1704/5464
87 dd=274 locks held 0 write locks 0 pid/thread 1704/5652
88 dd=273 locks held 0 write locks 0 pid/thread 1704/6628
89 dd=272 locks held 0 write locks 0 pid/thread 1704/5164
8a dd=271 locks held 0 write locks 0 pid/thread 1704/7372
8b dd=270 locks held 0 write locks 0 pid/thread 1704/5236
8c dd=269 locks held 0 write locks 0 pid/thread 1704/6532
8d dd=268 locks held 0 write locks 0 pid/thread 1704/4656
8e dd=267 locks held 0 write locks 0 pid/thread 1704/7708
8f dd=266 locks held 0 write locks 0 pid/thread 1704/5112
90 dd=265 locks held 0 write locks 0 pid/thread 1704/7484
91 dd=259 locks held 0 write locks 0 pid/thread 1704/7352
92 dd=258 locks held 0 write locks 0 pid/thread 1704/7408
93 dd=257 locks held 0 write locks 0 pid/thread 1704/5472
94 dd=256 locks held 0 write locks 0 pid/thread 1704/7372
95 dd=255 locks held 0 write locks 0 pid/thread 1704/7552
96 dd=252 locks held 0 write locks 0 pid/thread 1704/5112
97 dd=249 locks held 0 write locks 0 pid/thread 1704/5472
98 dd=248 locks held 0 write locks 0 pid/thread 1704/5472
99 dd=247 locks held 0 write locks 0 pid/thread 1704/6460
9a dd=246 locks held 0 write locks 0 pid/thread 1704/5432
9b dd=245 locks held 0 write locks 0 pid/thread 1704/7220
9c dd=244 locks held 0 write locks 0 pid/thread 1704/7768
9d dd=243 locks held 0 write locks 0 pid/thread 1704/5088
9e dd=242 locks held 0 write locks 0 pid/thread 1704/5544
9f dd=241 locks held 0 write locks 0 pid/thread 1704/5272
a0 dd=240 locks held 0 write locks 0 pid/thread 1704/7284
a1 dd=239 locks held 0 write locks 0 pid/thread 1704/3884
a2 dd=238 locks held 0 write locks 0 pid/thread 1704/4552
a3 dd=237 locks held 0 write locks 0 pid/thread 1704/6460
a4 dd=236 locks held 0 write locks 0 pid/thread 1704/6324
a5 dd=235 locks held 0 write locks 0 pid/thread 1704/6272
a6 dd=234 locks held 0 write locks 0 pid/thread 1704/7276
a7 dd=233 locks held 0 write locks 0 pid/thread 1704/4552
a8 dd=232 locks held 0 write locks 0 pid/thread 1704/6876
a9 dd=231 locks held 0 write locks 0 pid/thread 1704/5296
aa dd=230 locks held 0 write locks 0 pid/thread 1704/5668
ab dd=229 locks held 0 write locks 0 pid/thread 1704/8164
ac dd=228 locks held 0 write locks 0 pid/thread 1704/5444
ad dd=227 locks held 0 write locks 0 pid/thread 1704/7916
ae dd=226 locks held 0 write locks 0 pid/thread 1704/1944
af dd=225 locks held 0 write locks 0 pid/thread 1704/7040
b0 dd=224 locks held 0 write locks 0 pid/thread 1704/5548
b1 dd=223 locks held 0 write locks 0 pid/thread 1704/3880
b2 dd=222 locks held 0 write locks 0 pid/thread 1704/5428
b3 dd=221 locks held 0 write locks 0 pid/thread 1704/5224
b4 dd=220 locks held 0 write locks 0 pid/thread 1704/6420
b5 dd=219 locks held 0 write locks 0 pid/thread 1704/7104
b6 dd=218 locks held 0 write locks 0 pid/thread 1704/5944
b7 dd=217 locks held 0 write locks 0 pid/thread 1704/7728
b8 dd=216 locks held 0 write locks 0 pid/thread 1704/7632
b9 dd=215 locks held 0 write locks 0 pid/thread 1704/7436
ba dd=214 locks held 0 write locks 0 pid/thread 1704/5472
bb dd=213 locks held 0 write locks 0 pid/thread 1704/7148
bc dd=212 locks held 0 write locks 0 pid/thread 1704/4200
bd dd=211 locks held 0 write locks 0 pid/thread 1704/4716
be dd=210 locks held 0 write locks 0 pid/thread 1704/5652
bf dd=209 locks held 0 write locks 0 pid/thread 1704/7012
c0 dd=208 locks held 0 write locks 0 pid/thread 1704/6532
c1 dd=207 locks held 0 write locks 0 pid/thread 1704/4692
c2 dd=206 locks held 0 write locks 0 pid/thread 1704/7936
c3 dd=205 locks held 0 write locks 0 pid/thread 1704/656
c4 dd=204 locks held 0 write locks 0 pid/thread 1704/6460
c5 dd=203 locks held 0 write locks 0 pid/thread 1704/7348
c6 dd=202 locks held 0 write locks 0 pid/thread 1704/4768
c7 dd=201 locks held 0 write locks 0 pid/thread 1704/6080
c8 dd=200 locks held 0 write locks 0 pid/thread 1704/6380
c9 dd=199 locks held 0 write locks 0 pid/thread 1704/376
ca dd=198 locks held 0 write locks 0 pid/thread 1704/5468
cb dd=197 locks held 0 write locks 0 pid/thread 1704/7128
cc dd=196 locks held 0 write locks 0 pid/thread 1704/6408
cd dd=195 locks held 0 write locks 0 pid/thread 1704/7396
ce dd=194 locks held 0 write locks 0 pid/thread 1704/7972
cf dd=193 locks held 0 write locks 0 pid/thread 1704/5088
d0 dd=192 locks held 0 write locks 0 pid/thread 1704/7848
d1 dd=191 locks held 0 write locks 0 pid/thread 1704/5912
d2 dd=190 locks held 0 write locks 0 pid/thread 1704/5820
d3 dd=189 locks held 0 write locks 0 pid/thread 1704/4552
d4 dd=188 locks held 0 write locks 0 pid/thread 1704/7140
d5 dd=187 locks held 0 write locks 0 pid/thread 1704/5116
d6 dd=186 locks held 0 write locks 0 pid/thread 1704/4784
d7 dd=185 locks held 0 write locks 0 pid/thread 1704/5472
d8 dd=184 locks held 0 write locks 0 pid/thread 1704/5756
d9 dd=183 locks held 0 write locks 0 pid/thread 1704/6584
da dd=182 locks held 0 write locks 0 pid/thread 1704/5236
db dd=181 locks held 0 write locks 0 pid/thread 1704/7444
dc dd=180 locks held 0 write locks 0 pid/thread 1704/7928
dd dd=179 locks held 0 write locks 0 pid/thread 1704/5724
de dd=178 locks held 0 write locks 0 pid/thread 1704/6476
df dd=177 locks held 0 write locks 0 pid/thread 1704/7768
e0 dd=176 locks held 0 write locks 0 pid/thread 1704/5444
e1 dd=175 locks held 0 write locks 0 pid/thread 1704/1944
e2 dd=174 locks held 0 write locks 0 pid/thread 1704/1448
e3 dd=173 locks held 0 write locks 0 pid/thread 1704/5088
e4 dd=172 locks held 0 write locks 0 pid/thread 1704/6420
e5 dd=171 locks held 0 write locks 0 pid/thread 1704/6532
e6 dd=170 locks held 0 write locks 0 pid/thread 1704/5088
e7 dd=169 locks held 0 write locks 0 pid/thread 1704/5272
e8 dd=168 locks held 0 write locks 0 pid/thread 1704/6896
e9 dd=167 locks held 0 write locks 0 pid/thread 1704/5652
ea dd=166 locks held 0 write locks 0 pid/thread 1704/7040
eb dd=165 locks held 0 write locks 0 pid/thread 1704/6272
ec dd=164 locks held 0 write locks 0 pid/thread 1704/3880
ed dd=163 locks held 0 write locks 0 pid/thread 1704/5236
ee dd=162 locks held 0 write locks 0 pid/thread 1704/6532
ef dd=161 locks held 0 write locks 0 pid/thread 1704/656
f0 dd=160 locks held 0 write locks 0 pid/thread 1704/6836
f1 dd=159 locks held 0 write locks 0 pid/thread 1704/7916
f2 dd=158 locks held 0 write locks 0 pid/thread 1704/6324
f3 dd=157 locks held 0 write locks 0 pid/thread 1704/3884
f4 dd=156 locks held 0 write locks 0 pid/thread 1704/7220
f5 dd=155 locks held 0 write locks 0 pid/thread 1704/6188
f6 dd=154 locks held 0 write locks 0 pid/thread 1704/7960
f7 dd=153 locks held 0 write locks 0 pid/thread 1704/7396
f8 dd=152 locks held 0 write locks 0 pid/thread 1704/7632
f9 dd=151 locks held 0 write locks 0 pid/thread 1704/5088
fa dd=150 locks held 0 write locks 0 pid/thread 1704/7728
fb dd=149 locks held 0 write locks 0 pid/thread 1704/5428
fc dd=148 locks held 0 write locks 0 pid/thread 1704/5468
fd dd=147 locks held 0 write locks 0 pid/thread 1704/7276
fe dd=146 locks held 0 write locks 0 pid/thread 1704/4200
ff dd=145 locks held 0 write locks 0 pid/thread 1704/6352
100 dd=144 locks held 0 write locks 0 pid/thread 1704/4896
101 dd=143 locks held 0 write locks 0 pid/thread 1704/5548
102 dd=142 locks held 0 write locks 0 pid/thread 1704/7128
103 dd=141 locks held 0 write locks 0 pid/thread 1704/5088
104 dd=140 locks held 0 write locks 0 pid/thread 1704/5088
105 dd=139 locks held 0 write locks 0 pid/thread 1704/6460
106 dd=138 locks held 0 write locks 0 pid/thread 1704/376
107 dd=137 locks held 0 write locks 0 pid/thread 1704/6956
108 dd=136 locks held 0 write locks 0 pid/thread 1704/7848
109 dd=135 locks held 0 write locks 0 pid/thread 1704/5432
10a dd=134 locks held 0 write locks 0 pid/thread 1704/5912
10b dd=133 locks held 0 write locks 0 pid/thread 1704/6876
10c dd=132 locks held 0 write locks 0 pid/thread 1704/5896
10d dd=131 locks held 0 write locks 0 pid/thread 1704/5156
10e dd=130 locks held 0 write locks 0 pid/thread 1704/6260
10f dd=129 locks held 0 write locks 0 pid/thread 1704/7232
110 dd=128 locks held 0 write locks 0 pid/thread 1704/4784
111 dd=127 locks held 0 write locks 0 pid/thread 1704/6896
112 dd=126 locks held 0 write locks 0 pid/thread 1704/7116
113 dd=125 locks held 0 write locks 0 pid/thread 1704/6476
114 dd=124 locks held 0 write locks 0 pid/thread 1704/5756
115 dd=123 locks held 0 write locks 0 pid/thread 1704/4768
116 dd=122 locks held 0 write locks 0 pid/thread 1704/5944
117 dd=121 locks held 0 write locks 0 pid/thread 1704/7444
118 dd=120 locks held 0 write locks 0 pid/thread 1704/7436
119 dd=119 locks held 0 write locks 0 pid/thread 1704/5236
11a dd=118 locks held 0 write locks 0 pid/thread 1704/5116
11b dd=117 locks held 0 write locks 0 pid/thread 1704/7104
11c dd=116 locks held 0 write locks 0 pid/thread 1704/8144
11d dd=115 locks held 0 write locks 0 pid/thread 1704/5224
11e dd=114 locks held 0 write locks 0 pid/thread 1704/8164
11f dd=113 locks held 0 write locks 0 pid/thread 1704/5544
120 dd=112 locks held 0 write locks 0 pid/thread 1704/5724
121 dd=111 locks held 0 write locks 0 pid/thread 1704/7972
122 dd=110 locks held 1 write locks 0 pid/thread 1704/1108
122 READ 1 HELD entry.dbxml page 13
123 dd=109 locks held 0 write locks 0 pid/thread 1704/5296
124 dd=108 locks held 0 write locks 0 pid/thread 1704/7348
125 dd=107 locks held 0 write locks 0 pid/thread 1704/6080
126 dd=106 locks held 0 write locks 0 pid/thread 1704/7184
126 READ 1 WAIT entry.dbxml page 13
127 dd=105 locks held 0 write locks 0 pid/thread 1704/6408
128 dd=104 locks held 0 write locks 0 pid/thread 1704/7284
129 dd=103 locks held 0 write locks 0 pid/thread 1704/6584
12a dd=102 locks held 0 write locks 0 pid/thread 1704/6216
12b dd=101 locks held 0 write locks 0 pid/thread 1704/6380
12c dd=100 locks held 0 write locks 0 pid/thread 1704/5668
12d dd=99 locks held 0 write locks 0 pid/thread 1704/4120
12e dd=98 locks held 0 write locks 0 pid/thread 1704/5804
12f dd=97 locks held 0 write locks 0 pid/thread 1704/7140
130 dd=96 locks held 0 write locks 0 pid/thread 1704/6712
131 dd=95 locks held 0 write locks 0 pid/thread 1704/6564
132 dd=94 locks held 0 write locks 0 pid/thread 1704/7808
133 dd=93 locks held 0 write locks 0 pid/thread 1704/1844
134 dd=92 locks held 0 write locks 0 pid/thread 1704/4024
135 dd=91 locks held 0 write locks 0 pid/thread 1704/6900
136 dd=90 locks held 0 write locks 0 pid/thread 1704/6928
137 dd=89 locks held 0 write locks 0 pid/thread 1704/7764
138 dd=88 locks held 0 write locks 0 pid/thread 1704/7320
139 dd=87 locks held 0 write locks 0 pid/thread 1704/6752
13a dd=86 locks held 0 write locks 0 pid/thread 1704/6728
13b dd=85 locks held 0 write locks 0 pid/thread 1704/1864
13c dd=84 locks held 0 write locks 0 pid/thread 1704/956
13d dd=83 locks held 0 write locks 0 pid/thread 1704/1168
13d READ 1 WAIT entry.dbxml page 11
13e dd=82 locks held 0 write locks 0 pid/thread 1704/7328
13f dd=81 locks held 0 write locks 0 pid/thread 1704/7496
140 dd=80 locks held 0 write locks 0 pid/thread 1704/6776
141 dd=79 locks held 0 write locks 0 pid/thread 1704/6916
142 dd=78 locks held 0 write locks 0 pid/thread 1704/6948
143 dd=77 locks held 0 write locks 0 pid/thread 1704/4236
144 dd=76 locks held 0 write locks 0 pid/thread 1704/7056
145 dd=75 locks held 0 write locks 0 pid/thread 1704/4176
146 dd=74 locks held 0 write locks 0 pid/thread 1704/6676
147 dd=73 locks held 0 write locks 0 pid/thread 1704/7764
148 dd=72 locks held 0 write locks 0 pid/thread 1704/1108
148 READ 1 WAIT entry.dbxml page 11
149 dd=71 locks held 0 write locks 0 pid/thread 1704/5100
14a dd=70 locks held 0 write locks 0 pid/thread 1704/4724
14b dd=69 locks held 0 write locks 0 pid/thread 1704/7236
14c dd=67 locks held 0 write locks 0 pid/thread 1704/3940
14d dd=66 locks held 0 write locks 0 pid/thread 1704/5688
14e dd=65 locks held 0 write locks 0 pid/thread 1704/6616
14f dd=64 locks held 0 write locks 0 pid/thread 1704/7764
150 dd=63 locks held 0 write locks 0 pid/thread 1704/7456
151 dd=62 locks held 0 write locks 0 pid/thread 1704/7428
152 dd=61 locks held 0 write locks 0 pid/thread 1704/6064
153 dd=60 locks held 0 write locks 0 pid/thread 1704/5464
154 dd=59 locks held 0 write locks 0 pid/thread 1704/7428
155 dd=58 locks held 0 write locks 0 pid/thread 1704/7148
155 READ 1 WAIT entry.dbxml page 13
156 dd=57 locks held 0 write locks 0 pid/thread 1704/7148
157 dd=56 locks held 0 write locks 0 pid/thread 1704/5620
158 dd=55 locks held 0 write locks 0 pid/thread 1704/3716
159 dd=54 locks held 0 write locks 0 pid/thread 1704/7640
15a dd=53 locks held 0 write locks 0 pid/thread 1704/4692
15a READ 1 WAIT entry.dbxml page 13
15b dd=52 locks held 0 write locks 0 pid/thread 1704/4692
15c dd=51 locks held 0 write locks 0 pid/thread 1704/5164
15c READ 1 WAIT entry.dbxml page 13
15d dd=50 locks held 0 write locks 0 pid/thread 1704/5164
15e dd=49 locks held 0 write locks 0 pid/thread 1704/5820
15e READ 1 WAIT entry.dbxml page 13
15f dd=48 locks held 0 write locks 0 pid/thread 1704/5820
160 dd=47 locks held 0 write locks 0 pid/thread 1704/6496
161 dd=46 locks held 0 write locks 0 pid/thread 1704/7624
162 dd=45 locks held 0 write locks 0 pid/thread 1704/4772
163 dd=44 locks held 0 write locks 0 pid/thread 1704/7552
163 READ 1 WAIT entry.dbxml page 13
164 dd=43 locks held 0 write locks 0 pid/thread 1704/7552
165 dd=42 locks held 0 write locks 0 pid/thread 1704/7372
166 dd=41 locks held 0 write locks 0 pid/thread 1704/5536
167 dd=40 locks held 0 write locks 0 pid/thread 1704/6796
168 dd=39 locks held 0 write locks 0 pid/thread 1704/5268
169 dd=38 locks held 0 write locks 0 pid/thread 1704/8024
16a dd=37 locks held 0 write locks 0 pid/thread 1704/6460
16a READ 1 WAIT entry.dbxml page 13
16b dd=36 locks held 0 write locks 0 pid/thread 1704/6460
16c dd=35 locks held 0 write locks 0 pid/thread 1704/4368
16d dd=34 locks held 0 write locks 0 pid/thread 1704/4368
16e dd=33 locks held 0 write locks 0 pid/thread 1704/6016
16f dd=32 locks held 0 write locks 0 pid/thread 1704/6908
170 dd=31 locks held 0 write locks 0 pid/thread 1704/7640
171 dd=30 locks held 0 write locks 0 pid/thread 1704/6016
80000018 dd=445 locks held 0 write locks 0 pid/thread 1704/1944
172 dd=29 locks held 0 write locks 0 pid/thread 1704/6532
80000019 dd=444 locks held 0 write locks 0 pid/thread 1704/6728
173 dd=28 locks held 0 write locks 0 pid/thread 1704/6588
8000001a dd=443 locks held 0 write locks 0 pid/thread 1704/7916
174 dd=27 locks held 0 write locks 0 pid/thread 1704/7420
8000001b dd=442 locks held 0 write locks 0 pid/thread 1704/4200
175 dd=26 locks held 0 write locks 0 pid/thread 1704/6336
8000001c dd=441 locks held 0 write locks 0 pid/thread 1704/5548
176 dd=25 locks held 0 write locks 0 pid/thread 1704/5088
8000001d dd=440 locks held 0 write locks 0 pid/thread 1704/1844
177 dd=24 locks held 0 write locks 0 pid/thread 1704/7212
8000001e dd=439 locks held 0 write locks 0 pid/thread 1704/6876
178 dd=23 locks held 0 write locks 0 pid/thread 1704/7212
8000001f dd=438 locks held 0 write locks 0 pid/thread 1704/5224
179 dd=22 locks held 0 write locks 0 pid/thread 1704/5088
80000020 dd=437 locks held 0 write locks 0 pid/thread 1704/5668
17a dd=20 locks held 0 write locks 0 pid/thread 1704/7660
80000021 dd=436 locks held 0 write locks 0 pid/thread 1704/7348
17b dd=19 locks held 0 write locks 0 pid/thread 1704/7160
80000022 dd=435 locks held 0 write locks 0 pid/thread 1704/8164
17c dd=18 locks held 0 write locks 0 pid/thread 1704/6656
80000023 dd=434 locks held 0 write locks 0 pid/thread 1704/6420
17d dd=17 locks held 0 write locks 0 pid/thread 1704/7740
80000024 dd=433 locks held 0 write locks 0 pid/thread 1704/4120
17e dd=16 locks held 0 write locks 0 pid/thread 1704/5652
17e READ 1 WAIT entry.dbxml page 13
80000025 dd=432 locks held 0 write locks 0 pid/thread 1704/3884
17f dd=15 locks held 0 write locks 0 pid/thread 1704/5652
80000026 dd=431 locks held 0 write locks 0 pid/thread 1704/6272
180 dd=13 locks held 0 write locks 0 pid/thread 1704/7928
180 READ 1 WAIT entry.dbxml page 13
80000027 dd=430 locks held 0 write locks 0 pid/thread 1704/5688
181 dd=12 locks held 0 write locks 0 pid/thread 1704/7928
80000028 dd=429 locks held 0 write locks 0 pid/thread 1704/6380
182 dd=11 locks held 0 write locks 0 pid/thread 1704/6596
182 READ 1 WAIT entry.dbxml page 13
80000029 dd=428 locks held 0 write locks 0 pid/thread 1704/6752
183 dd=10 locks held 0 write locks 0 pid/thread 1704/6596
8000002a dd=427 locks held 0 write locks 0 pid/thread 1704/6584
184 dd= 8 locks held 0 write locks 0 pid/thread 1704/5088
184 READ 1 WAIT entry.dbxml page 13
8000002b dd=426 locks held 0 write locks 0 pid/thread 1704/7328
185 dd= 7 locks held 0 write locks 0 pid/thread 1704/5088
8000002c dd=425 locks held 0 write locks 0 pid/thread 1704/7232
186 dd= 6 locks held 0 write locks 0 pid/thread 1704/5236
186 READ 1 WAIT entry.dbxml page 13
8000002d dd=424 locks held 0 write locks 0 pid/thread 1704/5756
187 dd= 5 locks held 0 write locks 0 pid/thread 1704/5236
8000002e dd=423 locks held 0 write locks 0 pid/thread 1704/5896
188 dd= 4 locks held 0 write locks 0 pid/thread 1704/6532
188 READ 1 WAIT entry.dbxml page 13
8000002f dd=422 locks held 0 write locks 0 pid/thread 1704/7276
189 dd= 3 locks held 0 write locks 0 pid/thread 1704/6532
80000030 dd=421 locks held 0 write locks 0 pid/thread 1704/4176
18a dd= 1 locks held 0 write locks 0 pid/thread 1704/5472
18a READ 1 WAIT entry.dbxml page 13
80000031 dd=420 locks held 0 write locks 0 pid/thread 1704/1448
18b dd= 0 locks held 0 write locks 0 pid/thread 1704/5472
80000032 dd=419 locks held 0 write locks 0 pid/thread 1704/4024
80000033 dd=418 locks held 0 write locks 0 pid/thread 1704/376
80000034 dd=417 locks held 0 write locks 0 pid/thread 1704/7284
80000035 dd=416 locks held 0 write locks 0 pid/thread 1704/5432
80000036 dd=415 locks held 0 write locks 0 pid/thread 1704/6956
80000037 dd=414 locks held 0 write locks 0 pid/thread 1704/6080
80000038 dd=413 locks held 0 write locks 0 pid/thread 1704/6776
80000039 dd=412 locks held 0 write locks 0 pid/thread 1704/5912
8000003a dd=411 locks held 0 write locks 0 pid/thread 1704/5544
8000003b dd=410 locks held 0 write locks 0 pid/thread 1704/656
8000003c dd=409 locks held 0 write locks 0 pid/thread 1704/7220
8000003d dd=408 locks held 0 write locks 0 pid/thread 1704/4768
8000003f dd=407 locks held 0 write locks 0 pid/thread 1704/6092
80000040 dd=406 locks held 0 write locks 0 pid/thread 1704/5804
80000041 dd=405 locks held 0 write locks 0 pid/thread 1704/5272
80000042 dd=404 locks held 0 write locks 0 pid/thread 1704/6712
80000043 dd=403 locks held 0 write locks 0 pid/thread 1704/7056
80000044 dd=402 locks held 0 write locks 0 pid/thread 1704/7104
80000045 dd=401 locks held 0 write locks 0 pid/thread 1704/7040
80000046 dd=400 locks held 0 write locks 0 pid/thread 1704/5116
80000047 dd=399 locks held 0 write locks 0 pid/thread 1704/7728
80000048 dd=398 locks held 0 write locks 0 pid/thread 1704/6900
80000049 dd=397 locks held 0 write locks 0 pid/thread 1704/7936
8000004a dd=396 locks held 0 write locks 0 pid/thread 1704/7236
8000004b dd=395 locks held 0 write locks 0 pid/thread 1704/8144
8000004c dd=394 locks held 0 write locks 0 pid/thread 1704/7140
8000004d dd=393 locks held 0 write locks 0 pid/thread 1704/6324
8000004e dd=392 locks held 0 write locks 0 pid/thread 1704/4552
8000004f dd=391 locks held 0 write locks 0 pid/thread 1704/5944
80000050 dd=390 locks held 0 write locks 0 pid/thread 1704/956
80000051 dd=389 locks held 0 write locks 0 pid/thread 1704/5156
80000052 dd=388 locks held 0 write locks 0 pid/thread 1704/5444
80000053 dd=387 locks held 0 write locks 0 pid/thread 1704/4784
80000054 dd=386 locks held 0 write locks 0 pid/thread 1704/4724
80000055 dd=385 locks held 0 write locks 0 pid/thread 1704/5100
80000056 dd=384 locks held 0 write locks 0 pid/thread 1704/3940
80000057 dd=383 locks held 0 write locks 0 pid/thread 1704/6676
80000058 dd=382 locks held 0 write locks 0 pid/thread 1704/7436
80000059 dd=381 locks held 0 write locks 0 pid/thread 1704/7768
8000005a dd=380 locks held 0 write locks 0 pid/thread 1704/7496
8000005b dd=379 locks held 0 write locks 0 pid/thread 1704/6476
8000005c dd=378 locks held 0 write locks 0 pid/thread 1704/6352
8000005d dd=377 locks held 0 write locks 0 pid/thread 1704/6928
8000005e dd=376 locks held 0 write locks 0 pid/thread 1704/6916
8000005f dd=375 locks held 0 write locks 0 pid/thread 1704/7128
80000060 dd=374 locks held 0 write locks 0 pid/thread 1704/5468
80000061 dd=373 locks held 0 write locks 0 pid/thread 1704/6408
80000062 dd=372 locks held 0 write locks 0 pid/thread 1704/6260
80000063 dd=371 locks held 0 write locks 0 pid/thread 1704/6948
80000064 dd=370 locks held 0 write locks 0 pid/thread 1704/1864
80000065 dd=369 locks held 0 write locks 0 pid/thread 1704/5296
80000066 dd=368 locks held 0 write locks 0 pid/thread 1704/7848
80000067 dd=367 locks held 0 write locks 0 pid/thread 1704/7444
80000068 dd=366 locks held 0 write locks 0 pid/thread 1704/7320
80000069 dd=365 locks held 0 write locks 0 pid/thread 1704/7972
8000006a dd=364 locks held 0 write locks 0 pid/thread 1704/5724
8000006b dd=363 locks held 0 write locks 0 pid/thread 1704/7456
8000006c dd=362 locks held 0 write locks 0 pid/thread 1704/6896
8000006d dd=361 locks held 0 write locks 0 pid/thread 1704/6616
8000006e dd=360 locks held 0 write locks 0 pid/thread 1704/7632
8000006f dd=359 locks held 0 write locks 0 pid/thread 1704/6216
80000070 dd=358 locks held 0 write locks 0 pid/thread 1704/7116
80000071 dd=357 locks held 0 write locks 0 pid/thread 1704/7396
80000072 dd=356 locks held 0 write locks 0 pid/thread 1704/4896
80000073 dd=355 locks held 0 write locks 0 pid/thread 1704/5428
80000074 dd=354 locks held 0 write locks 0 pid/thread 1704/6564
80000075 dd=353 locks held 0 write locks 0 pid/thread 1704/7960
80000076 dd=352 locks held 0 write locks 0 pid/thread 1704/6188
80000077 dd=351 locks held 0 write locks 0 pid/thread 1704/3880
80000078 dd=350 locks held 0 write locks 0 pid/thread 1704/6836
80000079 dd=349 locks held 0 write locks 0 pid/thread 1704/4236
8000007a dd=348 locks held 0 write locks 0 pid/thread 1704/7808
8000007b dd=347 locks held 0 write locks 0 pid/thread 1704/1168
8000007c dd=346 locks held 0 write locks 0 pid/thread 1704/5236
8000007d dd=345 locks held 0 write locks 0 pid/thread 1704/5088
8000007e dd=344 locks held 0 write locks 0 pid/thread 1704/6460
8000007f dd=343 locks held 0 write locks 0 pid/thread 1704/4692
80000081 dd=341 locks held 0 write locks 0 pid/thread 1704/5472
80000082 dd=340 locks held 0 write locks 0 pid/thread 1704/1108
80000083 dd=339 locks held 0 write locks 0 pid/thread 1704/5164
80000084 dd=338 locks held 0 write locks 0 pid/thread 1704/7184
80000085 dd=337 locks held 0 write locks 0 pid/thread 1704/7552
80000086 dd=336 locks held 0 write locks 0 pid/thread 1704/7928
80000092 dd=329 locks held 0 write locks 0 pid/thread 1704/5652
80000094 dd=328 locks held 0 write locks 0 pid/thread 1704/6532
80000096 dd=326 locks held 0 write locks 0 pid/thread 1704/6596
80000098 dd=325 locks held 0 write locks 0 pid/thread 1704/7148
8000009b dd=323 locks held 0 write locks 0 pid/thread 1704/5820
800000a2 dd=434 locks held 0 write locks 0 pid/thread 1704/6420
800000a2 WRITE 1 WAIT entry.dbxml page 11
800000a3 dd=433 locks held 0 write locks 0 pid/thread 1704/4120
800000a3 WRITE 1 WAIT entry.dbxml page 11
800000a4 dd=439 locks held 0 write locks 0 pid/thread 1704/6876
800000a4 WRITE 1 WAIT entry.dbxml page 11
800000a5 dd=429 locks held 0 write locks 0 pid/thread 1704/6380
800000a5 WRITE 1 WAIT entry.dbxml page 11
800000a6 dd=428 locks held 0 write locks 0 pid/thread 1704/6752
800000a6 WRITE 1 WAIT entry.dbxml page 11
800000a7 dd=436 locks held 0 write locks 0 pid/thread 1704/7348
800000a7 WRITE 1 WAIT entry.dbxml page 11
800000a8 dd=435 locks held 0 write locks 0 pid/thread 1704/8164
800000a8 WRITE 1 WAIT entry.dbxml page 11
800000a9 dd=440 locks held 0 write locks 0 pid/thread 1704/1844
800000a9 WRITE 1 WAIT entry.dbxml page 11
800000aa dd=438 locks held 0 write locks 0 pid/thread 1704/5224
800000aa WRITE 1 WAIT entry.dbxml page 11
800000ab dd=437 locks held 0 write locks 0 pid/thread 1704/5668
800000ab WRITE 1 WAIT entry.dbxml page 11
800000ac dd=431 locks held 0 write locks 0 pid/thread 1704/6272
800000ac WRITE 1 WAIT entry.dbxml page 11
800000b9 dd=412 locks held 0 write locks 0 pid/thread 1704/5912
800000b9 WRITE 1 WAIT entry.dbxml page 11
800000bd dd=416 locks held 0 write locks 0 pid/thread 1704/5432
800000bd WRITE 1 WAIT entry.dbxml page 11
800000be dd=409 locks held 0 write locks 0 pid/thread 1704/7220
800000be WRITE 1 WAIT entry.dbxml page 11
800000bf dd=422 locks held 0 write locks 0 pid/thread 1704/7276
800000bf WRITE 1 WAIT entry.dbxml page 11
800000c0 dd=424 locks held 0 write locks 0 pid/thread 1704/5756
800000c0 WRITE 1 WAIT entry.dbxml page 11
800000c1 dd=410 locks held 0 write locks 0 pid/thread 1704/656
800000c1 WRITE 1 WAIT entry.dbxml page 11
800000c5 dd=420 locks held 0 write locks 0 pid/thread 1704/1448
800000c5 WRITE 1 WAIT entry.dbxml page 11
800000c6 dd=417 locks held 0 write locks 0 pid/thread 1704/7284
800000c6 WRITE 1 WAIT entry.dbxml page 11
800000c7 dd=415 locks held 0 write locks 0 pid/thread 1704/6956
800000c7 WRITE 1 WAIT entry.dbxml page 11
800000c8 dd=423 locks held 0 write locks 0 pid/thread 1704/5896
800000c8 WRITE 1 WAIT entry.dbxml page 11
800000c9 dd=401 locks held 0 write locks 0 pid/thread 1704/7040
800000c9 WRITE 1 WAIT entry.dbxml page 11
800000ca dd=418 locks held 0 write locks 0 pid/thread 1704/376
800000ca WRITE 1 WAIT entry.dbxml page 11
800000cb dd=432 locks held 0 write locks 0 pid/thread 1704/3884
800000cb WRITE 1 WAIT entry.dbxml page 11
800000cd dd=393 locks held 0 write locks 0 pid/thread 1704/6324
800000cd WRITE 1 WAIT entry.dbxml page 11
800000d0 dd=427 locks held 0 write locks 0 pid/thread 1704/6584
800000d0 WRITE 1 WAIT entry.dbxml page 11
800000d2 dd=408 locks held 0 write locks 0 pid/thread 1704/4768
800000d2 WRITE 1 WAIT entry.dbxml page 11
800000d3 dd=406 locks held 0 write locks 0 pid/thread 1704/5804
800000d3 WRITE 1 WAIT entry.dbxml page 11
800000d4 dd=405 locks held 0 write locks 0 pid/thread 1704/5272
800000d4 WRITE 1 WAIT entry.dbxml page 11
800000d5 dd=373 locks held 0 write locks 0 pid/thread 1704/6408
800000d5 WRITE 1 WAIT entry.dbxml page 11
800000d6 dd=369 locks held 0 write locks 0 pid/thread 1704/5296
800000d6 WRITE 1 WAIT entry.dbxml page 11
800000d7 dd=389 locks held 0 write locks 0 pid/thread 1704/5156
800000d7 WRITE 1 WAIT entry.dbxml page 11
800000d8 dd=370 locks held 0 write locks 0 pid/thread 1704/1864
800000d8 READ 1 WAIT entry.dbxml page 11
800000d9 dd=411 locks held 0 write locks 0 pid/thread 1704/5544
800000d9 WRITE 1 WAIT entry.dbxml page 11
800000da dd=365 locks held 0 write locks 0 pid/thread 1704/7972
800000da WRITE 1 WAIT entry.dbxml page 11
800000de dd=381 locks held 0 write locks 0 pid/thread 1704/7768
800000de WRITE 1 WAIT entry.dbxml page 11
800000e0 dd=395 locks held 0 write locks 0 pid/thread 1704/8144
800000e0 WRITE 1 WAIT entry.dbxml page 11
800000e1 dd=384 locks held 0 write locks 0 pid/thread 1704/3940
800000e1 READ 1 WAIT entry.dbxml page 11
800000e2 dd=385 locks held 0 write locks 0 pid/thread 1704/5100
800000e2 READ 1 WAIT entry.dbxml page 11
800000e3 dd=396 locks held 0 write locks 0 pid/thread 1704/7236
800000e3 READ 1 WAIT entry.dbxml page 11
800000e4 dd=383 locks held 0 write locks 0 pid/thread 1704/6676
800000e4 READ 1 WAIT entry.dbxml page 11
800000e5 dd=407 locks held 1 write locks 1 pid/thread 1704/6092
800000e5 WRITE 1 WAIT entry.dbxml page 13
800000e5 WRITE 1 HELD entry.dbxml page 11
800000e6 dd=392 locks held 0 write locks 0 pid/thread 1704/4552
800000e6 WRITE 1 WAIT entry.dbxml page 11
800000e7 dd=386 locks held 0 write locks 0 pid/thread 1704/4724
800000e7 READ 1 WAIT entry.dbxml page 11
800000e8 dd=402 locks held 0 write locks 0 pid/thread 1704/7104
800000e8 WRITE 1 WAIT entry.dbxml page 11
800000e9 dd=376 locks held 0 write locks 0 pid/thread 1704/6916
800000e9 READ 1 WAIT entry.dbxml page 11
800000ea dd=379 locks held 0 write locks 0 pid/thread 1704/6476
800000ea WRITE 1 WAIT entry.dbxml page 11
800000eb dd=387 locks held 0 write locks 0 pid/thread 1704/4784
800000eb WRITE 1 WAIT entry.dbxml page 11
800000ec dd=367 locks held 0 write locks 0 pid/thread 1704/7444
800000ec WRITE 1 WAIT entry.dbxml page 11
800000ed dd=394 locks held 0 write locks 0 pid/thread 1704/7140
800000ed WRITE 1 WAIT entry.dbxml page 11
800000ef dd=390 locks held 0 write locks 0 pid/thread 1704/956
800000ef READ 1 WAIT entry.dbxml page 11
800000f0 dd=364 locks held 0 write locks 0 pid/thread 1704/5724
800000f0 WRITE 1 WAIT entry.dbxml page 11
800000f1 dd=443 locks held 0 write locks 0 pid/thread 1704/7916
800000f1 WRITE 1 WAIT entry.dbxml page 11
800000f2 dd=377 locks held 0 write locks 0 pid/thread 1704/6928
800000f2 WRITE 1 WAIT entry.dbxml page 11
800000f4 dd=398 locks held 0 write locks 0 pid/thread 1704/6900
800000f4 WRITE 1 WAIT entry.dbxml page 11
800000f7 dd=374 locks held 0 write locks 0 pid/thread 1704/5468
800000f7 WRITE 1 WAIT entry.dbxml page 11
800000f8 dd=348 locks held 0 write locks 0 pid/thread 1704/7808
800000f8 WRITE 1 WAIT entry.dbxml page 11
800000f9 dd=378 locks held 0 write locks 0 pid/thread 1704/6352
800000f9 WRITE 1 WAIT entry.dbxml page 11
800000fa dd=375 locks held 0 write locks 0 pid/thread 1704/7128
800000fa WRITE 1 WAIT entry.dbxml page 11
800000fb dd=388 locks held 0 write locks 0 pid/thread 1704/5444
800000fb WRITE 1 WAIT entry.dbxml page 11
800000fc dd=400 locks held 0 write locks 0 pid/thread 1704/5116
800000fc WRITE 1 WAIT entry.dbxml page 11
800000fe dd=352 locks held 0 write locks 0 pid/thread 1704/6188
800000fe WRITE 1 WAIT entry.dbxml page 11
80000100 dd=349 locks held 0 write locks 0 pid/thread 1704/4236
80000100 READ 1 WAIT entry.dbxml page 11
80000101 dd=356 locks held 0 write locks 0 pid/thread 1704/4896
80000101 WRITE 1 WAIT entry.dbxml page 11
80000102 dd=444 locks held 0 write locks 0 pid/thread 1704/6728
80000102 WRITE 1 WAIT entry.dbxml page 11
80000103 dd=421 locks held 0 write locks 0 pid/thread 1704/4176
80000103 READ 1 WAIT entry.dbxml page 11
80000104 dd=355 locks held 0 write locks 0 pid/thread 1704/5428
80000104 WRITE 1 WAIT entry.dbxml page 11
80000105 dd=430 locks held 0 write locks 0 pid/thread 1704/5688
80000105 READ 1 WAIT entry.dbxml page 11
80000108 dd=413 locks held 0 write locks 0 pid/thread 1704/6776
80000108 READ 1 WAIT entry.dbxml page 11
8000010b dd=380 locks held 0 write locks 0 pid/thread 1704/7496
8000010b READ 1 WAIT entry.dbxml page 11
8000010c dd=357 locks held 0 write locks 0 pid/thread 1704/7396
8000010c WRITE 1 WAIT entry.dbxml page 11
80000119 dd=445 locks held 0 write locks 0 pid/thread 1704/1944
80000119 WRITE 1 WAIT entry.dbxml page 11
8000011a dd=360 locks held 0 write locks 0 pid/thread 1704/7632
8000011a WRITE 1 WAIT entry.dbxml page 11
8000011b dd=351 locks held 0 write locks 0 pid/thread 1704/3880
8000011b WRITE 1 WAIT entry.dbxml page 11
8000011c dd=441 locks held 0 write locks 0 pid/thread 1704/5548
8000011c WRITE 1 WAIT entry.dbxml page 11
8000011d dd=362 locks held 0 write locks 0 pid/thread 1704/6896
8000011d WRITE 1 WAIT entry.dbxml page 11
8000011e dd=366 locks held 0 write locks 0 pid/thread 1704/7320
8000011e WRITE 1 WAIT entry.dbxml page 11
8000011f dd=414 locks held 0 write locks 0 pid/thread 1704/6080
8000011f WRITE 1 WAIT entry.dbxml page 11
80000120 dd=350 locks held 0 write locks 0 pid/thread 1704/6836
80000120 WRITE 1 WAIT entry.dbxml page 11
80000121 dd=403 locks held 0 write locks 0 pid/thread 1704/7056
80000121 READ 1 WAIT entry.dbxml page 11
80000122 dd=391 locks held 0 write locks 0 pid/thread 1704/5944
80000122 WRITE 1 WAIT entry.dbxml page 11
80000125 dd=425 locks held 0 write locks 0 pid/thread 1704/7232
80000125 WRITE 1 WAIT entry.dbxml page 11
80000126 dd=404 locks held 0 write locks 0 pid/thread 1704/6712
80000126 WRITE 1 WAIT entry.dbxml page 11
80000127 dd=397 locks held 0 write locks 0 pid/thread 1704/7936
80000127 WRITE 1 WAIT entry.dbxml page 11
80000129 dd=399 locks held 0 write locks 0 pid/thread 1704/7728
80000129 WRITE 1 WAIT entry.dbxml page 11
8000012a dd=371 locks held 0 write locks 0 pid/thread 1704/6948
8000012a READ 1 WAIT entry.dbxml page 11
8000012b dd=372 locks held 0 write locks 0 pid/thread 1704/6260
8000012b WRITE 1 WAIT entry.dbxml page 11
8000012e dd=354 locks held 0 write locks 0 pid/thread 1704/6564
8000012e WRITE 1 WAIT entry.dbxml page 11
80000131 dd=353 locks held 0 write locks 0 pid/thread 1704/7960
80000131 WRITE 1 WAIT entry.dbxml page 11
80000132 dd=426 locks held 0 write locks 0 pid/thread 1704/7328
80000132 READ 1 WAIT entry.dbxml page 11
80000134 dd=442 locks held 0 write locks 0 pid/thread 1704/4200
80000134 WRITE 1 WAIT entry.dbxml page 11
80000135 dd=382 locks held 0 write locks 0 pid/thread 1704/7436
80000135 WRITE 1 WAIT entry.dbxml page 11
80000136 dd=419 locks held 0 write locks 0 pid/thread 1704/4024
80000136 WRITE 1 WAIT entry.dbxml page 11
80000137 dd=359 locks held 0 write locks 0 pid/thread 1704/6216
80000137 WRITE 1 WAIT entry.dbxml page 11
8000013a dd=368 locks held 0 write locks 0 pid/thread 1704/7848
8000013a WRITE 1 WAIT entry.dbxml page 11
8000013c dd=361 locks held 0 write locks 0 pid/thread 1704/6616
8000013c READ 1 WAIT entry.dbxml page 11
8000013d dd=358 locks held 0 write locks 0 pid/thread 1704/7116
8000013d WRITE -
Program hanged while attempting to send java mail
Java program hanges while atempting to send mail and below is the stack track. Can you please let us know what might using program to hang state.
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
- locked <0xb3b1a680> (a java.io.BufferedInputStream)Thanks, for your response.
Yes its keep on listening state and not getting any data. Also we have set the timeout configuration and still program hangs.
Not throwing any exception. Each time we have to take the jstack trace to check the error before killing the process id. -
When I plug my headphones into the headphone/optical out jack programs hang
I have an iMac 20 inch LCD. On the back their is a jack with a picture of headphones, but it is also labeled as "optical out". I plug my headphones in and they work. Great. That is not my problem today.
My problem is that whenever I plug the headphones in or unplug them, iTunes (and other apps using audio) hangs and when I try to adjust the volume with the keyboard buttons nothing happens for 15 seconds or more and then the volume changes, not that anything is able to play. If I wait for a minute or so then all my applications start working fine again and I am able to hear my music and adjust the volume.
What in the world is going on?
1.8 Ghz G5 1.25GB RAM Mac OS X (10.3.9)Thank you. That is good information.
Does this mean that there is nothing I can do about the delay? When I think of a delay, I think of maybe 10 seconds. I am having to wait for a minute or more for my audio to switch. While I wait, I have no audio and any audio program hangs. Is there a setting I can change? It seems rather ridiculous that I have to wait so long just to switch from internal speakers to headphones.
It is like this on other Mac machines? Or it is just my iMac? I hate to compare Mac to Windows, but on Windows or Linux computers the switch is instantaneous. -
Client/Server in one program (using multiple threads)?
Is there some examples out there of how to use a client and server in a single program using separate threads? Also, is it possible to start a third thread to control the packets, such as drop a random or specified number of packets (or match on specific data in a packet)?
Just trying to have a client send udp packets to a server (all on the same machine running from the same program) and want to be able to drop packets coming from the client side to the server side.
E.g.,
Here's an example that I found here: http://compnet.epfl.ch/tps/tp5.html
import java.io.<strong>;
import java.net.</strong>;
import java.util.<strong>;
/</strong>
* Server to process ping requests over UDP.
public class PingServer {
private static double lossRate = 0.3;
private static int averageDelay = 100; // milliseconds
private static int port;
private static DatagramSocket socket;
public static void main(String[] args) {
// Get command line arguments.
try {
if (args.length == 0) {
throw new Exception("Mandatory parameter missing");
port = Integer.parseInt(args[0]);
if (args.length > 1) {
lossRate = Double.parseDouble(args[1]);
if (args.length > 2) {
averageDelay = Integer.parseInt(args[2]);
} catch (Exception e) {
System.out.println("UDP Ping Server");
System.out.println("Usage: java PingServer port [loss rate] [average delay in miliseconds]");
return;
// Create random number generator for use in simulating
// packet loss and network delay.
Random random = new Random();
// Create a datagram socket for receiving and sending UDP packets
// through the port specified on the command line.
try {
socket = new DatagramSocket(port);
System.out.println("UDP PingSever awaiting echo requests");
} catch (SocketException e) {
System.out.println("Failed to create a socket");
System.out.println(e);
return;
// Processing loop.
while (true) {
// Create a datagram packet to hold incoming UDP packet.
DatagramPacket request = new DatagramPacket(new byte[1024], 1024);
// Block until the host receives a UDP packet.
try {
socket.receive(request);
} catch (IOException e) {
System.out.println("Error receiving from socket");
System.out.println(e);
break;
// Print the received data.
printData(request);
// Decide whether to reply, or simulate packet loss.
if (random.nextDouble() < lossRate) {
System.out.println(" Reply not sent.");
continue;
// Simulate network delay.
try {
Thread.sleep((int) (random.nextDouble() * 2 * averageDelay));
} catch (InterruptedException e) {}; // Ignore early awakenings.
// Send reply.
InetAddress clientHost = request.getAddress();
int clientPort = request.getPort();
byte[] buf = request.getData();
DatagramPacket reply = new DatagramPacket(buf, buf.length,
clientHost, clientPort);
try {
socket.send(reply);
} catch (IOException e) {
System.out.println("Error sending to a socket");
System.out.println(e);
break;
System.out.println(" Reply sent.");
* Print ping data to the standard output stream.
private static void printData(DatagramPacket request) {
// Obtain references to the packet's array of bytes.
byte[] buf = request.getData();
// Wrap the bytes in a byte array input stream,
// so that you can read the data as a stream of bytes.
ByteArrayInputStream bais = new ByteArrayInputStream(buf);
// Wrap the byte array output stream in an input stream reader,
// so you can read the data as a stream of characters.
InputStreamReader isr = new InputStreamReader(bais);
// Wrap the input stream reader in a buffered reader,
// so you can read the character data a line at a time.
// (A line is a sequence of chars terminated by any combination of \r
// and \n.)
BufferedReader br = new BufferedReader(isr);
// We will display the first line of the data.
String line = "";
try {
line = br.readLine();
} catch (IOException e) {
// Print host address and data received from it.
System.out.println("Received echo request from "
+ request.getAddress().getHostAddress() + ": " + line);
}I'm looking to do the "processing loop" in a separate thread, but I'd also like to do the client in a separate thread
So you're saying, just put the client code in a separate class and start the thread and that's it? As far as the packet rate loss thread, is this possible to do in another thread? -
Problem with program hanging randomly on certain commands from win 7 pro client to SB Server
Having a problem with program hanging randomly on certain commands from Win-7 Pro Client to SB Server Both 64-Bit
Five other slower XP-Pro 32 Bit systems though they are older and slower systems do not seem to hang as readily if at all.
It has been very frustrating as the Client-System, SB-Server and Program should work w/o any hitches, but this seems to work fine @ times and then hang randomly.
Would appreciate any and all suggestions in assisting.... JimBAgde-MSSYou can try this, as I have had similar problems with another MS Access .MDB file and slow access before. This fixed my problem for me. On the slow computer, make sure the program is set to see the .mdb file via UNC path, not a mapped drive letter. ex.
USE: \\yourserver\shared\dental\file.mdb
DO NOT: S:\\shared\dental\file.mdb
hope this helps -
Upgraded to FCPX 10.2 - Program hanging
I updated to 10.2 and now the program hangs anytime I try to play a clip.
Anyone else dealing with this?
MacBook Pro (Retina, 13-inch, Late 2013)
2.8 GHz Intel Core i7
OSX 10.10.3Open System Preferences.
-
Program hangs when instantiating a DataSource
Hello everyone !
I am sorry to disturb you with a silly question. I have done some research but I am unable to solve this by myself. I am a JMF beginner, and I am trying to stream wav files with the RTP protocol. Sadly, I can't get to create a DataSource, because the program hangs here :
public Streamer(String rtpaddress, String filepath)
mediaLocator = new MediaLocator(rtpaddress);
System.out.println("-> Created media locator: '" +
mediaLocator + "'");
try
URL url;
url = new URL("http://127.0.0.1/sound.wav");
DataSource source = Manager.createDataSource(
new MediaLocator(url)); // Program hangs here!
System.out.println("-> Created data source: '" +
url + "'");
// set the data source.
setDataSource(source);
System.out.println("-> Set the data source on the transmitter");
// start the processor
mediaProcessor.start();
// open and start the data sink
dataSink.open();
dataSink.start();
catch (Exception e)
{ // Exceptions, etc... }I am quite sure my mistake is obvious : still, I have spent a lot of time trying to figure it out and I haven't.
Thanks in advance for your help !Welcome to the Sun forums.
>
I am sorry to disturb you with a silly question. I have done some research but I am unable to solve this by myself. I am a JMF beginner, and I am trying to stream wav files with the RTP protocol. Sadly, I can't get to create a DataSource, because the program hangs here :>'here' where exactly?
Does the output include any or all of..
"-> Created media locator: '" + mediaLocator + "'"
"-> Created data source: 'http://127.0.0.1/sound.wav'"
"-> Set the data source on the transmitter"?
>
catch (Exception e)
{ // Exceptions, etc... }
// Exceptions, etc... ?
What happens here? An ideal situation would [dump the stack trace|http://pscode.org/javafaq.html#stacktrace]..
e.printStackTrace(); -
Hello Forum,
I'm currently tuning some SQLs with parameters that run some minutes. When I enter the SQL in the worksheet and press F9, SQL Developer asks for the parameters. But after clicking "Apply" (or whatever it is called in the english version, I'm using german ;-)
I get the elapsed time of 0.018 seconds displayed and the whole program hangs until the SQL is completed. The elapsed time is not updated so I don't get the real elapsed time.
I run SQL Developer against an Oracle 9.2 Database on Win2k. The client runs WinXP.
I hope this is not a double post but searching the forum for "parameters" gave too many hits to check. ;-)
Regards,
dhalekSqldev hangs when issuing an action that requires the previous action to be completed first.
Sqldev could open a new connection for this, or at least display a message telling the action isn't possible until the previous one completes, instead of just hanging. Vote for the requests for this on the SQL Developer Exchange if you want this getting addressed sooner.
Thanks,
K. -
Hi,
I am running into a strange problem. We have scheduled a Java program to using BQPlus scheduler. The program hangs some time at a particular statement, while most of the time it works. If we run it directly from command line it always works.
The statement where program hangs some time uses the put method of Properties object. I do not see any thing there which should make the program hang (Database connection or file read write).
I am using java version "1.4.2_02" on AIX
Any help on how to further investigate would be great!
AbhinavHere is the code that hangs. It hangs on the following statement:
props.put(APIConst.TAG_JDBC_URL, ApplicationProperties.JREPORT_TAG_JDBC_URL);
ReportConfig reportConfig= ReportConfigFactory.instance.getReportConfig(repBean.getReportName());
if(reportConfig==null){
throw new IllegalStateException ("The report configuration for " +
"the name=" + repBean.getReportName() + " " +
"could not be found. Please " +
"check the reportconfig.xml file");
Properties props = new Properties();
String pdfFileName;
if(logger.isDebugEnabled()){
logger.debug("Report is going to be generated for config=:\n \t" +
reportConfig.getName());
logger.info("Before putting properties values");
props.put(APIConst.TAG_JDBC_DRIVER,ApplicationProperties.JREPORT_TAG_JDBC_DRIVER);
logger.info("Setting property value for ApplicationProperties.JREPORT_TAG_JDBC_DRIVER "+ApplicationProperties.JREPORT_TAG_JDBC_DRIVER);
props.put(APIConst.TAG_JDBC_URL, ApplicationProperties.JREPORT_TAG_JDBC_URL);
logger.info("Setting property value for ApplicationProperties.JREPORT_TAG_JDBC_URL "+ApplicationProperties.JREPORT_TAG_JDBC_URL);
props.put(APIConst.TAG_DB_USER,ApplicationProperties.JREPORT_TAG_DB_USER);
logger.info("Setting property value for ApplicationProperties.JREPORT_TAG_DB_USER "+ApplicationProperties.JREPORT_TAG_DB_USER);
props.put(APIConst.TAG_DB_PSWD,ApplicationProperties.JREPORT_TAG_DB_PSWD);
logger.info("Setting property value for ApplicationProperties.JREPORT_TAG_DB_PSWD "+ApplicationProperties.JREPORT_TAG_DB_PSWD);
props.put(APIConst.TAG_TASK_CLASS, APIConst.TASK_TO_FILE);
logger.info("Setting property value for APIConst.TASK_TO_FILE "+APIConst.TASK_TO_FILE);
props.put(APIConst.TAG_CATALOG, reportConfig.getCatalog());
logger.info("Setting property value for reportConfig.getCatalog() "+reportConfig.getCatalog());
props.put(APIConst.TAG_REPORT, reportConfig.getCls());
logger.info("Setting property value for reportConfig.getCls() "+reportConfig.getCls());
props.put(APIConst.TAG_TO_DISK, String.valueOf(true));
logger.info("Setting property value for String.valueOf(true) "+String.valueOf(true));
props.put(APIConst.TAG_TO_PDF, String.valueOf(true));
logger.info("Setting property value for String.valueOf(true)"+String.valueOf(true));
//Set to disk type is "1" which means publish to real disk path, default is "0"
//which means publish to JReport Server resource path
logger.info("After setting the db related properties");
//check for printer setting values -
Lion - Mail Program hanging up
Almost every time I send out an email in MAIL the actual program hangs up. On opening 'force quit' it says 'program not responding' so I force quit, then reopen MAIL. When I do that, I find the message has actually been sent, but the window with the message is still open.
Someone suggested I change the MAIL preferences - so MAIL>preferences>viewing - checked the box 'use classic layout' and now the program works fine. So far, I prefer the old classic layout, and found the new one a jumble.
And I hate the greyed out icons on the top of this new mail program. Lets have some color here.What type of account is this (POP, IMAP, .Mac)? What
are your Preferences > Accounts > Mailbox
Behaviors > Trash settings?
Account type is POP. I just noticed that my .Mac box seems to be OK. But my regular email has like 2,000 messages there. I think I just found the problem, someone in my household changed the settings and unchecked the move deleted messages to a separate folder.
Thanks -
HT3964 programs hanging; long wait time
programs hanging; long wait time for 'pie' to clear; reset the smc and still not functioning. pls. help.
Hello, see how many of these you can answer...
See if the Disk is issuing any S.M.A.R.T errors in Disk Utility...
http://support.apple.com/kb/PH7029
Open Activity Monitor in Applications>Utilities, select All Processes & sort on CPU%, any indications there?
How much RAM & free space do you have also, click on the Memory & Disk Usage Tabs.
Open Console in Utilities & see if there are any clues or repeating messages when this happens.
In the Memory tab of Activity Monitor, are there a lot of Pageouts?
https://discussions.apple.com/servlet/JiveServlet/showImage/2-18666790-125104/AM Pageouts.jpg
One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
Reboot, test again.
If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on,IPmyriadLogin Items window to see if it or something relevant is listed.
Check the System Preferences>Other Row, for 3rd party Pref Panes.
Also look in these if they exist, some are invisible...
/private/var/run/StartupItems
/Library/StartupItems
/System/Library/StartupItems
/System/Library/LaunchDaemons
/Library/LaunchDaemons -
Clicking on Media results in program hanging and having to force close.
I installed Keynote 09 stand alone on new Macbook pro but when I click on Media, the Media box opens with Photos already selected and iphoto preselected but then the programs hangs with the color wheel until I force close Keynote. I have tried uninstalling with Mackeeper and then reinstalling but with the same result
I installed Keynote 09 stand alone on new Macbook pro but when I click on Media, the Media box opens with Photos already selected and iphoto preselected but then the programs hangs with the color wheel until I force close Keynote. I have tried uninstalling with Mackeeper and then reinstalling but with the same result
Maybe you are looking for
-
Access to a web server from outside(ASA 5505)
Heelo, need kindly advice i`ve configured NAT rules as following: object network HWebServer host 10.43.1.11 description OutsideWebserver object network HWebServer nat (inside,outside) static interface service tcp 80 8087 then set access rules to allo
-
Lumia 1020 Owners - What is your iPhoto Workflow
I really want to start using iPhoto fully to manage my photos. I have my images from my past two phones in iPhoto already and that's all fine. They were the Lumia 800, and then Lumia 520 as a cheap stop-gap when my 800 broke whilst waiting for my nex
-
Investment management : which module
Dear SDN, I would like a clear view as to which module Investment management comes under. Is it part of Fi or controlling? or is it an independent module by itself using controlling and fixed asset sub module of FI. Regards,
-
Report Painter - Transportable?
hi, is the report painter transportable? pls advise if yes or no. thanks.
-
Exporting Widescreen from FCP to mp4...help!
Help! I'm trying to export a 720x480 video from FCP, to upload onto youtube. I feel this should be easy, but no matter what codec i use, the exported video looks stretched. I want the video to stay widescreen, can have black bars at top and bottom, a