pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
games/openrct2 spins 99% CPU for hours
Just FYI:
(NetBSD/9.3 pbulk running for 9.0)
ps axd shows following tree:
---------------------------------------------
28737 ? I 0:00.02 | | `-- /bin/sh /usr/pkg_bulk/libexec/pbulk/pkg-build
20024 ? I 0:00.50 | | `-- /usr/bin/make all BATCH DEPENDS_TARGET WRKLOG
793 ? I 0:00.00 | | `-- /bin/sh -c set -e;\t\t\t\t\t if test -n "" && /usr/sbin/pkg_info -K /usr/pkg/pkgdb -qe openrct2-
1474 ? I 0:00.56 | | `-- /usr/bin/make _MAKE NATIVE_OPSYS OPSYS NATIVE_OS_VERSION OS_VERSION NATIVE_OPSYS_VERSION OPSYS_
5256 ? I 0:00.14 | | `-- /usr/pkg/bin/gmake -j 4 all
4966 ? I 0:00.00 | | `-- /usr/pkg/bin/gmake -s -f CMakeFiles/Makefile2 all
2519 ? I 0:00.20 | | `-- /usr/pkg/bin/gmake -s -f CMakeFiles/libopenrct2.dir/build.make CMakeFiles/libopenrct2.dir
22485 ? I 0:00.01 | | `-- /tmp/games/openrct2/work/.gcc/bin/g++ -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,
18741 ? O 716:23.95 | | `-- /usr/pkg/gcc10/libexec/gcc/x86_64--netbsd/10.5.0/cc1plus -quiet -I /tmp/games/openrct
---------------------------------------------
and ...
---------------------------------------------
$ gdb attach 18741
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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"...
attach: No such file or directory.
Attaching to process 18741
Reading symbols from /usr/pkg/gcc10/libexec/gcc/x86_64--netbsd/10.5.0/cc1plus...
(No debugging symbols found in /usr/pkg/gcc10/libexec/gcc/x86_64--netbsd/10.5.0/cc1plus)
Reading symbols from /usr/lib/libz.so.1...
(No debugging symbols found in /usr/lib/libz.so.1)
Reading symbols from /usr/lib/libm.so.0...
(No debugging symbols found in /usr/lib/libm.so.0)
Reading symbols from /usr/lib/libc.so.12...
(No debugging symbols found in /usr/lib/libc.so.12)
Reading symbols from /usr/libexec/ld.elf_so...
(No debugging symbols found in /usr/libexec/ld.elf_so)
[Switching to LWP 1 of process 18741]
0x0000000000827cc4 in create_basic_block_structure(rtx_insn*, rtx_insn*, rtx_note*, basic_block_def*) ()
(gdb) bt
#0 0x0000000000827cc4 in create_basic_block_structure(rtx_insn*, rtx_insn*, rtx_note*, basic_block_def*) ()
#1 0x0000000000827dc3 in ?? ()
#2 0x000000000081810e in ?? ()
#3 0x0000000000826a6c in ?? ()
#4 0x0000000000818010 in ?? ()
#5 0x000000000130fd1e in find_many_sub_basic_blocks(simple_bitmap_def*) ()
#6 0x0000000000816d5e in ?? ()
#7 0x0000000000b1aab4 in execute_one_pass(opt_pass*) ()
#8 0x0000000000b1b3b8 in ?? ()
#9 0x0000000000b1b3fb in execute_pass_list(function*, opt_pass*) ()
#10 0x000000000083f338 in cgraph_node::expand() ()
#11 0x00000000008406f4 in ?? ()
#12 0x0000000000842775 in symbol_table::finalize_compilation_unit() ()
#13 0x0000000000bcbb59 in ?? ()
#14 0x0000000001682d9d in toplev::main(int, char**) ()
#15 0x00000000016859b3 in main ()
(gdb)
--
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
Home |
Main Index |
Thread Index |
Old Index