473,387 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

libjsig.so

Hi

We use "export LD_PRELOAD=<libjvm.so dir>/libjsig.so" in our application.
And everything was doing right in the old 32-bit system. Now we have our
application running in a 64 system and now we have a segmentation fault. It
doesn't work neither when we link it directly in our application...
We could reduce our problem and we are sure that it is independent of our
application.
"java -version" ends in a core dump when using "export LD_PRELOAD=<libjvm.so
dir>/libjsig.so".
We are using a sun solaris and Java(TM) 2 Runtime Environment, Standard
Edition (build 1.4.2_03-b02), Java HotSpot(TM) 64-Bit Server VM (build
1.4.2_03-b02, mixed mode).....
Can anyone help me? Or is there anyone who had the same problem? Do you have
some ideas?
Thanks for every kind of help!

Greetings Chris
Jul 17 '05 #1
4 8851
sf
Hi Christian,

.... so you are using the v1.4.2 signal chaining library...

http://java.sun.com/j2se/1.4.2/docs/...-chaining.html

Do you have any more details from the SEGV?

Do you have a core file?

Do you get the same SEGV if you run in "client" compiler
or in '-Xint'interpreted mode execution only?

Tell us more...

Thanks,

Stephen
Christian Meier wrote:
Hi

We use "export LD_PRELOAD=<libjvm.so dir>/libjsig.so" in our application.
And everything was doing right in the old 32-bit system. Now we have our
application running in a 64 system and now we have a segmentation fault. It
doesn't work neither when we link it directly in our application...
We could reduce our problem and we are sure that it is independent of our
application.
"java -version" ends in a core dump when using "export LD_PRELOAD=<libjvm.so
dir>/libjsig.so".
We are using a sun solaris and Java(TM) 2 Runtime Environment, Standard
Edition (build 1.4.2_03-b02), Java HotSpot(TM) 64-Bit Server VM (build
1.4.2_03-b02, mixed mode).....
Can anyone help me? Or is there anyone who had the same problem? Do you have
some ideas?
Thanks for every kind of help!

Greetings Chris

Jul 17 '05 #2
On Fri, 16 Apr 2004 16:29:21 +0200, "Christian Meier" <ch***@gmx.ch>
wrote or quoted :
in our application.
And everything was doing right in the old 32-bit system. Now we have our
application running in a 64 system and now we have a segmentation fault


I am not lucky enough to have either sort of server in my office, so
will have to make a wild stab. When you say native to the 64-bit JVM
perhaps it expects only 64-bit code to be linked, and just lies on its
side if you give it 32-bit code.

Do you have a way of generating 64 bit JNI code?

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Jul 17 '05 #3
Hi

First, thanks for your help!
No, I have no more details from the SEGV. I just enter in the bash
"java -version" ond get "Segmentation Fault (core dumped)".
Yes, I have a core file, but its whole size is 1305 KB.... I don't know, if
I can post it here in the newsgroup. Shall I? I suppose there is not much
readable information in the file.
With -Xint option I have the same problem. There is also a segmentation
Fault.
I found out that there are different versions of libjsig.so. Is it possible
that it works if I will use the libjsig.so of version 1.4.0? Can there be
some other "not-wanted features"?

Thanks and greets
Chris
"sf" <my******@yahoo.com> schrieb im Newsbeitrag
news:40**************@yahoo.com...
Hi Christian,

... so you are using the v1.4.2 signal chaining library...

http://java.sun.com/j2se/1.4.2/docs/...-chaining.html

Do you have any more details from the SEGV?

Do you have a core file?

Do you get the same SEGV if you run in "client" compiler
or in '-Xint'interpreted mode execution only?

Tell us more...

Thanks,

Stephen
Christian Meier wrote:
Hi

We use "export LD_PRELOAD=<libjvm.so dir>/libjsig.so" in our application. And everything was doing right in the old 32-bit system. Now we have our
application running in a 64 system and now we have a segmentation fault. It doesn't work neither when we link it directly in our application...
We could reduce our problem and we are sure that it is independent of our application.
"java -version" ends in a core dump when using "export LD_PRELOAD=<libjvm.so dir>/libjsig.so".
We are using a sun solaris and Java(TM) 2 Runtime Environment, Standard
Edition (build 1.4.2_03-b02), Java HotSpot(TM) 64-Bit Server VM (build
1.4.2_03-b02, mixed mode).....
Can anyone help me? Or is there anyone who had the same problem? Do you have some ideas?
Thanks for every kind of help!

Greetings Chris

Jul 17 '05 #4
Christian Meier <ch***@gmx.ch> wrote:
No, I have no more details from the SEGV. I just enter in the bash
"java -version" ond get "Segmentation Fault (core dumped)". Yes, I
have a core file, but its whole size is 1305 KB.... I don't know, if
I can post it here in the newsgroup. Shall I?


No. Unix core files are only useful in the context of the exact
kernel, executables, libraries, etc. involved in generating them.
Don't ever send someone else a core file unless you intend to send
him/her your computer as well.

You could try to get a backtrace out of the core file (which would
make sense to the developers) if your library and/or program contain
symbol information. See, for example:

http://www.sys-con.com/story/?storyid=44022&DE=1

-- Lucas
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Janick Bernet | last post by:
After updating to FP10, everytime i want to execute a stored procedure it gives me an error "Java or .NET interpreter startup or communication failed". In the db2diag.log there is an info just...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.