Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bender101 committed Jan 17, 2024
1 parent 4632d2a commit 543ac3f
Show file tree
Hide file tree
Showing 6 changed files with 255 additions and 30 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ jobs:
- name: unit testing
if: always()
run: npm run test:unit
- name: Generate HTML report
run: npm run test:ui:report
if: always()
- name: move loki
run: mv .loki reports/
if: always()
# - name: Generate HTML report
# run: npm run test:ui:report
# if: always()
# - name: move loki
# run: mv .loki reports/
# if: always()
- name: Setup Pages
uses: actions/configure-pages@v2
if: always()
Expand Down Expand Up @@ -113,5 +113,5 @@ jobs:
- name: linting typescript
run: npm run lint:ts
if: always()
- name: linting css
run: npm run lint:scss
# - name: linting css
# run: npm run lint:scss
226 changes: 226 additions & 0 deletions hs_err_pid9532.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 264241152 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3771), pid=9532, tid=10260
#
# JRE version: (17.0.7+10) (build )
# Java VM: OpenJDK 64-Bit Server VM (17.0.7+10-b829.16, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#

--------------- S U M M A R Y ------------

Command Line: externalApp.nativessh.NativeSshAskPassApp Enter passphrase for key '/c/Users/Sergey/.ssh/id_rsa':

Host: 12th Gen Intel(R) Core(TM) i5-12450H, 12 cores, 15G, Windows 11 , 64 bit Build 22000 (10.0.22000.2538)
Time: Wed Jan 17 12:11:42 2024 RTZ 2 (s 11 , 64 bit Build 22000 (10.0.22000.2538) elapsed time: 0.006475 seconds (0d 0h 0m 0s)

--------------- T H R E A D ---------------

Current thread (0x00000193d005bf50): JavaThread "Unknown thread" [_thread_in_vm, id=10260, stack(0x0000001c57000000,0x0000001c57100000)]

Stack: [0x0000001c57000000,0x0000001c57100000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x683cca]
V [jvm.dll+0x8424b4]
V [jvm.dll+0x843cae]
V [jvm.dll+0x844313]
V [jvm.dll+0x24ad2f]
V [jvm.dll+0x680b99]
V [jvm.dll+0x67526a]
V [jvm.dll+0x30b3cb]
V [jvm.dll+0x312876]
V [jvm.dll+0x36221e]
V [jvm.dll+0x36244f]
V [jvm.dll+0x2e14a8]
V [jvm.dll+0x2e2414]
V [jvm.dll+0x814441]
V [jvm.dll+0x36ffe1]
V [jvm.dll+0x7f3a1c]
V [jvm.dll+0x3f305f]
V [jvm.dll+0x3f4b91]
C [jli.dll+0x528f]
C [ucrtbase.dll+0x26c0c]
C [KERNEL32.DLL+0x153e0]
C [ntdll.dll+0x485b]


--------------- P R O C E S S ---------------

Threads class SMR info:
_java_thread_list=0x00007ffaf877b098, length=0, elements={
}

Java Threads: ( => current thread )

Other Threads:
0x00000193d00c8790 GCTaskThread "GC Thread#0" [stack: 0x0000001c57100000,0x0000001c57200000] [id=13304]
0x00000193d00d9250 ConcurrentGCThread "G1 Main Marker" [stack: 0x0000001c57200000,0x0000001c57300000] [id=3864]
0x00000193d00d9c60 ConcurrentGCThread "G1 Conc#0" [stack: 0x0000001c57300000,0x0000001c57400000] [id=20692]

[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffaf7f32087]

VM state: not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00000193d00573c0] Heap_lock - owner thread: 0x00000193d005bf50

Heap address: 0x0000000704800000, size: 4024 MB, Compressed Oops mode: Zero based, Oop shift amount: 3

CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 0.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0

GC Precious Log:
<Empty>

Heap:
garbage-first heap total 0K, used 0K [0x0000000704800000, 0x0000000800000000)
region size 2048K, 0 young (0K), 0 survivors (0K)

[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffaf831df59]

GC Heap History (0 events):
No events

Dll operation events (1 events):
Event: 0.003 Loaded shared library C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin\java.dll

Deoptimization events (0 events):
No events

