-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
1.1.1
-
sparc
-
solaris_2.5
Name: mgC56079 Date: 03/07/97
==== Here is the minimized test ====
class BI {
public static void main(String argv[]) {
java.math.BigInteger b1=java.math.BigInteger.valueOf(1);
System.out.println(b1);
System.out.println(b1.add(b1));
}
}
==== Here is the output of the test (jdk1.1.1C) ====
% java BI
1
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRERR [addr: 0x1]
stackbase=EFFFF7D0, stackpointer=EFFFF510
Full thread dump:
"Finalizer thread" (TID:0xee300220, sys_thread_t:0xef350de0, state:R) prio=1
"Async Garbage Collector" (TID:0xee3001d8, sys_thread_t:0xef380de0, state:R) prio=1
"Idle thread" (TID:0xee300190, sys_thread_t:0xef3b0de0, state:R) prio=0
"Clock" (TID:0xee3000d0, sys_thread_t:0xef470de0, state:CW) prio=12
"main" (TID:0xee3000a8, sys_thread_t:0x41380, state:R) prio=5 *current thread*
java.math.BigInteger.add(BigInteger.java:344)
BI.main(BI.java:5)
Monitor Cache Dump:
Registered Monitor Dump:
Thread queue lock: <unowned>
Name and type hash table lock: <unowned>
String intern lock: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class loading lock: <unowned>
Java stack lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Has finalization queue lock: <unowned>
Finalize me queue lock: <unowned>
Monitor IO lock: <unowned>
Child death monitor: <unowned>
Event monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Waiting to be notified:
"Clock"
Sbrk lock: <unowned>
Monitor cache expansion lock: <unowned>
Monitor registry: owner "main" (0x41380, 1 entry)
Thread Alarm Q:
Abort (core dumped)
======================================================================
- duplicates
-
JDK-4036523 BigInteger string constructor causes a bus error for long base-16 numbers.
-
- Closed
-