Program Crashes while multi-threading
Hi Gurus:
I am working on a program where I am running multiple JInternalFrames inside a JFrame. Each JInternalFrame starts a new thread (when the OK button is pressed). The thread calls a native (C++) method, which interfaces with another API (CAD).
Problem is that when I run two frames together, my program crashes. If I wait for one frame to complete the process and then start the second one, everything works fine. I am not sharing any data between the threads. I even put a synchronized access modifier in front of the method that is causing the crash, to no avail. Don't know what else to try. I also ran the program in two different processes with only invoking one frame in each process, and it worked fine.
The program either crashes with no error message, or sometimes it gives this error:
-------------- Start of error --------------------------
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC = 0x22ABDFFD
SIGNAL = -1073741819
FUNCTION NAME = (N/A)
LIBRARY NAME = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.
----------- End of error -------------------------------
Any help would be appreciated.
Regards,
Kamran
I also got that error - sometimes.
Now I get something like this :
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x403bce8e
Function name=__libc_free
Library=/lib/libc.so.6
Dynamic libraries:
08048000-0804c000 r-xp 00000000 08:01 17180 /usr/java/jdk1.3.1_01/bin/i386/native_threads/java
0804c000-0804d000 rw-p 00003000 08:01 17180 /usr/java/jdk1.3.1_01/bin/i386/native_threads/java
40000000-40016000 r-xp 00000000 08:01 446282 /lib/ld-2.2.2.so
40016000-40017000 rw-p 00015000 08:01 446282 /lib/ld-2.2.2.so
and so on.
I got an application which starts 50 threads (sometimes I start 60 or 30, just testing right now).
Do you've got RedHat? And Kernel 2.4.2-2smp?
I don't know how I got rid of your error, but now I got that one...
Anybody who has experiences with that?
THX,
Peter
Similar Messages
-
My Itune program crashed while listening to music last monday and unable to download program back onto my desktop.
Great thanks for sharing
Now what is your your question?
what happens when you try to download it? -
Helpful hint while multi-threading
Hi all
This had me stupmed for a little while. A multi-threaded program I'd been working didn't appear to be working correctly. I noticed this was because it looked like the thread never made it to its run() method. The cause of this was the fact id overridden the start() method of the thread without including this.run() at the end. The symptoms of this happening aren't obvious though, and it can be quite puzzling. I hope this gets added to any FAQs etc, or solves someones problem.And if, for whatever reason, you do need to override start(), you should not call this.run() at the end, you should call super.start() !!!
If you call this.run() at the end, you are having the current thread go and do the run method. -
Refreshing Screen while Multi-Threading
I am trying to refresh a GUI while calling a class that extends the Thread class.My code looks similiar to this:
myThreadingClass mtc=new myThreadingClass();
mtc.start();
while(mtc.isAlive()){
repaint();
invalidate():
The isAlive() is never returning false! ? ! I somehow need to do the repaint while waiting for the thread to finish. I had a mtc.join() before that worked and went on in the program, but I did not have any way to refresh the GUI with the mtc.join().
Any one have any good ideas?I need to keep refreshing the screen, and from what I understand invokeLater(Runnable r) will invoke the run() after other processes have finished, by not while the run() is in progress. You can tell me if I am correct, or if the GUI thread will automatically repaint while the run() is in progress? I would greatly appriciate this. I can't find helpful information on this topic!
-
Program crashes while saving to documents/desktop RDS2012R2
Hi,
A costumer of mine has an RDs2012r2 server. There around 17 users on it.
The server is part of domain (also 2012R2) and uses office 2013 SP1 and some thirdparty apps.
IN total 4 servers (ad/file, exchange, database, RDS)
But I have an issue that I cant figure out somehow.
Most things work normal, when a User want to save something (a document from word/excel, an download from IE11 etc) to an folder in his/her Documents or Desktop, it fails. In word/excel the program get stuck, the file is created, together with an .tmp file.
You can open the file, but its empty. When you rename the tmp file to docx, the data of the document is there.
Downloading files to Downloads of Desktop will get stuck at 99% and if you want to cancel the download, or close IE, it gets stuck and Explorer crashes afterwards.
When saving it to an Shared folder on the other server, there are no problems. Also you can copy those same files to Documents or Desktop without problems.
It's only affecting users, new or existing, but not the admin accounts somehow.
So it has probably has to something with userrights, or maybe Grouppolicies. The latter has no restriction in there own folders. Also if i check there folders/documents, that user has full access. Eventviewer has an Application Hang eventid 1001 with no useable
info if Word/Excel crashes. Can someone help? If you need more info, please let me know.Hi,
Thank you for posting in Windows Server Forum.
As per you comment, regarding any GPO setting. Have you placed any setting related to it.
This issue can occur if the %SystemRoot%\SYSVOL\Domain\Policies Group Policy directory structure is missing or is incorrect. The Replication service is trying to replicate the directory but cannot locate it.
To resolve this issue, the directory must be restored to allow replication between domain controllers. This directory can either be restored from a backup or it can be recreated. You can troubleshoot missing sysvol and Netlogon shares on domain controller with
the help of this link.
Hope it helps!
Thanks.
Dharmesh Solanki -
Multi-threaded program hangs in Linux with green thread when doing I/O
Hi,
I am using green thread(jdk1.3.1) on Linux. My program is in multi-threaded model and has some I/O operations. I am runing one java program using Runtime.exec("java <program>"). Actually the <program> prompts user with some question like "enter location" and waits for the input. Now in my code I am constantly reading the input stream of the process. Once I get the string like "enter location", immediately I send the location through Process o/p stream. But the process is not able to read this and hangs there for ever.
Please help, what could be the problem? If you need the source code, pls let me know.
Thanks in advance,
SisirI had a similar issue few weeks back... If I could see the source I would have a better understanding of the problem and think I could help out. If you want to send it, send it to [email protected]
thanks,
JP -
Premiere Pro CC Crashes While Rendering With Mercury OpenCL
Hi guys!
Every time I try to render a ~2 min video in H.264 using the OpenCL renderer which is fully supported on my 7970 (2x Crossfire) the program crashes while rendering. (Usually around 28%)
If I switch to Mercury Software renderer, it renders perfectly.
I am currently using AMD 13.6beta2 drivers, and PPCC is fully updated, any suggestions?
Additionally, for the half minute that it tries to render with OpenCL before crashing, by checking the GPU utilization % in AMD catalyst overdrive, it seems to not be utilizing the gpu at all... And then promtly crashes of course...
I hope I can fix this problem soon... Really dissapointed with this adobe product.
Thanks a lot!Rendering without any effects ----------> Still Crashes
Disabling Crossfire ----------------------- > Still Crashes
Reinstalling Premiere ---------------------> Still Crashes
Physically Removing the 2nd GPU -----> Works
So, is there any way I can get this to work while having both GPUs physically installed in the computer?
It would be quite a hastle to remove the 2nd one each time I need to use PP!
One odd thing also is that from watching the gpu utilization while rendering H.264 1080p, the GPU is only being used to about 30%, and very intermittently.... I would imagine things would accelerate quite a lot if it actually utilized the whole GPU!
Thank you very much guys! -
HELP!....GUI crashes when i call a multi-threaded program from it
Hi..I have encountered a problem in my end of year project, which i cant see to solve. The problem is i am starting a multi-threaded program for a JButton on a GUI. All though this starts the other program it crashes the GUI completely how do i stop this.
this is the code i use to call the threaded program.
public void actionPerformed(ActionEvent e)
Object target=e.getSource();
String line = new String();
if( target==b1 )
try
cl = new client();
cl.startup();
catch(Exception ex){ex.printStackTrace();}
thanks MikeNo there is no exceptions being given. this is one of the reasons why i dont no what to do. i thought myself that the threaded was taking all the resources and not going back to the GUI. if this is the case is there anyway that i can call back the GUI and keep the threaded program running?
thanks
mike. -
Dock crashes while scrolling through the program list
Hi there,
when I click on the dock icon of my programs folder I can see the top of the list of my installed software. When I move the mouse cursor towards the down arrow ths lists begins to scrol until I reach the letter "S" - then the dock crashes.
Is there a place where I can drop this information dircetly to Apple? Has anyone the same problem? Any ideas?
here's the crashdump:
Process: Dock [4438]
Path: /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
Identifier: com.apple.dock
Version: 1.7 (747)
Build Info: Dock-7470000~4
Code Type: X86-64 (Native)
Parent Process: launchd [161]
Date/Time: 2009-09-03 21:46:19.159 +0200
OS Version: Mac OS X 10.6 (10A432)
Report Version: 6
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
* error for object 0x1008b9608: incorrect checksum for freed object - object was probably modified after being freed.
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff84880096 __kill + 10
1 libSystem.B.dylib 0x00007fff849210c2 abort + 83
2 libSystem.B.dylib 0x00007fff8490fd75 szone_error + 519
3 libSystem.B.dylib 0x00007fff848398d4 smallmalloc_from_freelist + 473
4 libSystem.B.dylib 0x00007fff848362ea szonemalloc_shouldclear + 1951
5 libSystem.B.dylib 0x00007fff84835b0a malloczonemalloc + 82
6 libSystem.B.dylib 0x00007fff84833e08 malloc + 44
7 com.apple.CoreGraphics 0x00007fff839ff9f8 aa_create + 118
8 com.apple.CoreGraphics 0x00007fff839ff6f0 CGFontCreateGlyphBitmap8 + 99
9 com.apple.CoreGraphics 0x00007fff839ff48d createmissingbitmaps + 294
10 com.apple.CoreGraphics 0x00007fff839adf9f CGGlyphLockLockGlyphBitmaps + 399
11 libRIP.A.dylib 0x00007fff81938e85 ripc_RenderGlyphs + 261
12 libRIP.A.dylib 0x00007fff81938863 ripc_DrawGlyphs + 1497
13 com.apple.CoreGraphics 0x00007fff839ac437 draw_glyphs + 1527
14 com.apple.CoreGraphics 0x00007fff839abd3e CGContextShowGlyphsWithAdvances + 538
15 com.apple.CoreText 0x00007fff825fb89e TRun::DrawGlyphs(CGContext*, CFRange) const + 198
16 com.apple.CoreText 0x00007fff825fb748 TLine::DrawGlyphs(CGContext*) const + 236
17 com.apple.HIToolbox 0x00007fff82a69dcb TCoreTextEngine::DrawThemeTextBox(THIThemeTextInfo*, CGRect const&, unsigned int, CGContext*) + 1681
18 com.apple.HIToolbox 0x00007fff82a6960f DataEngine::DrawTextBox(void const*, CGRect const*, HIThemeTextInfo*, CGContext*) + 743
19 com.apple.HIToolbox 0x00007fff82a6926b HIThemeDrawTextBox + 247
20 com.apple.HIToolbox 0x00007fff82ab4afd DrawItemText(__CFString const*, float, unsigned short, __CTFont const*, unsigned int, CGRect const*, CGRect const*, unsigned char, short, CGContext*, TextLayout const*, CGRect*, float*) + 494
21 com.apple.HIToolbox 0x00007fff82ab4831 HIStandardMenuView::DrawItemContent(CGRect const*, float, float, unsigned int, short, CGContext*) + 3867
22 com.apple.HIToolbox 0x00007fff82ab37c0 HIStandardMenuView::DrawItem(unsigned char, CGContext*, unsigned char) + 1460
23 com.apple.HIToolbox 0x00007fff82ab2f71 HIStandardMenuView::DrawSelf(short, __HIShape const*, CGContext*) + 445
24 com.apple.HIToolbox 0x00007fff82a67dcb HIView::DrawCacheOrSelf(short, __HIShape const*, CGContext*) + 365
25 com.apple.HIToolbox 0x00007fff82a67b29 HIView::SendDraw(short, OpaqueGrafPtr*, __HIShape const*, CGContext*) + 85
26 com.apple.HIToolbox 0x00007fff82a67611 HIView::RecursiveDrawComposited(__HIShape const*, unsigned int, HIView*, CGContext*, unsigned char, double) + 635
27 com.apple.HIToolbox 0x00007fff82a67856 HIView::RecursiveDrawComposited(__HIShape const*, unsigned int, HIView*, CGContext*, unsigned char, double) + 1216
28 com.apple.HIToolbox 0x00007fff82a67856 HIView::RecursiveDrawComposited(__HIShape const*, unsigned int, HIView*, CGContext*, unsigned char, double) + 1216
29 com.apple.HIToolbox 0x00007fff82a6660a HIView::DrawComposited(short, OpaqueGrafPtr*, __HIShape const*, unsigned int, HIView*, CGContext*) + 460
30 com.apple.HIToolbox 0x00007fff82a6643b HIView::Render(unsigned int, CGContext*) + 47
31 com.apple.HIToolbox 0x00007fff82a6e241 FlushWindowObject(WindowData*, void**, unsigned char) + 722
32 com.apple.HIToolbox 0x00007fff82a6dce3 FlushAllBuffers(__CFRunLoopObserver*, unsigned long, void*) + 176
33 com.apple.CoreFoundation 0x00007fff833ba437 __CFRunLoopDoObservers + 519
34 com.apple.CoreFoundation 0x00007fff83396024 CFRunLoopRunSpecific + 548
35 com.apple.HIToolbox 0x00007fff82a6cc4e RunCurrentEventLoopInMode + 333
36 com.apple.HIToolbox 0x00007fff82a6c9b1 ReceiveNextEventCommon + 148
37 com.apple.HIToolbox 0x00007fff82ab6ea5 IsUserStillTracking(MenuSelectData*, unsigned char*) + 175
38 com.apple.HIToolbox 0x00007fff82aa3c10 TrackMenuCommon(MenuSelectData&, unsigned char*) + 3355
39 com.apple.HIToolbox 0x00007fff82bc7530 PopUpMenuSelectCore(MenuData*, Point, double, Point, unsigned short, unsigned int, Rect const*, unsigned short, unsigned int, Rect const*, Rect const*, __CFString const*, OpaqueMenuRef**, unsigned short*) + 1651
40 com.apple.HIToolbox 0x00007fff82bc7823 _HandlePopUpMenuSelection7 + 665
41 com.apple.dock 0x00000001000345d2 0x100000000 + 214482
42 com.apple.dock 0x0000000100033f38 0x100000000 + 212792
43 com.apple.dock 0x00000001000a6e78 0x100000000 + 683640
44 com.apple.dock 0x0000000100090667 0x100000000 + 591463
45 com.apple.dock 0x00000001000a0630 0x100000000 + 656944
46 com.apple.dock 0x0000000100012618 0x100000000 + 75288
47 com.apple.dock 0x0000000100011fe6 0x100000000 + 73702
48 com.apple.dock 0x0000000100057c3e 0x100000000 + 359486
49 com.apple.dock 0x000000010000b670 0x100000000 + 46704
50 com.apple.HIServices 0x00007fff824ca6b1 mshPerform + 11
51 com.apple.CoreFoundation 0x00007fff833bef84 __CFRunLoopDoSource1 + 356
52 com.apple.CoreFoundation 0x00007fff8339764d __CFRunLoopRun + 4413
53 com.apple.CoreFoundation 0x00007fff8339603f CFRunLoopRunSpecific + 575
54 com.apple.dock 0x00000001000802e3 0x100000000 + 525027
55 com.apple.dock 0x0000000100037218 0x100000000 + 225816
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff8484ac7e kevent + 10
1 libSystem.B.dylib 0x00007fff8484cb55 dispatch_mgrinvoke + 154
2 libSystem.B.dylib 0x00007fff8484c824 dispatch_queueinvoke + 185
3 libSystem.B.dylib 0x00007fff8484c34e dispatch_workerthread2 + 244
4 libSystem.B.dylib 0x00007fff8484bc80 pthreadwqthread + 353
5 libSystem.B.dylib 0x00007fff8484bb1d start_wqthread + 13
Thread 2:
0 libSystem.B.dylib 0x00007fff8486cace _semwaitsignal + 10
1 libSystem.B.dylib 0x00007fff848708c1 pthread_condwait + 1286
2 com.apple.dock 0x0000000100042d8a 0x100000000 + 273802
3 libSystem.B.dylib 0x00007fff8486b06e pthreadstart + 331
4 libSystem.B.dylib 0x00007fff8486af21 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000100480000 rcx: 0x00007fff5fbfbbe8 rdx: 0x0000000000000000
rdi: 0x0000000000001156 rsi: 0x0000000000000006 rbp: 0x00007fff5fbfbc00 rsp: 0x00007fff5fbfbbe8
r8: 0x0000000000000e03 r9: 0x0000000000000000 r10: 0x00007fff8487c0f2 r11: 0x0000000000000206
r12: 0x0000000000000000 r13: 0x00000001008b9608 r14: 0x00000001001bd000 r15: 0x00000001004800c0
rip: 0x00007fff84880096 rfl: 0x0000000000000206 cr2: 0x0000000100482000
Binary Images:
0x100000000 - 0x10016ffe7 com.apple.dock 1.7 (747) <DE89F339-7510-CB1D-70F8-2C7101D79C63> /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B633F790-4DDB-53CD-7ACF-2A3682BCEA9F> /usr/lib/dyld
0x7fff80003000 - 0x7fff800bfff7 com.apple.CoreServices.OSServices 352 (352) <CD933BBD-B260-552F-E64E-291D6ED3091A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x7fff80341000 - 0x7fff8036cff7 libxslt.1.dylib ??? (???) <87A0B228-B24A-C426-C3FB-B40D7258DD49> /usr/lib/libxslt.1.dylib
0x7fff80896000 - 0x7fff8089aff7 libmathCommon.A.dylib ??? (???) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x7fff80945000 - 0x7fff809f4fef edu.mit.Kerberos 6.5.8 (6.5.8) <A9C16B72-A1F8-3DDE-7772-E7635774CA6E> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff80a58000 - 0x7fff80a5eff7 com.apple.DiskArbitration 2.3 (2.3) <857F6E43-1EF4-7D53-351B-10DE0A8F992A> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff80a5f000 - 0x7fff80a9afef com.apple.AE 496 (496) <6AFD62E0-DD92-4F04-A73A-90224D80593D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff80a9b000 - 0x7fff80aaafef com.apple.opengl 1.6.3 (1.6.3) <6318A188-B43D-E82F-C157-2E76331227BD> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff80aab000 - 0x7fff80abfff7 com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <621B7415-A0B9-07A7-F313-36BEEDD7B132> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x7fff80c4d000 - 0x7fff81090fef libLAPACK.dylib ??? (???) <0CC61C98-FF51-67B3-F3D8-C5E430C201A9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x7fff810c1000 - 0x7fff810cefff libCSync.A.dylib ??? (???) <D97C8D7E-2CA3-9495-0C41-004CE47BC5DD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x7fff815a4000 - 0x7fff815ccfff com.apple.DictionaryServices 1.1 (1.1) <D57BA55A-4CC5-5C17-8077-AEEA27A01C7A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff816d7000 - 0x7fff817a2fe7 ColorSyncDeprecated.dylib ??? (???) <03DA3BF0-1293-8947-A8B6-5E599F5B5DC7> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.f ramework/Versions/A/Resources/ColorSyncDeprecated.dylib
0x7fff817f4000 - 0x7fff81831ff7 libFontRegistry.dylib ??? (???) <43ADB89E-036B-9D8F-CC4B-CE6B6BCC5AB5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fff81930000 - 0x7fff81973ff7 libRIP.A.dylib ??? (???) <8D7113D2-71A7-A205-D2D0-2DB0F37FFBB3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x7fff8248c000 - 0x7fff82491fff libGFXShared.dylib ??? (???) <C386DB22-A0AA-D826-ACBA-25E82B480D05> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x7fff82492000 - 0x7fff824e3fe7 com.apple.HIServices 1.8.0 (???) <113EEB8A-8EC6-9F86-EF46-4BA5C2CBF77C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x7fff82576000 - 0x7fff825c5ff7 com.apple.DirectoryService.PasswordServerFramework 6.0 (6.0) <14FD0978-4BE0-336B-A19E-F388694583EB> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
0x7fff825f0000 - 0x7fff8266dfe7 com.apple.CoreText 3.0.0 (???) <51175014-9F0C-7E96-FB6F-3DC5E446B92E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x7fff8266e000 - 0x7fff8270efff com.apple.LaunchServices 360.3 (360.3) <02FFE657-CC7A-5266-F06E-8732E28F70A9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff82711000 - 0x7fff82833ff7 com.apple.audio.toolbox.AudioToolbox 1.6 (1.6) <3CA3B481-9627-6F36-F2B8-C2763DEEB128> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff82a3f000 - 0x7fff82d3cfef com.apple.HIToolbox 1.6.0 (???) <870B39B2-55BD-9C82-72EB-2E3470BD0E14> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x7fff82d3d000 - 0x7fff82dd7fe7 com.apple.ApplicationServices.ATS 4.0 (???) <76009EB5-037B-8A08-5AB5-18DA59559509> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x7fff82dd8000 - 0x7fff82ddeff7 IOSurface ??? (???) <8E0EE904-59D1-9AA0-CE55-B1777F4BAEC1> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fff82df5000 - 0x7fff82eb0ff7 libFontParser.dylib ??? (???) <8926E1B0-6D1E-502A-5028-1DCC57F6D6FA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff82f12000 - 0x7fff82f55fff libtidy.A.dylib ??? (???) <8AF4DB3A-7BDB-7AF7-0E9C-413BBBD0E380> /usr/lib/libtidy.A.dylib
0x7fff82f56000 - 0x7fff82f59ff7 libCoreVMClient.dylib ??? (???) <3A41933A-5174-7516-37E0-8E06365BF3DA> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x7fff83065000 - 0x7fff83080ff7 com.apple.openscripting 1.3 (???) <DFBFBFD3-90C0-0710-300C-1A7210CB3713> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x7fff83081000 - 0x7fff83097fff com.apple.MultitouchSupport.framework 200.20 (200.20) <96B8C66E-D84D-863B-CB1D-F7E005569706> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
0x7fff83098000 - 0x7fff83099ff7 com.apple.audio.units.AudioUnit 1.6 (1.6) <7A51FBCE-7907-28A0-B2D2-CAADA78F2913> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff83103000 - 0x7fff83158fef com.apple.framework.familycontrols 2.0 (2.0) <2520A455-5487-1964-C5D9-D284699D2537> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
0x7fff83159000 - 0x7fff8320efff com.apple.ink.framework 1.3 (104) <9B552E27-7E3F-6767-058A-C998E8F78692> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x7fff83260000 - 0x7fff8327eff7 libPng.dylib ??? (???) <6A0E35B8-2E33-7C64-2B53-6F47F628DE7A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fff83291000 - 0x7fff8334afff libsqlite3.dylib ??? (???) <5A15E12A-AE8F-1A36-BBC7-564E7D7AD0FB> /usr/lib/libsqlite3.dylib
0x7fff8334b000 - 0x7fff834befef com.apple.CoreFoundation 6.6 (550) <04EC0CC2-6CE4-4EE0-03B9-6C5109398CB1> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff834bf000 - 0x7fff835ceff7 libcrypto.0.9.8.dylib ??? (???) <A2DA70D0-02AE-89FA-1CDA-B3CA986CAE6D> /usr/lib/libcrypto.0.9.8.dylib
0x7fff835cf000 - 0x7fff835defff com.apple.NetFS 3.2 (3.2) <61E3D8BE-A529-20BF-1A11-026EC774820D> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff835df000 - 0x7fff8379cfff libicucore.A.dylib ??? (???) <224721C0-EC21-94D0-6484-66C603C34CBE> /usr/lib/libicucore.A.dylib
0x7fff8379d000 - 0x7fff837b3fef libbsm.0.dylib ??? (???) <42D3023A-A1F7-4121-6417-FCC6B51B3E90> /usr/lib/libbsm.0.dylib
0x7fff837b4000 - 0x7fff83831fef libstdc++.6.dylib ??? (???) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
0x7fff83832000 - 0x7fff83834fff libRadiance.dylib ??? (???) <77F285E0-5D5E-A0B0-A89E-9332D6AB2867> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fff83835000 - 0x7fff8385bfe7 libJPEG.dylib ??? (???) <52ACD177-F101-BEF5-E7CC-9131F8372D0A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fff8385c000 - 0x7fff83880ff7 com.apple.CoreVideo 1.6.0 (43.0) <FF5F0EEF-56BE-24DD-C8FA-CB41F126E6A8> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff83881000 - 0x7fff8395bff7 com.apple.vImage 4.0 (4.0) <354F34BF-B221-A3C9-2CA7-9BE5E14AD5AD> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x7fff8395c000 - 0x7fff83972fff com.apple.ImageCapture 6.0 (6.0) <5B5AF8FB-C12A-B51F-94FC-3EC4698E818E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x7fff83973000 - 0x7fff83973ff7 com.apple.Accelerate.vecLib 3.5 (vecLib 3.5) <BA861575-B0DE-50F5-A799-BDF188A3D4EF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x7fff83974000 - 0x7fff8397fff7 com.apple.speech.recognition.framework 3.10.10 (3.10.10) <7E2A89FC-0F18-1CCC-472E-AD0E2BC2DD4C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x7fff83980000 - 0x7fff840725d7 com.apple.CoreGraphics 1.535.5 (???) <6599C41F-2D50-5E04-44E4-44FA90E022B5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff840be000 - 0x7fff840c5fff com.apple.OpenDirectory 10.6 (10.6) <72A65D76-7831-D31E-F1B3-9E48BF26A98B> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fff840c6000 - 0x7fff840c7fff liblangid.dylib ??? (???) <EA4D1607-2BD5-2EE2-2A3B-632EEE5A444D> /usr/lib/liblangid.dylib
0x7fff84268000 - 0x7fff845fcff7 com.apple.QuartzCore 1.6.0 (226.0) <66E14771-C5F0-1415-0B7B-C45EE00C51A1> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff845fd000 - 0x7fff84612fff com.apple.LangAnalysis 1.6.5 (1.6.5) <D4956302-5A2D-2AFD-C143-6287F1313196> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff84613000 - 0x7fff847cdfef com.apple.ImageIO.framework 3.0.0 (3.0.0) <D5594E10-F805-F816-10E9-F95753BE18CC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x7fff847d3000 - 0x7fff84830fef com.apple.framework.IOKit 2.0 (???) <65AA6170-12E3-BFB5-F982-E0C433610A1F> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff84831000 - 0x7fff849f0fe7 libSystem.B.dylib ??? (???) <1AABDC4B-CBAE-F40C-405C-DAE785959F57> /usr/lib/libSystem.B.dylib
0x7fff849f1000 - 0x7fff84bfdff7 com.apple.RawCamera.bundle 2.2.1 (477) <B4DD9D3B-CD05-5ACE-6808-BEC5660D805C> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x7fff84bfe000 - 0x7fff84c02ff7 libCGXType.A.dylib ??? (???) <50EB4AB0-0B25-E5DC-FC9E-12268B51F02F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x7fff84c03000 - 0x7fff84c08ff7 com.apple.CommonPanels 1.2.4 (91) <4D84803B-BD06-D80E-15AE-EFBE43F93605> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x7fff84c3f000 - 0x7fff84c85fe7 libvDSP.dylib ??? (???) <2DAA1591-8AE8-B411-7D01-68DE99C63CEE> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x7fff84ebd000 - 0x7fff84fd4fef libxml2.2.dylib ??? (???) <6D4C196C-B061-CBCD-AAFD-A21736A8425C> /usr/lib/libxml2.2.dylib
0x7fff84fd5000 - 0x7fff84fd7fff com.apple.print.framework.Print 6.0 (237) <70DA9755-5DC1-716B-77E2-E42C5DAB85A2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x7fff84fd8000 - 0x7fff85025ff7 libauto.dylib ??? (???) <8658DB85-C611-1212-44E5-5B2539018FA0> /usr/lib/libauto.dylib
0x7fff85026000 - 0x7fff850dcfe7 libobjc.A.dylib ??? (???) <261D97A3-225B-8A00-56AA-F9F27973063F> /usr/lib/libobjc.A.dylib
0x7fff850dd000 - 0x7fff850feff7 com.apple.opencl 11 (11) <A53E07FB-AD2F-9F3E-EC00-7DCC7DDE2F90> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff8512f000 - 0x7fff8512fff7 com.apple.vecLib 3.5 (vecLib 3.5) <5B072584-9579-F54F-180E-5D425B37E85C> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff85132000 - 0x7fff8514bfff com.apple.CFOpenDirectory 10.6 (10.6) <0F46E102-8B8E-0995-BA85-3D9608F0A30C> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x7fff85180000 - 0x7fff85181ff7 com.apple.TrustEvaluationAgent 1.0 (1) <4B6B7853-EDAC-08B7-3324-CA9A3802FAE2> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x7fff85182000 - 0x7fff85193fef libz.1.dylib ??? (???) <3A7A4C48-A4C8-A78A-8B87-C0DDF6601AC8> /usr/lib/libz.1.dylib
0x7fff85194000 - 0x7fff85197fff com.apple.help 1.3.1 (41) <54B79BA2-B71B-268E-8752-5C8EE00E49E4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x7fff85198000 - 0x7fff85198ff7 com.apple.CoreServices 44 (44) <210A4C56-BECB-E3E4-B6EE-7EC53E02265D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff85199000 - 0x7fff851daff7 com.apple.SystemConfiguration 1.10 (1.10) <E3FF1FC8-C760-2047-F954-0D283DD0F714> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x7fff8520f000 - 0x7fff85212ff7 com.apple.securityhi 4.0 (36638) <77F40B57-2D97-7AE5-1331-8945C71DFB57> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x7fff85213000 - 0x7fff8527dfe7 libvMisc.dylib ??? (???) <524DC30F-6A54-CCED-56D9-F57033B06E99> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x7fff8527e000 - 0x7fff8527eff7 com.apple.Accelerate 1.5 (Accelerate 1.5) <E517A811-E0E6-89D0-F397-66122C7A25A4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff8527f000 - 0x7fff85284fff libGIF.dylib ??? (???) <0C112067-95FE-B9BC-C70C-64A46A277F34> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff853c0000 - 0x7fff853e1fff libresolv.9.dylib ??? (???) <01C7C750-7F6A-89B3-C586-5C50A839019E> /usr/lib/libresolv.9.dylib
0x7fff853e2000 - 0x7fff85413fef libTrueTypeScaler.dylib ??? (???) <3F30259E-9EB0-18D2-B0F3-7B8A9625574E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
0x7fff85414000 - 0x7fff85498fff com.apple.print.framework.PrintCore 6.0 (312) <1F747E69-924D-8C5B-F318-C4828CC6E85D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x7fff854eb000 - 0x7fff85eddfef com.apple.AppKit 6.6 (1038) <D4AB61F8-371E-D197-6F3D-DE397D1A717C> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff85ede000 - 0x7fff85edeff7 com.apple.ApplicationServices 38 (38) <10A0B9E9-4988-03D4-FC56-DDE231A02C63> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x7fff85eee000 - 0x7fff866f8fe7 libBLAS.dylib ??? (???) <FC941ECB-71D0-FAE3-DCBF-C5A619E594B8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x7fff866f9000 - 0x7fff86a2bfef com.apple.CoreServices.CarbonCore 859.1 (859.1) <5712C4C1-B18B-88EE-221F-DA04A8EDA029> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x7fff86a38000 - 0x7fff86cbcfff com.apple.security 6.0 (36910) <F7431448-BC2E-835D-E7A2-E47E0A5CB984> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff86cbd000 - 0x7fff86ccbff7 libkxld.dylib ??? (???) <823B6BE6-E952-3B3C-3633-8F4D6C4606A8> /usr/lib/system/libkxld.dylib
0x7fff86e5e000 - 0x7fff86e8ffff libGLImage.dylib ??? (???) <4F318A3E-20C1-D846-2B36-62451A3241F7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x7fff86e90000 - 0x7fff86ea2fe7 libsasl2.2.dylib ??? (???) <76B83C8D-8EFE-4467-0F75-275648AFED97> /usr/lib/libsasl2.2.dylib
0x7fff86ea3000 - 0x7fff86f87fe7 com.apple.DesktopServices 1.5.0 (1.5.0) <EA3CDFEC-713D-7291-4015-600336E83EDD> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x7fff86f88000 - 0x7fff8703cfef com.apple.ColorSync 4.6.0 (4.6.0) <080BEDDE-E7A4-F88D-928B-7501574A157B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x7fff873a8000 - 0x7fff873f7ff7 libTIFF.dylib ??? (???) <E11A75A8-223C-8B5E-7F62-821F9ADE8821> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff87432000 - 0x7fff87537fe7 libGLProgrammability.dylib ??? (???) <EDEC71CB-5F5B-7F55-47F4-19E953E3BE61> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x7fff8755c000 - 0x7fff8757cfef com.apple.DirectoryService.Framework 3.6 (621) <925EE208-03B2-B24A-3686-57EAFBDA5ADF> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x7fff8757d000 - 0x7fff875d9fff libGLU.dylib ??? (???) <AA2D37B3-8B7C-6772-F8BA-7364284C55FE> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x7fff875db000 - 0x7fff8760bfef com.apple.shortcut 1.1 (1.1) <A99C9D8E-290B-B1E4-FEA5-CC5F2FB9C18D> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x7fff8762f000 - 0x7fff876adfef com.apple.audio.CoreAudio 3.2.0 (3.2) <51E4AA76-3A8A-2B78-95D2-582501421A4E> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff876ae000 - 0x7fff8773afef SecurityFoundation ??? (???) <B69E2FF9-A698-4923-BC8B-180224B6EF75> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x7fff8773b000 - 0x7fff879bcfe7 com.apple.Foundation 6.6 (751) <CCE98C5C-DFEA-6C80-A014-A5985437072E> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff879bd000 - 0x7fff879d0fff libGL.dylib ??? (???) <D452ADC0-04B1-E24F-03E6-717E58E1D659> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fff87a10000 - 0x7fff87b48ff7 com.apple.CoreData 102 (246) <0502CBD8-513E-C19A-3562-20EC35535D71> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff87dd8000 - 0x7fff87e1ffef com.apple.QuickLookFramework 2.0 (327.0) <E15E267E-D462-2AD0-DB03-A54E0F94452F> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
0x7fff87e23000 - 0x7fff87e6aff7 com.apple.coreui 0.2 (112) <E64F7594-7829-575F-666A-0B16875FC644> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fff87e6b000 - 0x7fff87efbfff com.apple.SearchKit 1.3.0 (1.3.0) <4175DC31-1506-228A-08FD-C704AC9DF642> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x7fff886d1000 - 0x7fff886d1ff7 com.apple.Carbon 150 (152) <8D8CF535-90BE-691C-EC1B-63FBE2162C9B> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff8872b000 - 0x7fff88775ff7 com.apple.Metadata 10.6.0 (507.1) <AA0DF8E0-9B5B-2377-9B20-884919E28994> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x7fff88877000 - 0x7fff88882fff com.apple.HelpData 2.0.3 (33) <51BB9EFA-8C21-A7F9-09C7-E0DE1E5EC3B1> /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x7fff889f1000 - 0x7fff88a31fef com.apple.QD 3.31 (???) <0FA2713A-99BD-A96B-56AF-7DB0AB4927AD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x7fff88a32000 - 0x7fff88a67ff7 libcups.2.dylib ??? (???) <1FE99C26-B845-F508-815A-5B2CF2CA5337> /usr/lib/libcups.2.dylib
0x7fff88a68000 - 0x7fff88b34fff com.apple.CFNetwork 454.4 (454.4) <E7721AD8-3177-8749-60F7-5EF323E6492B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <1AABDC4B-CBAE-F40C-405C-DAE785959F57> /usr/lib/libSystem.B.dylibJFTR: The finder crashes if the program "Skat 5.3" from Rasche Software (a carbon program) lies in the programs folder. After removing the program the finder is stable again.
-
Multi-threaded application crashing the VM
Hi,
I have a multi-threaded (about 120 threads) application which crashes without after running for a while.
I get this in the windows event viewer
Faulting application java.exe, version 0.0.0.0, faulting module kernel32.dll, version 5.2.3790.0, fault address 0x000017b1.
Anyone knows why this would happen?
- vineetHi Alexis,
Thanks for the response to my post!!
Which version of the JVM?C:\>java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
Are you using the -server option?I was not using this option earlier but even on using this the jvm crashes after running for sometime.
I am using these jvm options now -
java -server -Xss128K -Xms256M -Xmx512M
- vineet -
Running a Java Multi Thread Program in database
I have created a multi threaded program in Java and it runs successfully from the command prompt. I want to create a DBMS Job which will wake up at regular intervals and runs the java program(Java stored procedure). Is this possible in 9.2/10G ?? If Yes, will there be any impact on the DB performance/increase memory etc.,
The database (9.2...) resides on a RH 2.3 AS box.
Any ideas...
Thanks,
PurushPurush,
Java stored procedures cannot be multi-threaded. Well, they can, but the threads will not run in parallel. You may be able to find some more information in the Oracle documentation, which is available from:
http://tahiti.oracle.com
Good Luck,
Avi. -
Multi-threaded server programming
Hello, I meet a problem and don't know how to solve it: I have created a multi-threaded server program which receives multiple users from their own PCs. The server program receives users'commands and echo it back to all users who are currently connecting to my server. I store every clientSocket connecting to my server into a vector. My question is: how the server broadcasts a user command to other users? And how the server knows to which user he will echo the command to since the hostName and port number are the same to every user currently connecting to my server? Thanks a lot.
You should look at extending the Socket class to encorporate user details. Either use what peter suggested or make the user pass a username (or something) when they connect.
When you want to broadcast to all users just enumerate through your vector and send each one the command. If you mean the user performs a task on their application and you want to produce the same results in all the other users apps then its down to you to code it. When user1 clicks on a button the app must send a command (eg. a string) to the server which sends the same string to all other users. When the user receives this string it performs some task.
Is that what you mean?
Ted. -
I am quite new to multi threaded programming.
The problem I am facing in my code is as follows:
I can instantiate 1-10 threads from my controller class. For example if my controller class generates 10 threads, 5 threads
finish the task they are assigned to do(i.e send SMS and Update the Database) and the other 5 threads eventhough send SMS but
get stuck when they are supposed to update the Database (this is inferred from the logs).
Due to this problem my controller class remains in a wait state as I am using the join() method and some of the threads never
join.
Another interesting observation is that it always happens that the thread numbered 0-5 always get stuck at the exact point
where database has to be updated and thread number 6-10 complete their task. Same is the case when i instantiate 2 threads, i
thread completes its task and another thread gets stuck, again at the same point.
I am using Connection Pooling to connect to the database.
I am sure that the problem is with the query
int j=dbObject.execute_pst("UPDATE table SET flag='true' WHERE message IN("+trueFlag+")",con);
where true flag is a comma seperated string containing some ID's.
What i cannot understand is why some of the threads (almost 50% of them), work fine with this query and the others get stuck
(i.e. just wait at this query during runtime)The problem must lie in the connection, as the SQL statement is to basic to cause an endless loop inside the DBMS. If you are in doubt, try the setMaxRows() method of the Statement interface, I'm using Sybase and it also limits the number of rows processed in update and delete statements (which I'm pretty sure is buggy, but you can still try it).
Which DBMS are you using by the way? -
I keep reporting this to Apple...I'm using a Macbook Pro with OS 10.5.8 (I have a DVD here with 10.6, but the mac sees this as a blank DVD, so I can't update the OS, and this DVD came with my purchase; that's one issue). The other big issue are the constant crashes while using Safari. It's happening several times a day, usually when Flash is involved:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000002078
Crashed Thread: 0
Thread 0 Crashed:
0 ...lashPlayer-10.4-10.5.plugin 0x1c2a5245 NP_Initialize + 1564869
1 ...lashPlayer-10.4-10.5.plugin 0x1c2a8af8 NP_Initialize + 1579384
2 ...lashPlayer-10.4-10.5.plugin 0x1c29a2ed NP_Initialize + 1519981
3 ...lashPlayer-10.4-10.5.plugin 0x1c1213d7 unregister_ShockwaveFlash + 444951
4 ...lashPlayer-10.4-10.5.plugin 0x1c121865 unregister_ShockwaveFlash + 446117
etc....Yeah, I've already updated to latest version of Flash.
-
Long running multi threaded programs on 2.6
Hi,
Will there be any problem, if a multi-threaded appl is running for long time.
New thread ids were over 50,000,000.
Program started behaving strangely after a month's run. Restarting it works fine.
any thoughts.
Thanks
MegaThat stipulation has ALWAYS existed and applies to the entire suite.
I doubt anyone is bust your door down, however.
Bob
Maybe you are looking for
-
How can I mark a TV show as watched in iTunes?
I only want to transfer certain shows, but all of my shows are marked un-watched with the blue dot. My AppleTV does not have enough capacity to copy all the episodes so I would like to only transfer a few at a time. Is this possible? Thanks
-
Message Mapping - To Retrieve IDoc No. using Meesage ID
Hi Experts, In a scenario where in File will be sent from Third Party to SAP which contains a Message ID, which is in reference to the acknowledgement of IDOC sent from SAP to Third Party. Now what I need to find out is using this Message ID I need t
-
Dropped frames during playback and Record To Tape
Mac G-5, OS X 10.4.4; 4 X 2.5 GHz; 4.5 GB DDR2; NVIDIA GeForce 6600 w/256MB. G-Raid 1TB, Format Mac OS Extended; External FireWire 800 port. Maxtor 300GB Internal, Format Mac OS Extended (journaled) Tape deck, Sony Mini DV GV-D1000 NTSC FireWire 400
-
Navigation Panel not displayed
Hi, I have just installed my EP server. When I log in, I do not see the navigation panel. It gives me an error "Error: Access is denied" followed by an error "Error: 'undefined' is null or not an object". I checked the browser settings for security,
-
How to add a picture in Background of Sing in and Sign out Screen
Hi MOSC, How do i add a picture in the background of Sing in and sign out screen in HCM People Soft 9.2 and People Tools 8.53. Also, how do i get rid of the Language are from the sign on page. thanks, Response will be greatly appreciated! User 501241