Classes unloaded (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (0 events):
No events

VM Operations (0 events):
No events

Events (0 events):
No events


Dynamic libraries:
0x00007ff7a9980000 - 0x00007ff7a998a000 C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin\java.exe
0x00007ffb6d100000 - 0x00007ffb6d309000 C:\Windows\SYSTEM32\ntdll.dll
0x00007ffb6c9f0000 - 0x00007ffb6caad000 C:\Windows\System32\KERNEL32.DLL
0x00007ffb6a7f0000 - 0x00007ffb6ab74000 C:\Windows\System32\KERNELBASE.dll
0x00007ffb6a5e0000 - 0x00007ffb6a6f1000 C:\Windows\System32\ucrtbase.dll
0x00007ffb59460000 - 0x00007ffb59477000 C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin\jli.dll
0x00007ffb3b460000 - 0x00007ffb3b47b000 C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin\VCRUNTIME140.dll
0x00007ffb6cee0000 - 0x00007ffb6d08d000 C:\Windows\System32\USER32.dll
0x00007ffb6a7c0000 - 0x00007ffb6a7e6000 C:\Windows\System32\win32u.dll
0x00007ffb4a560000 - 0x00007ffb4a805000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22000.120_none_9d947278b86cc467\COMCTL32.dll
0x00007ffb6cbd0000 - 0x00007ffb6cc73000 C:\Windows\System32\msvcrt.dll
0x00007ffb6cd90000 - 0x00007ffb6cdba000 C:\Windows\System32\GDI32.dll
0x00007ffb6ab80000 - 0x00007ffb6ac9e000 C:\Windows\System32\gdi32full.dll
0x00007ffb6ad10000 - 0x00007ffb6adad000 C:\Windows\System32\msvcp_win.dll
0x00007ffb6cdc0000 - 0x00007ffb6cdf1000 C:\Windows\System32\IMM32.DLL
0x00007ffb65d30000 - 0x00007ffb65d3c000 C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin\vcruntime140_1.dll
0x00007ffb180a0000 - 0x00007ffb1812d000 C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin\msvcp140.dll
0x00007ffaf7c40000 - 0x00007ffaf88ae000 C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin\server\jvm.dll
0x00007ffb6cab0000 - 0x00007ffb6cb5e000 C:\Windows\System32\ADVAPI32.dll
0x00007ffb6cce0000 - 0x00007ffb6cd7e000 C:\Windows\System32\sechost.dll
0x00007ffb6c3b0000 - 0x00007ffb6c4d1000 C:\Windows\System32\RPCRT4.dll
0x00007ffb66380000 - 0x00007ffb66389000 C:\Windows\SYSTEM32\WSOCK32.dll
0x00007ffb59fc0000 - 0x00007ffb59fca000 C:\Windows\SYSTEM32\VERSION.dll
0x00007ffb6b3e0000 - 0x00007ffb6b44f000 C:\Windows\System32\WS2_32.dll
0x00007ffb606a0000 - 0x00007ffb606d3000 C:\Windows\SYSTEM32\WINMM.dll
0x00007ffb69590000 - 0x00007ffb695a8000 C:\Windows\SYSTEM32\kernel.appcore.dll
0x00007ffb65d20000 - 0x00007ffb65d2a000 C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin\jimage.dll
0x00007ffb67fd0000 - 0x00007ffb681f1000 C:\Windows\SYSTEM32\DBGHELP.DLL
0x00007ffb429c0000 - 0x00007ffb429f1000 C:\Windows\SYSTEM32\dbgcore.DLL
0x00007ffb6a560000 - 0x00007ffb6a5df000 C:\Windows\System32\bcryptPrimitives.dll
0x00007ffb61240000 - 0x00007ffb61265000 C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin\java.dll

dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin;C:\Windows\SYSTEM32;C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22000.120_none_9d947278b86cc467;C:\Program Files\JetBrains\WebStorm 2023.1\jbr\bin\server

VM Arguments:
java_command: externalApp.nativessh.NativeSshAskPassApp Enter passphrase for key '/c/Users/Sergey/.ssh/id_rsa':
java_class_path (initial): C:/Program Files/JetBrains/WebStorm 2023.1/lib/externalProcess-rt.jar
Launcher Type: SUN_STANDARD

[Global flags]
intx CICompilerCount = 4 {product} {ergonomic}
uint ConcGCThreads = 3 {product} {ergonomic}
uint G1ConcRefinementThreads = 10 {product} {ergonomic}
size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 264241152 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 4219469824 {product} {ergonomic}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 5839372 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122909434 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122909434 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 4219469824 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}

Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags

