| always core dumps when running swing on -current |
|
 |
Index ‹ java-programmer
|
- Previous
- 5
- Browser shuts down....I am having some problems with sites that have certain Java features. At
some web sites I get a grey box with an X... other web sites the browser
shuts down and goes away completely. It also puts a Notepad text doc. on my
desk top every time the browser disappears. (copy of this is below)
I have done everything I can think of to resove this situation... MS JVM and
also Sun.... Uninstal - install.... I have almost given up. It is sad that I
can only access half of the internet. I have gone to the web sites listed in
this forum that checks Java. Some say I am Java enabled, some have the greay
box and others shut my browser down.
I am running XP and IE 6.0.2800.1106xpsp2.030422-1633
An example of a web site that shuts down my browser is here. This is just
the web site to our local news program. www.katu.com
I have been to the brink of frustration and back again more times than I can
count trying to troubleshoot this situation.
Gary
<<<<<<<<
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D1C4663
Function=[Unknown.]
Library=C:\Program Files\Java\j2re1.4.1_03\bin\fontmanager.dll
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
- locked <161FA9F8> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.addPathFonts(Unknown Source)
at sun.java2d.SunGraphicsEnvironment.registerFonts(Unknown Source)
at sun.java2d.SunGraphicsEnvironment.access$100(Unknown Source)
at sun.java2d.SunGraphicsEnvironment$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.SunGraphicsEnvironment.loadFonts(Unknown Source)
- locked <10813C78> (a sun.awt.Win32GraphicsEnvironment)
at sun.java2d.SunGraphicsEnvironment.mapFontName(Unknown Source)
at java.awt.Font.initializeFont(Unknown Source)
at java.awt.Font.<init>(Unknown Source)
at advnewsticker.init(advnewsticker.java:81)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Dynamic libraries:
0x00400000 - 0x00419000 C:\Program Files\Internet Explorer\iexplore.exe
0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll
0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll
0x77C10000 - 0x77C63000 C:\WINDOWS\system32\msvcrt.dll
0x77D40000 - 0x77DC6000 C:\WINDOWS\system32\USER32.dll
0x77C70000 - 0x77CB0000 C:\WINDOWS\system32\GDI32.dll
0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x7807F000 C:\WINDOWS\system32\RPCRT4.dll
0x70A70000 - 0x70AD4000 C:\WINDOWS\system32\SHLWAPI.dll
0x71700000 - 0x71849000 C:\WINDOWS\System32\SHDOCVW.dll
0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.DLL
0x629C0000 - 0x629C8000 C:\WINDOWS\System32\LPK.DLL
0x72FA0000 - 0x72FFA000 C:\WINDOWS\System32\USP10.dll
0x71950000 - 0x71A34000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0
.10.0_x-ww_f7fb5805\comctl32.dll
0x773D0000 - 0x77BC2000 C:\WINDOWS\system32\SHELL32.dll
0x77340000 - 0x773CB000 C:\WINDOWS\system32\comctl32.dll
0x771B0000 - 0x772D1000 C:\WINDOWS\system32\ole32.dll
0x5AD70000 - 0x5ADA4000 C:\WINDOWS\System32\uxtheme.dll
0x10000000 - 0x10056000 C:\Program Files\ACD Systems\ImageFox\IFOXDLL.dll
0x763B0000 - 0x763F5000 C:\WINDOWS\system32\comdlg32.dll
0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll
0x74720000 - 0x74764000 C:\WINDOWS\System32\MSCTF.dll
0x75F80000 - 0x7607C000 C:\WINDOWS\System32\BROWSEUI.dll
0x72430000 - 0x72442000 C:\WINDOWS\System32\browselc.dll
0x75F40000 - 0x75F5F000 C:\WINDOWS\system32\appHelp.dll
0x76FD0000 - 0x77048000 C:\WINDOWS\System32\CLBCATQ.DLL
0x77120000 - 0x771AB000 C:\WINDOWS\system32\OLEAUT32.dll
0x77050000 - 0x77115000 C:\WINDOWS\System32\COMRes.dll
0x009B0000 - 0x009DB000 C:\WINDOWS\System32\msctfime.ime
0x746F0000 - 0x74716000 C:\WINDOWS\System32\Msimtf.dll
0x76200000 - 0x76298000 C:\WINDOWS\system32\WININET.dll
0x762C0000 - 0x76348000 C:\WINDOWS\system32\CRYPT32.dll
0x762A0000 - 0x762AF000 C:\WINDOWS\system32\MSASN1.dll
0x76F90000 - 0x76FA0000 C:\WINDOWS\System32\Secur32.dll
0x76620000 - 0x7666E000 C:\WINDOWS\System32\cscui.dll
0x76600000 - 0x7661B000 C:\WINDOWS\System32\CSCDLL.dll
0x76670000 - 0x76757000 C:\WINDOWS\System32\SETUPAPI.dll
0x01600000 - 0x0160B000 C:\Program Files\Adobe\Acrobat
6.0\Reader\ActiveX\AcroIEHelper.dll
0x01790000 - 0x017C8000 C:\Program Files\NewDotNet\newdotnet4_88.dll
0x71AB0000 - 0x71AC5000 C:\WINDOWS\System32\WS2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\System32\WS2HELP.dll
0x017E0000 - 0x01893000 C:\PROGRA~1\SPYBOT~1\SDHelper.dll
0x5EDD0000 - 0x5EDEA000 C:\WINDOWS\System32\olepro32.dll
0x019B0000 - 0x019D2000 C:\Program Files\WS_FTP Pro\wsbho2k0.dll
0x75E90000 - 0x75F37000 C:\WINDOWS\System32\SXS.DLL
0x01A10000 - 0x01A2C000 C:\Program Files\Norton AntiVirus\NavShExt.dll
0x01A30000 - 0x01A4A000 C:\WINDOWS\System32\ccTrust.dll
0x55900000 - 0x55961000 C:\WINDOWS\System32\MSVCP60.dll
0x76B20000 - 0x76B35000 C:\WINDOWS\System32\ATL.DLL
0x1A400000 - 0x1A47A000 C:\WINDOWS\system32\urlmon.dll
0x76170000 - 0x761F8000 C:\WINDOWS\System32\shdoclc.dll
0x74770000 - 0x747FF000 C:\WINDOWS\System32\mlang.dll
0x71AD0000 - 0x71AD8000 C:\WINDOWS\System32\wsock32.dll
0x71A50000 - 0x71A8B000 C:\WINDOWS\system32\mswsock.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x76EE0000 - 0x76F17000 C:\WINDOWS\System32\RASAPI32.DLL
0x76E90000 - 0x76EA1000 C:\WINDOWS\System32\rasman.dll
0x71C20000 - 0x71C6E000 C:\WINDOWS\System32\NETAPI32.dll
0x76EB0000 - 0x76EDB000 C:\WINDOWS\System32\TAPI32.dll
0x76E80000 - 0x76E8D000 C:\WINDOWS\System32\rtutils.dll
0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll
0x722B0000 - 0x722B5000 C:\WINDOWS\System32\sensapi.dll
0x75A70000 - 0x75B15000 C:\WINDOWS\system32\USERENV.dll
0x02030000 - 0x02231000 C:\WINDOWS\System32\msi.dll
0x605D0000 - 0x605D8000 C:\WINDOWS\System32\mslbui.dll
0x76F20000 - 0x76F45000 C:\WINDOWS\System32\DNSAPI.dll
0x76FB0000 - 0x76FB7000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x76FC0000 - 0x76FC5000 C:\WINDOWS\System32\rasadhlp.dll
0x63580000 - 0x6382E000 C:\WINDOWS\System32\mshtml.dll
0x5C2C0000 - 0x5C2FC000 C:\WINDOWS\ime\sptip.dll
0x74C80000 - 0x74CAC000 C:\WINDOWS\System32\OLEACC.dll
0x02A00000 - 0x02A11000 C:\WINDOWS\IME\SPGRMR.DLL
0x02A50000 - 0x02A6B000 C:\Program Files\Common Files\Symantec
Shared\Script Blocking\scrauth.dll
0x02B80000 - 0x02B9E000 C:\Program Files\Common Files\Symantec
Shared\Script Blocking\ScrBlock.dll
0x76C30000 - 0x76C5B000 C:\WINDOWS\System32\wintrust.dll
0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\IMAGEHLP.dll
0x0FFD0000 - 0x0FFF3000 C:\WINDOWS\System32\rsaenh.dll
0x73D50000 - 0x73D60000 C:\WINDOWS\System32\cryptnet.dll
0x6B700000 - 0x6B790000 c:\windows\system32\jscript.dll
0x746C0000 - 0x746E7000 C:\WINDOWS\System32\MSLS31.DLL
0x6B600000 - 0x6B671000 c:\windows\system32\vbscript.dll
0x66E50000 - 0x66E8B000 C:\WINDOWS\System32\iepeers.dll
0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV
0x74CB0000 - 0x74D1F000 C:\WINDOWS\System32\mshtmled.dll
0x72D20000 - 0x72D29000 C:\WINDOWS\System32\wdmaud.drv
0x72D10000 - 0x72D18000 C:\WINDOWS\System32\msacm32.drv
0x77BE0000 - 0x77BF4000 C:\WINDOWS\System32\MSACM32.dll
0x77BD0000 - 0x77BD7000 C:\WINDOWS\System32\midimap.dll
0x6D830000 - 0x6D83F000 C:\Program
Files\Java\j2re1.4.1_03\bin\npjpi141_03.dll
0x6D790000 - 0x6D7A6000 C:\Program Files\Java\j2re1.4.1_03\bin\jpiexp32.dll
0x6D7D0000 - 0x6D7E4000 C:\Program Files\Java\j2re1.4.1_03\bin\jpishare.dll
0x6D340000 - 0x6D46B000 C:\PROGRA~1\Java\J2RE14~2.1_0\bin\client\jvm.dll
0x6D1E0000 - 0x6D1E7000 C:\PROGRA~1\Java\J2RE14~2.1_0\bin\hpi.dll
0x6D310000 - 0x6D31E000 C:\PROGRA~1\Java\J2RE14~2.1_0\bin\verify.dll
0x6D220000 - 0x6D239000 C:\PROGRA~1\Java\J2RE14~2.1_0\bin\java.dll
0x6D330000 - 0x6D33D000 C:\PROGRA~1\Java\J2RE14~2.1_0\bin\zip.dll
0x6D000000 - 0x6D105000 C:\Program Files\Java\j2re1.4.1_03\bin\awt.dll
0x6D190000 - 0x6D1E0000 C:\Program
Files\Java\j2re1.4.1_03\bin\fontmanager.dll
0x51000000 - 0x51047000 C:\WINDOWS\System32\ddraw.dll
0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll
0x5C000000 - 0x5C0C8000 C:\WINDOWS\System32\D3DIM700.DLL
0x6D730000 - 0x6D741000 C:\Program Files\Java\j2re1.4.1_03\bin\jpicom32.dll
0x6D2E0000 - 0x6D2EE000 C:\Program Files\Java\j2re1.4.1_03\bin\net.dll
0x6D140000 - 0x6D162000 C:\Program Files\Java\j2re1.4.1_03\bin\dcpr.dll
0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL
Local Time = Tue Jul 22 17:28:57 2003
Elapsed Time = 9
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)
#
- 7
- Why isn't new used in the following.In the following:
public class toupper {
private static void upper(){
String a = "chad";
System.out.println("Upper Case is:" + a.toUpperCase());
}
public static void main (String[] args) {
upper();
}
}
Why isn't the line
String a = new String();
Necessary? I thought this line might be omitted because for whatever
reasons I was thinking toUpperCase() was a static method. It isn't.
Because when I change the line:
System.out.println("Upper Case is:" + a.toUpperCase());
to
System.out.println("Upper Case is:" + String.toUpperCase());
I get the following:
$javac toupper.java
toupper.java:6: non-static method toUpperCase() cannot be referenced
from a static context
System.out.println("Upper Case is:" + String.toUpperCase());
^
1 error
- 9
- encoding troublesHi all!
I have a byte array of data which I want to post to an php script. So I send
the representing string of the byte array using a post with utf-8 encoding.
I figured java works with UTF-16BE internally, but after receiving the utf-8
encoded post in php and converting it to back to UTF-16BE it was not the
same...
I wrote a little test and it turns out if i conver a byte array to utf-8 and
back it wont match the original byte array, but the string representing it
is the same:
String test="some test";
byte[] dest,temp;
dest = test.getBytes();
try {
temp=new String(dest).getBytes("UTF-8");
}catch(Exception e) { System.out.println(e); }
try {
test=new String(temp,"UTF-8");
System.out.println(test);
dest=test.getBytes();
} catch(Exception e) { System.out.println(e); }
if(dest==temp) System.out.println("Success!");
else System.out.println("failed");
How can I convert the UTF-8 bytes back to the original byte array? And will
this work when posting to php? Its important the binary data remains intact
instead of the string representation...
Thanks in advance,
Matthijs
- 10
- How to set ProcessingInstruction in jdom Document?Hi all,
i try to make xml file with jdom, and also i made xsl file for presenting
xml in browser.
because of that i need to add processing instuction in xml file
...
<?xml-stylesheet type="text/xml" href="test.xsl" ?>
<root>
...
</root>
i did :
Element root = new Element("root");
Document document = new Document(root);
ProcessingInstruction pi = new ProcessingInstruction("xml-stylesheet",
"type='text/xsl' href='test.xsl'");
document.addContent(pi);
...
i got xml file like this
<?xml version=1.0 ?>
<root>
...
</root>
<?xml-stylesheet type="text/xsl" href="test.xsl" ?>
how to put this line
<?xml-stylesheet type="text/xsl" href="test.xsl" ?>
in front of <root>
thanks
- 10
- Sams Teach Yourself Java 6 in 21 Days - Installation ErrorHi,
I have just bought the book Sams "Teach Yourself Java 6 in 21 Days",
and am getting an error installing the JDK supplied with the book.
After running "start.exe", I select the AMD 64 installation package.
After the InstallShield package loads up, I get an error, "This
installation package is not supported by this processor type. Contact
your product vendor.".
The installation then aborts and I cannot get any further.
I have an HP PC with AMD Athlon 64 X2 processor, running Windows
Vista.
Has anyone installed the software successfully on a similar platform,
or knows what might be wrong?
Thanks in advance for any help.
- 10
- doing something after so many times something has loadedHi am currently writing a java application. The program that i am
writing allows people to be able log on to the program using a username
and password. I want to be able to edit information in a MySQL Database
when there has been a password error 3 times. How would i go about
checking to see how many times something has happened.
Any help would be apreciated.
Thank you
- 10
- JComboBox with Image, text and autocompletition of textHi!,
I'd like to build a JComboBobox with a JLabel object which is an icon
with text, and also i'd like to add an autocompletition to the text (an
editable JComboBobox that when you write a text inside it, searches for
the text starts with).
I've tryed to use ListCellRenderer class for rebuild the visual
renderering, but i've got also a problem with the rendering of the
selected cell.
Thank you for your help.
-Trime-
- 10
- WMA compatible handsetsHello,
does anyone have an idea where I can get a complete list of handsets
that support WMA 1.0 and 1.1.
I had a look at:
http://developers.sun.com/techtopics/mobility/device/pub/device/ but it
look quite outdated.
Also if the handset support wma - does it mean the j2me app will be
able to send sms messages?
Thanks in advance,
Kriton
- 11
- SSL HostnameVerifierWas getting "hostname wrong" when connecting via HttpsURLConnection.
Setup my own HostnameVerifier, returned true, and problem went away.
However, exactly what problem did I solve, and did I introduce a
security risk? When the substitute HostnameVerifier was called, first
argument "String urlHostName" was identical to second argument
"SSLSession session.getPeerHost()", i.e., the IP address of the server
from whom the certificate was obtained. What mismatch triggered the
call to the substitute HostnameVerifier?
Thanks.
- 11
- NetBeans IDE 3.5 does not runHi all,
I've installed NetBeans IDE 3.5 on Windows XP. But if I try to start it,
a message box shows "cannot load jvm.dll". This library does exist in
a subdirectory. My questions are:
1) Is NetBeans IDE 3.5 a stand-alone software, i.e. can it run without
other software, or should a java SDK be installed?
2) If NetBeans can run without java SDK, maybe one must set the path for
jvm.dll. How can it be done?
Many thanks!
Weichao
- 11
- Read data with delimater using stringtokenizerHei,
I have problem with this
if i have test with
aa,bb,cc,dd
aa,,cc,dd
and use
StringTokenizer str=new StringTokenizer(str,",",false)
after i read the data will be as
aa
bb
cc
dd
aa
cc
dd
the blank data in row 2 is missing. any suggestion or any suggestion on
method using beside stringtokenizer?
Cheers,
- 13
- Displaying SIGNED SHORT images in Java,Hello,
Given an array of SINGED shorts gray values, how can I create a corresponding
BufferedImage. In the java docs I only see support for unsigned short? I don't
even see support for creating a BufferedImage from (int) gray level data?
Any help or pointers would be greatly appreciated.
Thanks,
Ana
- 13
- JSP NTLM extraction of windows usernameI found this username extraction code on "Real's How to..." site. The code
work great, but I
need help with getting it to work in my jsp/servlet
What I have done is put this code into a jsp of my own. the jsp has a form
on it. this form gets submitted to a java servlet, but the parameters
(fields from the form) are all null. If I remove the NTLM username
extraction code from the jsp, the jsp works perfectly.
I am not sure how this java scriptlet is interfering with the field values
of my form submission.
I use the hidden field 'action' to determine what happens in the servlet...,
but when i get the parameter in the servlet, its value is null, despite
having the JavaScript set it just before
submitting.
Any help or insight would be greatly appreciated!
-Eric
--- code snippet---
<jsp:useBean id="username" scope="session" class="java.lang.String"/>
<%@ page import="sun.misc.BASE64Encoder" %>
<html>
<head>
<script language="javascript">
function createNew(){
document.getElementById('action').value = 'create';
document.getElementById('form1').action ='MyServlet';
document.getElementById('form1').submit();
}
</script>
</HEAD>
<%
if(((String)request.getSession().getAttribute("username")).length() < 1){
String auth = request.getHeader("Authorization");
if (auth == null) {
response.setStatus(response.SC_UNAUTHORIZED);
response.setHeader("WWW-Authenticate", "NTLM");
return;
}
if (auth.startsWith("NTLM ")) {
byte[] msg = new
sun.misc.BASE64Decoder().decodeBuffer(auth.substring(5));
int off = 0, length, offset;
String s;
if (msg[8] == 1) {
off = 18;
byte z = 0;
byte[] msg1 = {(byte)'N', (byte)'T', (byte)'L', (byte)'M',
(byte)'S',
(byte)'S', (byte)'P', z,
(byte)2, z, z, z, z, z, z, z,
(byte)40, z, z, z, (byte)1, (byte)130, z, z,
z, (byte)2, (byte)2, (byte)2, z, z, z, z, //
z, z, z, z, z, z, z, z};
response.setStatus(response.SC_UNAUTHORIZED);
response.setHeader("WWW-Authenticate", "NTLM "
+ new
sun.misc.BASE64Encoder().encodeBuffer(msg1).trim());
return;
}
else if (msg[8] == 3) {
off = 30;
length = msg[off+1]*256 + msg[off];
offset = msg[off+3]*256 + msg[off+2];
String ud = new String(msg, offset, length);
length = msg[off+9]*256 + msg[off+8];
offset = msg[off+11]*256 + msg[off+10];
String un = new String(msg, offset, length);
request.getSession().setAttribute("username",un);
request.getSession().setAttribute("userdomain",ud);
}
else
return;
}
}
%>
<body>
<form method="post" action="" name='form1' id='form1'>
<input type="hidden" name="action" id="action" value="">
<table>
<tr>
<td><input type="button" value="New" onClick='createNew()'></td>
</tr>
</table>
</form>
</body>
</html>
- 13
- Creating us map graphics?Hello,
Does anyone know of any Java freeware that can help me generate a
US map with states being different colors? I am running JDK 1.3 for
Solaris. My intention is to color code states based on the number of
users wwe have from each state.
Thanks, - Dave
- 15
- Java facade to Ada code?Hi. My team has a bunch of legacy Ada code. Our new code is being
written in Java. However, we still have many complex algorithms
written in thousands of lines of Ada. Rather than rewriting the
tested/validated Ada code in Java, we'd like to create a Java facade
that would delegate to the Ada code, thereby making the Ada code
available to newer Java client objects. Is this reasonable (as opposed
to rewriting everything in Java)? Anyone know what
mechanisms/libraries would support such an approach?
Thanks!
Ken
|
| Author |
Message |
ijliao

