create thread C with JNI function with JAVA


 
Thread Tools Search this Thread
Operating Systems HP-UX create thread C with JNI function with JAVA
# 1  
Old 08-06-2004
create thread C with JNI function with JAVA

Hello,

J create a thread C with a JNI function via JAVA.
J have the following message (but not in each time):
Someone has an idea ?
Thank.


[java] Unexpected Signal : 4 occurred at PC=0x78C103E0
[java] Function=[Unknown.]
[java] Library=(N/A)

[java] NOTE: We are unable to locate the function name symbol for the error
[java] just occurred. Please refer to release documentation for possible
[java] reason and solutions.


[java] Current Java thread:
[java] "AWT-EventQueue-0" prio=6 tid=0x00059d40 nid=13 lwp_id=52948 runnable [0x7037d000..0x7037d530]
[java] at java.lang.FDBigInt.<init>(FloatingDecimal.java:1849)
[java] at java.lang.FloatingDecimal.dtoa(FloatingDecimal.java:810)
[java] at java.lang.FloatingDecimal.<init>(FloatingDecimal.java:442)
[java] at java.lang.Double.toString(Double.java:135)
[java] at java.lang.String.valueOf(String.java:2603)
[java] at java.lang.StringBuffer.append(StringBuffer.java:716)
[java] at com.airbus.gas.vip3.hmi.graphics.CrossPoints.reinit(Unknown Source)
[java] at com.airbus.gas.vip3.hmi.difftime.Player.quit(Unknown Source)
[java] at com.airbus.gas.vip3.hmi.difftime.Player.actionPerformed(Unknown Source)
[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
[java] at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
[java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
[java] at java.awt.Component.processMouseEvent(Component.java:5193)
[java] at java.awt.Component.processEvent(Component.java:4990)
[java] at java.awt.Container.processEvent(Container.java:1566)
[java] at java.awt.Component.dispatchEventImpl(Component.java:3698)
[java] at java.awt.Container.dispatchEventImpl(Container.java:1623)
[java] at java.awt.Component.dispatchEvent(Component.java:3539)
[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3449)
[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3164)
[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
[java] at java.awt.Container.dispatchEventImpl(Container.java:1609)
[java] at java.awt.Window.dispatchEventImpl(Window.java:1590)
[java] at java.awt.Component.dispatchEvent(Component.java:3539)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

[java] Dynamic libraries:
[java] /opt/java1.4/jre/bin/PA_RISC2.0/java
[java] text:0x00001000-0x000095ac data:0x0000a000-0x0000a828

[java] /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
[java] text:0xc2800000-0xc33cd000 data:0x7aec7000-0x7b032000

[java] /usr/lib/libpthread.1
[java] text:0xc0040000-0xc0058000 data:0x7ae86000-0x7ae89000

[java] /usr/lib/libm.2
[java] text:0xc0080000-0xc00ac000 data:0x7ae89000-0x7ae8a000

[java] /usr/lib/librt.2
[java] text:0xc00dc000-0xc00e0000 data:0x7ae8a000-0x7ae8b000

[java] /usr/lib/libcl.2
[java] text:0xc03c0000-0xc04ab000 data:0x7ae8c000-0x7ae98000

[java] /usr/lib/libisamstub.1
[java] text:0xc00d7000-0xc00d8000 data:0x7ae8b000-0x7ae8c000

[java] /usr/lib/libCsup.2
[java] text:0xc0320000-0xc033b000 data:0x7ae98000-0x7ae9b000

[java] /usr/lib/libc.2
[java] text:0xc0100000-0xc0246000 data:0x7b037000-0x7b04a000

[java] /usr/lib/libdld.2
[java] text:0xc0004000-0xc0007000 data:0x7b032000-0x7b033000

[java] /opt/java1.4/jre/lib/PA_RISC2.0/native_threads/libhpi.sl
[java] text:0xc1630000-0xc1640000 data:0x7ae80000-0x7ae82000

[java] /opt/java1.4/jre/lib/PA_RISC2.0/libverify.sl
[java] text:0xc1cf0000-0xc1d00000 data:0x7ae6c000-0x7ae6d000

[java] /opt/java1.4/jre/lib/PA_RISC2.0/libjava.sl
[java] text:0xc2190000-0xc21bd000 data:0x7ae67000-0x7ae6c000

[java] /opt/java1.4/jre/lib/PA_RISC2.0/libzip.sl
[java] text:0xc2210000-0xc2223000 data:0x7ae65000-0x7ae67000

[java] /opt/java1.4/jre/lib/PA_RISC2.0/libawt.sl
[java] text:0xc5300000-0xc53a1000 data:0x7ac41000-0x7ac6b000

[java] /opt/java1.4/jre/lib/PA_RISC2.0/libmlib_image.sl
[java] text:0xc53c0000-0xc543a000 data:0x7ac34000-0x7ac3f000

[java] /opt/java1.4/jre/lib/PA_RISC2.0/libmawt.sl
[java] text:0xc5440000-0xc54b0000 data:0x7ac30000-0x7ac34000

[java] /usr/lib/libXm.4
[java] text:0xc2500000-0xc274b000 data:0x789cf000-0x789fc000

[java] /usr/lib/X11R6/libXp.2
[java] text:0xc1354000-0xc135d000 data:0x7ac01000-0x7ac02000

[java] /usr/lib/X11R6/libXt.3
[java] text:0xc2240000-0xc229d000 data:0x7ac0d000-0x7ac18000

[java] /usr/lib/X11R6/libSM.2
[java] text:0xc11a4000-0xc11ae000 data:0x7ac06000-0x7ac08000

[java] /usr/lib/X11R6/libICE.2
[java] text:0xc1cd0000-0xc1ce6000 data:0x7ac08000-0x7ac0b000

[java] /usr/lib/X11R6/libXext.3
[java] text:0xc1360000-0xc1376000 data:0x7ac18000-0x7ac19000

[java] /usr/lib/X11R6/libXtst.2
[java] text:0xc0f98000-0xc0f9e000 data:0x7ac19000-0x7ac1a000

[java] /usr/lib/X11R6/libX11.3
[java] text:0xc2300000-0xc2413000 data:0x7ac20000-0x7ac2e000

[java] /opt/java1.4/jre/lib/PA_RISC2.0/libfontmanager.sl
[java] text:0xc54c0000-0xc5586000 data:0x789bd000-0x789cb000

[java] /opt/java1.4/jre/lib/PA_RISC2.0/libjpeg.sl
[java] text:0xc2490000-0xc24cd000 data:0x789b7000-0x789b9000

[java] /eurogiciel/fatdev/dev/VIP3/data/lib/libgas_fifos.sl
[java] text:0xc6810000-0xc6829000 data:0x789b4000-0x789b7000

[java] /usr/local/lib/libgcc_s.sl
[java] text:0xc24e8000-0xc24f5000 data:0x7ac00000-0x7ac01000

[java] /opt/java1.4/jre/lib/PA_RISC2.0/libdcpr.sl
[java] text:0xc5590000-0xc55b0000 data:0x789a0000-0x789b4000


[java] Local Time = Fri Aug 6 10:04:52 2004
[java] Elapsed Time = 237
[java] #
[java] # HotSpot Virtual Machine Error : 4
[java] # Please report this error to HP customer support.
[java] #
[java] # Java VM: Java HotSpot(TM) Server VM (1.4.1 1.4.1.07-040312-15:24-PA_RISC2.0 PA2.0 (aCC_AP) mixed mode)
[java] #
[java] # An error report file has been saved as hs_err_pid10576.log.
[java] # Please refer to the file for further information.
[java] #
Code:
s

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Unable to create new thread

Hi. I registered, but when trying to post, I get ... "Sorry, you do not have enough Bits to post a new thread" Google & Forum search showed some hits, but no solution. Please advide. Thanks! (1 Reply)
Discussion started by: gehe
1 Replies

2. Shell Programming and Scripting

Deliver values to Thread function

Hello, I hope you can help me with my problem. I've written a programm which creates a thread. The main programmm creates 10 int and float values. The fucnction should give the values out. May big problem ist that the delivery to the function is not working. Where ist my fault? How can I make... (1 Reply)
Discussion started by: jimm_the_h
1 Replies

3. Programming

Problems with JNI and currentTimeMillis function

Hello, I have a technical problem: I work on AIX 7.1 with Java 1.7 (32 and 64 bit) and I make an application that intercepts certain functions related to time. In this application there is a Java JNI agent with whom I can intercept the Java "getLastModifiedTime" no problem but I am unable to... (5 Replies)
Discussion started by: steph311
5 Replies

4. Post Here to Contact Site Administrators and Moderators

How to Create a New Thread

please tell me how can i post a new post. i am not getting any option to post a new question. any suggestion is highly appreciated. thanks, Arpit (1 Reply)
Discussion started by: thearpit
1 Replies

5. Programming

Thread function local variables

As I know threads share the memory. But, what about the local variables in the thread function? if i call multiple threads would they allocate seperate local variables for themselves? like thread_func() { int i, j; string... } Are the above local variables defined for each of... (1 Reply)
Discussion started by: saman_glorious
1 Replies

6. UNIX for Advanced & Expert Users

Ksh Create Thread

I think I know the answer but I'll ask and see if someone with more expertise can share new light on this topic: Does Ksh have the capability to create new threads (not processes) and/or offer some multiplexing on named pipes? Thanks for your assistance! ~sreyes27 (2 Replies)
Discussion started by: sreyes27
2 Replies

7. Programming

how to create variable for all thread in c++

hello I have this code #include <sys/types.h> #include <unistd.h> #include <iostream> #include <pthread.h> #include<cstring> using namespace std; int var1=0; void doSomething() { var1 = 5; cout<<"Do S :"<<var1<<endl; sleep(1); var1 =7; (4 Replies)
Discussion started by: vip_a1
4 Replies

8. Programming

create a thread from a returning function

hi all, my requirement is to create a thread by calling another function. i.e i dont call pthread_create directly from main, but by calling another function (createThd - below ), from main. Example: void *thread_function(void *arg) { /* thread function */ int i; rc =... (3 Replies)
Discussion started by: wolwy_pete
3 Replies
Login or Register to Ask a Question