Environment Variables:
PATH=C:\Program Files\Git\mingw64\libexec\git-core;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Sergey\bin;C:\Python310\Scripts;C:\Python310;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\ProgramData\chocolatey\bin;C:\Program Files\PostgreSQL\15\bin;C:\Users\Sergey\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Users\Sergey\AppData\Local\Microsoft\WindowsApps;C:\Users\������\AppData\Roaming\npm;C:\Users\Sergey\AppData\Roaming\npm;C:\Program Files\JetBrains\WebStorm 2023.1\bin;D:\Program files\Microsoft VS Code\bin;C:\Users\Sergey\AppData\Roaming\nvm;C:\Program Files\nodejs
USERNAME=Sergey
DISPLAY=:0.0
LC_ALL=en_US.UTF-8
TERM=xterm-256color
TMPDIR=C:\Users\Sergey\AppData\Local\Temp
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
TMP=C:\Users\Sergey\AppData\Local\Temp
TEMP=C:\Users\Sergey\AppData\Local\Temp


JNI global refs:

[error occurred during error reporting (JNI global references), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffaf7cf7fc0]


--------------- S Y S T E M ---------------

OS:
Windows 11 , 64 bit Build 22000 (10.0.22000.2538)
OS uptime: 2 days 3:46 hours
Hyper-V role detected

CPU: total 12 (initial active 12) (6 cores per cpu, 2 threads per core) family 6 model 154 stepping 3 microcode 0x41b, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb, hv

Memory: 4k page, system-wide physical 16091M (1014M free)
TotalPageFile size 26436M (AvailPageFile size 44M)
current process WorkingSet (physical memory assigned to process): 10M, peak: 10M
current process commit charge ("private bytes"): 64M, peak: 316M

vm_info: OpenJDK 64-Bit Server VM (17.0.7+10-b829.16) for windows-amd64 JRE (17.0.7+10-b829.16), built on 2023-06-02 by "builduser" with MS VC++ 16.10 / 16.11 (VS2019)

END.
Empty file.
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
import { memo } from 'react';
import { classNames } from '@/shared/lib/classNames/classNames';
import cls from './ScrollToTopButton.module.scss';
import { Icon } from '@/shared/ui/redesigned/Icon';
import CircleIcon from '@/shared/assets/icons/circle-up.svg';
import { memo } from "react";
import { classNames } from "@/shared/lib/classNames/classNames";
import { Icon } from "@/shared/ui/redesigned/Icon";
import CircleIcon from "@/shared/assets/icons/circle-up.svg";

interface ScrollToTopButtonProps {
className?: string;
className?: string;
}

export const ScrollToTopButton = memo((props: ScrollToTopButtonProps) => {
const { className } = props;
const { className } = props;

const onCLick = () => {
window.scrollTo({ top: 0, behavior: 'smooth' });
};
const onCLick = () => {
window.scrollTo({ top: 0, behavior: "smooth" });
};

return (
<Icon
Svg={CircleIcon}
clickable
onClick={onCLick}
width={32}
height={32}
className={classNames(cls.ScrollToTopButton, {}, [className])}
/>
);
return (
<Icon
Svg={CircleIcon}
clickable
onClick={onCLick}
width={32}
height={32}
className={classNames("", {}, [className])}
/>
);
});
2 changes: 1 addition & 1 deletion src/shared/ui/deprecated/StarRating/StarRating.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
}

.normal {
.deprecated_normal {
fill: none;
}

Expand Down
2 changes: 1 addition & 1 deletion src/shared/ui/deprecated/StarRating/StarRating.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const StarRating = memo((props: StarRatingProps) => {
[
currentStarsCount >= starNumber
? cls.hovered
: cls.normal,
: cls.deprecated_normal,
],
),
Svg: StarIcon,
Expand Down

0 comments on commit 543ac3f

Please sign in to comment.