|
Posted: 2004-6-30 11:52:00 |
Top |
java-programmer, always core dumps when running swing on -current
--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
I've installed jdk 1.4.2 on my -current (Jun 9) box
and I always got core dumps when I launch swing applications
ps. build java programs and run text mode programs are all ok
here's my error message :
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 10 occurred at PC=0x34E25899
Function=XtWidgetToApplicationContext+0x1D
Library=/usr/X11R6/lib/libXt.so.6
Current Java thread:
at sun.awt.motif.MToolkit.loadSystemColors(Native Method)
at java.awt.SystemColor.updateSystemColors(SystemColor.java:417)
at java.awt.SystemColor.<clinit>(SystemColor.java:409)
at sun.awt.motif.MComponentPeer.pSetBackground(Native Method)
at sun.awt.motif.MPanelPeer.setBackground(MPanelPeer.java:69)
at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:182)
at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:228)
at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:90)
at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:58)
at sun.awt.motif.MToolkit.createFrame(MToolkit.java:209)
at java.awt.Frame.addNotify(Frame.java:472)
- locked <0x2c94bfe8> (a java.awt.Component$AWTTreeLock)
at java.awt.Dialog.addNotify(Dialog.java:383)
- locked <0x2c94bfe8> (a java.awt.Component$AWTTreeLock)
at java.awt.Dialog.conditionalShow(Dialog.java:454)
- locked <0x2c94bfe8> (a java.awt.Component$AWTTreeLock)
at java.awt.Dialog.show(Dialog.java:524)
at net.sf.jpatch.boundary.About.<init>(About.java:394)
at net.sf.jpatch.boundary.MainFrame.<init>(MainFrame.java:161)
at net.sf.jpatch.Modeler.main(Modeler.java:11)
Dynamic libraries:
0x8048000 java
0x28082000 /usr/lib/libpthread.so.1
0x280a6000 /lib/libc.so.5
0x2817f000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
0x285a2000 /usr/lib/libstdc++.so.4
0x28658000 /lib/libm.so.2
0x28671000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so
0x2867f000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so
0x28694000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so
0x286b3000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so
0x34b51000 /usr/local/jdk1.4.2/jre/lib/i386/libawt.so
0x34dbc000 /usr/local/jdk1.4.2/jre/lib/i386/libmlib_image.so
0x34e07000 /usr/X11R6/lib/libXp.so.6
0x34e0f000 /usr/X11R6/lib/libXt.so.6
0x34e5c000 /usr/X11R6/lib/libXext.so.6
0x2c449000 /usr/X11R6/lib/libXtst.so.6
0x34e69000 /usr/X11R6/lib/libXmu.so.6
0x34e7e000 /usr/X11R6/lib/libX11.so.6
0x34f3e000 /usr/X11R6/lib/libXau.so.0
0x34f41000 /usr/X11R6/lib/libSM.so.6
0x34f4a000 /usr/X11R6/lib/libICE.so.6
0x34f60000 /usr/local/jdk1.4.2/jre/lib/i386/libfontmanager.so
0x35035000 /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2
0x3503b000 /usr/X11R6/lib/libXcursor.so.1
0x35044000 /usr/X11R6/lib/libXrender.so.1
0x3504b000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
0x3506b000 /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
0x2804e000 /libexec/ld-elf.so.1
Heap at VM Abort:
Heap
def new generation total 576K, used 428K [0x2c450000, 0x2c4f0000, 0x2c930000)
eden space 512K, 75% used [0x2c450000, 0x2c4b0430, 0x2c4d0000)
from space 64K, 68% used [0x2c4e0000, 0x2c4eae68, 0x2c4f0000)
to space 64K, 0% used [0x2c4d0000, 0x2c4d0000, 0x2c4e0000)
tenured generation total 1408K, used 1244K [0x2c930000, 0x2ca90000, 0x30450000)
the space 1408K, 88% used [0x2c930000, 0x2ca67168, 0x2ca67200, 0x2ca90000)
compacting perm gen total 7168K, used 7081K [0x30450000, 0x30b50000, 0x34450000)
the space 7168K, 98% used [0x30450000, 0x30b3a590, 0x30b3a600, 0x30b50000)
Local Time = Wed Jun 30 11:47:52 2004
Elapsed Time = 2
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_23_jun_2004_11_53 mixed mode)
#
# An error report file has been saved as hs_err_pid17526.log.
# Please refer to the file for further information.
#
Abort (core dumped)
--
self-producing in perl :
$_=q(print"\$_=q($_);eval;");eval;
-- V Vinay
--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA4ji7rMYBZRHAI4IRAkxXAKDqj0Olmm2JdB7SJEm/W/RAtiXrQACgpT8K
gKYEwc1eZ0SRMlQ24jluLfQ=
=37FF
-----END PGP SIGNATURE-----
--G4iJoqBmSsgzjUCe--
|
| |
|
| |
 |
