Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 2021 11:48:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 258552] java/openjdk11: core dump under FreeBSD-13.0-RELEASE with Chinese locale
Message-ID:  <bug-258552-8522-mMZgca1DP2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258552-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258552-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258552

--- Comment #2 from huanghwh@gmail.com ---
# gdb -core java.core /usr/local/openjdk11/bin/java
GNU gdb (GDB) 10.2 [GDB v10.2 for FreeBSD]
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
l>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd13.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/openjdk11/bin/java...
[New LWP 351507]
[New LWP 102946]
[New LWP 351499]
[New LWP 351500]
[New LWP 351501]
[New LWP 351502]
[New LWP 351503]
[New LWP 351504]
[New LWP 351505]
[New LWP 351506]
Core was generated by `/usr/local/openjdk11/bin/java -version'.
Program terminated with signal SIGABRT, Aborted.
#0  thr_kill () at thr_kill.S:4
4       thr_kill.S: No such file or directory.
[Current thread is 1 (LWP 351507)]
(gdb) bt
#0  thr_kill () at thr_kill.S:4
#1  0x000000080116b064 in __raise (s=3Ds@entry=3D6) at
/usr/src/lib/libc/gen/raise.c:52
#2  0x000000080121ff29 in abort () at /usr/src/lib/libc/stdlib/abort.c:67
#3  0x0000000802b892d1 in os::abort(bool, void*, void const*) () from
/usr/local/openjdk11/lib/server/libjvm.so
#4  0x0000000802da35c5 in VMError::report_and_die(int, char const*, char
const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*,
int, unsigned long) () from /usr/local/openjdk11/lib/server/libjvm.so
#5  0x0000000802da2a14 in VMError::report_and_die(Thread*, unsigned int,
unsigned char*, void*, void*, char const*, ...) ()
   from /usr/local/openjdk11/lib/server/libjvm.so
#6  0x0000000802da3681 in VMError::report_and_die(Thread*, unsigned int,
unsigned char*, void*, void*) ()
   from /usr/local/openjdk11/lib/server/libjvm.so
#7  0x0000000802b8e260 in JVM_handle_bsd_signal () from
/usr/local/openjdk11/lib/server/libjvm.so
#8  0x0000000802b8b20d in signalHandler(int, __siginfo*, void*) () from
/usr/local/openjdk11/lib/server/libjvm.so
#9  0x00000008010a8e0e in handle_signal (actp=3Dactp@entry=3D0x7fffdf7f50c0,
sig=3Dsig@entry=3D11, info=3Dinfo@entry=3D0x7fffdf7f54b0,=20
    ucp=3Ducp@entry=3D0x7fffdf7f5140) at /usr/src/lib/libthr/thread/thr_sig=
.c:301
#10 0x00000008010a83cf in thr_sighandler (sig=3D11, info=3D0x7fffdf7f54b0,
_ucp=3D0x7fffdf7f5140) at /usr/src/lib/libthr/thread/thr_sig.c:246
#11 <signal handler called>
#12 0x0000000801184dae in localeconv_l (loc=3Dloc@entry=3D0x80129ded8
<__xlocale_global_locale>) at /usr/src/lib/libc/locale/localeconv.c:91
#13 0x00000008011dc0a7 in __vfprintf (fp=3D0x7fffdf7f61b8, locale=3D0x80129=
ded8
<__xlocale_global_locale>, fmt0=3D0x8020db6bc " done",=20
    ap=3D0x7fffdf7f6420) at /usr/src/lib/libc/stdio/vfprintf.c:480
#14 0x00000008011e7519 in vsnprintf_l (str=3D<optimized out>, n=3D343792872=
16,
locale=3D0x80129ded8 <__xlocale_global_locale>,=20
    fmt=3D<optimized out>, ap=3D<optimized out>) at
/usr/src/lib/libc/stdio/vsnprintf.c:80
#15 vsnprintf (str=3D0x7fffdf7f64ba "", n=3D222, fmt=3D0x8020db6bc " done",
ap=3D0x7fffdf7f6420) at /usr/src/lib/libc/stdio/vsnprintf.c:89
#16 0x0000000802b90b02 in os::vsnprintf(char*, unsigned long, char const*,
__va_list_tag*) () from /usr/local/openjdk11/lib/server/libjvm.so
#17 0x0000000802914903 in jio_vsnprintf () from
/usr/local/openjdk11/lib/server/libjvm.so
#18 0x0000000802675460 in FormatBuffer<256ul>::append(char const*, ...) () =
from
/usr/local/openjdk11/lib/server/libjvm.so
#19 0x00000008027801c3 in EventMark::~EventMark() () from
/usr/local/openjdk11/lib/server/libjvm.so
#20 0x0000000802659220 in ClassLoader::load_class(Symbol*, bool, Thread*) ()
from /usr/local/openjdk11/lib/server/libjvm.so
#21 0x0000000802d03fdf in SystemDictionary::load_instance_class(Symbol*,
Handle, Thread*) () from /usr/local/openjdk11/lib/server/libjvm.so
#22 0x0000000802d02fd2 in
SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle,
Thread*) ()
   from /usr/local/openjdk11/lib/server/libjvm.so
#23 0x0000000802d0221b in SystemDictionary::resolve_or_fail(Symbol*, Handle,
Handle, bool, Thread*) ()
   from /usr/local/openjdk11/lib/server/libjvm.so
#24 0x00000008026e39ec in ConstantPool::klass_at_impl(constantPoolHandle
const&, int, bool, Thread*) ()
   from /usr/local/openjdk11/lib/server/libjvm.so
#25 0x00000008026e8693 in ConstantPool::klass_at(int, Thread*) () from
/usr/local/openjdk11/lib/server/libjvm.so
#26 0x0000000802a2c333 in LinkInfo::LinkInfo(constantPoolHandle const&, int,
Thread*) () from /usr/local/openjdk11/lib/server/libjvm.so
#27 0x0000000802a30a47 in LinkResolver::resolve_invoke(CallInfo&, Handle,
constantPoolHandle const&, int, Bytecodes::Code, Thread*) ()
   from /usr/local/openjdk11/lib/server/libjvm.so
#28 0x000000080286e3fb in InterpreterRuntime::resolve_invoke(JavaThread*,
Bytecodes::Code) () from /usr/local/openjdk11/lib/server/libjvm.so
#29 0x000000080286eae8 in InterpreterRuntime::resolve_from_cache(JavaThread=
*,
Bytecodes::Code) ()
--Type <RET> for more, q to quit, c to continue without paging--q
Quit
(gdb) up 12
#12 0x0000000801184dae in localeconv_l (loc=3Dloc@entry=3D0x80129ded8
<__xlocale_global_locale>) at /usr/src/lib/libc/locale/localeconv.c:91
warning: Source file is more recent than executable.
91              M_ASSIGN_CHAR(int_p_cs_precedes);
(gdb) list
86              M_ASSIGN_CHAR(p_sep_by_space);
87              M_ASSIGN_CHAR(n_cs_precedes);
88              M_ASSIGN_CHAR(n_sep_by_space);
89              M_ASSIGN_CHAR(p_sign_posn);
90              M_ASSIGN_CHAR(n_sign_posn);
91              M_ASSIGN_CHAR(int_p_cs_precedes);
92              M_ASSIGN_CHAR(int_n_cs_precedes);
93              M_ASSIGN_CHAR(int_p_sep_by_space);
94              M_ASSIGN_CHAR(int_n_sep_by_space);
95              M_ASSIGN_CHAR(int_p_sign_posn);
(gdb)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258552-8522-mMZgca1DP2>