ijliao

|
Posted: 2004-6-30 13:12:00 |
Top |
java-programmer >> always core dumps when running swing on -current
--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
after "ln -s aj /etc/malloc.conf" everything goes well ...
--
Testing can show the presence of bugs, but not their absence.
--- Edsger W. Dijkstra
--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA4ktfrMYBZRHAI4IRAvsZAKCoj717ggOssHQJXFB8bjZvkd2/WwCgjzX1
NaOLVVUvTNN6E4u8VjVQBSw=
=I8Nx
-----END PGP SIGNATURE-----
--mYCpIKhGyMATD0i+--
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- Design qq... is it better to have a program with, say, 10 methods
and then call each 10 from the mainline OR have the mainline call
the first which calls the second which calls ... the second
... the third ... thr tenth.?
b
--
Sometimes I'm in a good mood.
Sometimes I'm in a bad mood.
When all my moods have cum to pass
i hope they bury me upside down
so the world can kiss me porcelain,
white, Irish bottom.
- 2
- Absolute layout manager dimensionsHi again.
Is there any way to create a layout manager consisting of two cols where
the left has a width of 100px and the right one uses the rest of the
space available?
Something like HTML's <frameset cols="100,*"....>
Regards,
Jan
- 3
- Hooking up jdbc to a local access databaseThe driver I am using, the default jdbc/odbc driver, in netbeans is
not working for connecting to an access db on my hard drive. The
driver does find the database, and connects to it, but when I set it
up I get a "unable to obtain schema" warning. then on the icon for
the database after im connected in netbeans, the link to the tables is
broken. Thanks
Karl Nelson
- 4
- login username from databaseHi,
I have a login window with a username and password fields. The
program checks the username and password from a mysql DB table. If I
enter a username that is not in the database, how do I get it to
display a message that the username does not exist.
Thanks
Trevor
- 5
- OpenBSD, Packet filter and Apache TomcatI'm trying to set up a standalone Tomcat server behind an OpenBSD
packet filter. I need to use NAT and redirect to the proper server. By
default Tomcat runs on port 8080 avoiding the need to run as root on
protected port 80. So obviously I'd like to redirect incoming requests
on firewall port 80 to Tomcat server port 8080, but there's no
response. However, if I run Tomcat (as root) on port 80, and redirect
properly in pf.conf all works swell. So it would appear as the problem
oddly enough is related to redirection of... port number?
The (possibly) relevant extracts from pf.conf:
scrub in all
nat on xl0 from rl0 to any -> xl0
rdr on xl0 inet proto tcp from any to xl0 port 80 -> 192.168.0.10 port
8080
block in on xl0 all
pass in on xl0 inet proto tcp from any to any port 80 flags S/SA keep
state
Anyone have any idea why this setup would work with port 80 but not
8080 in line 3 above?
- 6
- JLIST WhitespaceI have a JList. When a user clicks on the whitespace following the
last object in the JList, Java selects the last object. I would like
it to deselect everything. I know I can add a null object to the
jlist at the end, but this is a hack and I would prefer a cleaner
solution. Any suggestions?
- 7
- swing lockup on some systemsHas anyone had any problems using swing under 1.4.2_? with certain hardware
configurations ?
I am seeing this on a certain system which is running Win2K, as soon as a
JApplet is invoked, it seizes up - and if I go to open the Java Console, the
whole system freezes. This, on a system which appears to have no problems or
conflicts, and am wondering if anyone else has experienced such, and what
it;s resolution may have been.
Thanks, Ike
- 8
- Problem with JSP and JDBCHi,
I just got Tomcat 5.0.27 installed (with Apache 2.0.50), and am trying
to get a simple JDBC JSP working. The JSP is called 'test.jsp'.
I have the JDBC-ODBC bridge installed and am going through that and the
Oracle ODBC driver to get to an Oracle database. I've been using the
bridge driver via ODBC for some other standalone (not web) Java
applications and that works ok, so I think that that is working ok, but
even with a really simple JSP, I'm getting an "Name jdbc is not bound in
this context" error.
I'm including my server.xml, test.jsp, and the error details below.
Basically, what I've done is to use the Tomcat administration web
application to create the DataSource, which looks like it populated the
server.xml (see below). I then try to access the test.jsp, and am
getting that "not bound" error.
I've checked the server.xml and the entries look ok (i.e., they have the
matching "jdbc/jimnew" name as shown below).
I was wondering if anyone could tell me what I'm doing wrong?
Thanks,
Jim
Here's my server.xml:
<?xml version='1.0' encoding='utf-8'?>
<Server>
<Listener
className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<GlobalNamingResources>
<Environment name="simpleValue" type="java.lang.Integer"
value="30"/>
<Resource auth="Container" description="User database that can be
updated and saved" name="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
<Resource name="jdbc/jimnew" type="javax.sql.DataSource"/>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
<ResourceParams name="jdbc/jimnew">
<parameter>
<name>validationQuery</name>
<value></value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:odbc:PROD</value>
</parameter>
<parameter>
<name>password</name>
<value>password</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>4</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>sun.jdbc.odbc.JdbcOdbcDriver</value>
</parameter>
<parameter>
<name>username</name>
<value>jim</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<Service name="Catalina">
<Connector acceptCount="100" connectionTimeout="20000"
disableUploadTimeout="true" port="9090" redirectPort="8443"
maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
</Connector>
<Connector enableLookups="true" port="8009" protocol="AJP/1.3"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
redirectPort="8443">
</Connector>
<Engine defaultHost="localhost" name="Catalina">
<Host appBase="webapps" name="localhost">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_log." suffix=".txt" timestamp="true"/>
</Host>
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt" timestamp="true"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
</Engine>
</Service>
</Server>
and here's my JSP (test.jsp):
<%@ page import='java.sql.*, javax.sql.*, javax.naming.*' %>
<%
Context ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup("java:comp/env/jdbc/jimnew");
Connection conn = ds.getConnection();
try {
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select * from test_db");
%><h2>Brooms:</h2><%
while (rs.next()) { %>
<%= rs.getString(1) %> <%= rs.getString(2) %><br><%
}
} finally {
conn.close();
}
%>
The exact error I'm getting is:
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: Name jdbc is not bound in this Context
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.test_jsp._jspService(test_jsp.java:80)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.naming.NameNotFoundException: Name jdbc is not bound in this
Context
org.apache.naming.NamingContext.lookup(NamingContext.java:768)
org.apache.naming.NamingContext.lookup(NamingContext.java:138)
org.apache.naming.NamingContext.lookup(NamingContext.java:779)
org.apache.naming.NamingContext.lookup(NamingContext.java:138)
org.apache.naming.NamingContext.lookup(NamingContext.java:779)
org.apache.naming.NamingContext.lookup(NamingContext.java:151)
org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
javax.naming.InitialContext.lookup(InitialContext.java:347)
org.apache.jsp.test_jsp._jspService(test_jsp.java:49)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.27 logs.
- 9
- HTM shoes Factory ( paypal accept ) ( www.super-saler.com ) HTM shoes Factory ( paypal accept ) ( www.super-saler.com )VIS VIM Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com )
HTM shoes Factory ( paypal accept ) ( www.super-saler.com
)
HTM shoes Factory ( paypal accept ) ( www.super-saler.com )
ARMANI Factory ( paypal accept ) ( www.super-saler.com
)
ARMANI shoes Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius shoes Factory ( paypal accept ) ( www.super-saler.com
)
Christan Audiger shoes Factory ( paypal accept )
( www.super-saler.com )
Christan Audiger shoes Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com )
HTM shoes Factory ( paypal accept ) ( www.super-saler.com
)
HTM shoes Factory ( paypal accept ) ( www.super-saler.com )
ARMANI Factory ( paypal accept ) ( www.super-saler.com
)
ARMANI shoes Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius shoes Factory ( paypal accept ) ( www.super-saler.com
)
Christan Audiger shoes Factory ( paypal accept )
( www.super-saler.com )
Christan Audiger shoes Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com )
HTM shoes Factory ( paypal accept ) ( www.super-saler.com
)
HTM shoes Factory ( paypal accept ) ( www.super-saler.com )
ARMANI Factory ( paypal accept ) ( www.super-saler.com
)
ARMANI shoes Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius shoes Factory ( paypal accept ) ( www.super-saler.com
)
Christan Audiger shoes Factory ( paypal accept )
( www.super-saler.com )
Christan Audiger shoes Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com )
HTM shoes Factory ( paypal accept ) ( www.super-saler.com
)
HTM shoes Factory ( paypal accept ) ( www.super-saler.com )
ARMANI Factory ( paypal accept ) ( www.super-saler.com
)
ARMANI shoes Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius shoes Factory ( paypal accept ) ( www.super-saler.com
)
Christan Audiger shoes Factory ( paypal accept )
( www.super-saler.com )
Christan Audiger shoes Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com )
HTM shoes Factory ( paypal accept ) ( www.super-saler.com
)
HTM shoes Factory ( paypal accept ) ( www.super-saler.com )
ARMANI Factory ( paypal accept ) ( www.super-saler.com
)
ARMANI shoes Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius shoes Factory ( paypal accept ) ( www.super-saler.com
)
Christan Audiger shoes Factory ( paypal accept )
( www.super-saler.com )
Christan Audiger shoes Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com )
HTM shoes Factory ( paypal accept ) ( www.super-saler.com
)
HTM shoes Factory ( paypal accept ) ( www.super-saler.com )
ARMANI Factory ( paypal accept ) ( www.super-saler.com
)
ARMANI shoes Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius shoes Factory ( paypal accept ) ( www.super-saler.com
)
Christan Audiger shoes Factory ( paypal accept )
( www.super-saler.com )
Christan Audiger shoes Factory ( paypal accept ) ( www.super-saler.com
)VIS VIM Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com )
HTM shoes Factory ( paypal accept ) ( www.super-saler.com
)
HTM shoes Factory ( paypal accept ) ( www.super-saler.com )
ARMANI Factory ( paypal accept ) ( www.super-saler.com
)
ARMANI shoes Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius shoes Factory ( paypal accept ) ( www.super-saler.com
)
Christan Audiger shoes Factory ( paypal accept )
( www.super-saler.com )
Christan Audiger shoes Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com
)
VIS VIM Factory ( paypal accept ) ( www.super-saler.com )
HTM shoes Factory ( paypal accept ) ( www.super-saler.com
) HTM shoes Factory ( paypal accept ) ( www.super-saler.com
)
ARMANI Factory ( paypal accept ) ( www.super-saler.com
)
ARMANI shoes Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius Factory ( paypal accept ) ( www.super-saler.com
)
Greedy Genius shoes Factory ( paypal accept ) ( www.super-saler.com
)
Christan Audiger shoes Factory ( paypal accept )
( www.super-saler.com )
Christan Audiger shoes Factory ( paypal accept ) ( www.super-saler.com
)
- 10
- Using java-gcj-compat-dev as build dependencyHi all,
I am a java developer who is learning debian packaging these days. I
am trying to fix some FTBFS of java related packages in Ubuntu.
Some recent observations:
1. I am not sure about Debian but in Ubuntu Sun JDk packages can not
be installed non-interactively and this causes buold failures.
2. For many packages adding java-gcj-compat-dev to 'Build-Depends' is
the first and only thing needed for fixing FTBFS.
Is there any policy regarding which compiler to use.
Onkar
--
Passion - Some people climb mountains - others write Free software.
Don't ask why - the reason is the same.
--
To UNSUBSCRIBE, email to email***@***.com
with a subject of "unsubscribe". Trouble? Contact email***@***.com
- 11
- Any LPR solution??Hi,
I need recognize a License Plate from an image, and then in my program
work with it. Any one know something to do this???
Thanks in advance...
- 12
- Is Set faster than ListHello everyone,
is Set faster than List for most of the operations? I implemented
prime number Generation by "Sieve of Eratosthenes" algorithm. One
method uses List other Set. After Benchmarking both the algorithms, I
find that List are faster than Set for if the number of elements to be
generated is small. But for larger it is Set that is significantly
faster than List.
Is this due to, how Set and List are implemented? and is it a general
rule to use Set over List where element repetition is not significant?
Why benchmarking in Eclipse are slower as compared to console(while
running the benchmark in console, I keep eclipse open, and vice
versa)? I presume that foreign process that could effect the benchmark
in both the cases remain the same.
Thanks
- 13
- Tiers, Layers, Models and Design Patterns (Model-2 of Struts)Hi,
I'm busy investigating the Implementation View of the 4+1 architectural
views of RUP.
I'm getting a bit confused about the difference between Tiers and Layers and
how to
get my business logic model + struts into it. I would like to invite you to
join a discssion
of what is actually meant by layers and tiers, how they relate to eachother
and how
for example struts, consisting of a servlet controller, an action, a form,
and a JSP view,
is "resting" on the layers and partitioned over the tiers. Besides that
assuming that the
system in integrating via XML to a back-end system I wonder how this in
reflected in
tiers and layers.
The tiers I'm thinking of are:
- Presentation (= on the browser)
- Web (= JSP and servlets on the server)
- Business Logic (=EJBs on the server)
- Enterprise Information System (=system to integrate with)
- Database (=back-end database)
Hope this is not enough to discuss in one thread and that the problem I have
is clear.
Kind regards,
Jan
- 14
- Eclipse vs. IBM WebSpehere Application Devleoper StudioHi there. I have a few newbie questions. My employer has chosen to use IBM
WebSphere Application Server to deploy apps on. As one of my first steps in
learning Java/J2EE I need to choose and IDE. Some of the questions I can't
figure out are:
> Since WSAD (WebSphere Application Developer Studio) is very expensive but
based off Eclipse, is it true to say that Eclipse could suffice as an IDE
when applications will be deployed on WebSphere Application Server?
> Would a plugin such as MyEclipse Workbench make developing with Eclipse
and deploying to WebSphere easier?
> Say an application was developed in WSAD, could that application be opened
in Eclipse, edited and redeployed to WebSpehere Applciaton Server and
vice-versa?
> What's your opionion? Save the thousands or does WSAD make that much of a
diference?
Thanks :-)
- 15
- JRE 7: why have snapshot releases stopped?JRE 7 build 24 was released over 3 months ago:
http://download.java.net/jdk7/binaries/. There used to be several releases
a month. Is JRE 7 development on hold or are they going through some
delicate process that requires a pause? I hope they don't think they are
done, because I have 5 active bug reports (www.segal.org/java/sun/) and may
be filing another tomorrow about requestFocus problems in Internet Explorer
8.
|
|
|