Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Convert JVM crashed #2285

Open
liucq200518 opened this issue Sep 25, 2024 · 1 comment
Open

Audio Convert JVM crashed #2285

liucq200518 opened this issue Sep 25, 2024 · 1 comment

Comments

@liucq200518
Copy link

when start and stop very nearly

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffa13e8e8be, pid=8616, tid=19984

JRE version: OpenJDK Runtime Environment Corretto-21.0.4.7.1 (21.0.4+7) (build 21.0.4+7-LTS)

Java VM: OpenJDK 64-Bit Server VM Corretto-21.0.4.7.1 (21.0.4+7-LTS, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)

Problematic frame:

C [swresample-4.dll+0xe8be]

No core dump will be written. Minidumps are not enabled by default on client versions of Windows

If you would like to submit a bug report, please visit:

https://github.com/corretto/corretto-21/issues/

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

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

Command Line: -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dmanagement.endpoints.jmx.exposure.include=* -javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2023.2.5\lib\idea_rt.jar=57812:C:\Program Files\JetBrains\IntelliJ IDEA 2023.2.5\bin -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 com.hushan.biz.DemoApplication

Host: Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz, 8 cores, 31G, Windows 10 , 64 bit Build 19041 (10.0.19041.1348)
Time: Wed Sep 25 10:43:15 2024 Windows 10 , 64 bit Build 19041 (10.0.19041.1348) elapsed time: 32.635681 seconds (0d 0h 0m 32s)

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

Current thread (0x000002307679e2b0): JavaThread "MediaAudioRecorder-731-0" [_thread_in_native, id=19984, stack(0x000000a3b2900000,0x000000a3b2a00000) (1024K)]

Stack: [0x000000a3b2900000,0x000000a3b2a00000], sp=0x000000a3b29fea08, free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [swresample-4.dll+0xe8be]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 15326 org.bytedeco.ffmpeg.global.swresample.swr_convert(Lorg/bytedeco/ffmpeg/swresample/SwrContext;Lorg/bytedeco/javacpp/PointerPointer;ILorg/bytedeco/javacpp/PointerPointer;I)I (0 bytes) @ 0x0000023012cadac5 [0x0000023012cada20+0x00000000000000a5]
J 15620 c1 org.bytedeco.javacv.FFmpegFrameRecorder.recordSamples(II[Ljava/nio/Buffer;)Z (1878 bytes) @ 0x00000230134a9a94 [0x00000230134a7760+0x0000000000002334]
j org.bytedeco.javacv.FFmpegFrameRecorder.record(Lorg/bytedeco/javacv/Frame;I)V+104
j org.bytedeco.javacv.FFmpegFrameRecorder.record(Lorg/bytedeco/javacv/Frame;)V+30
j com.hushan.audio.recorder.MediaAudioRecorder.run()V+347
j java.util.concurrent.CompletableFuture$AsyncRun.run()V+36 [email protected]
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92 [email protected]
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 [email protected]
J 12994 c1 java.lang.Thread.run()V [email protected] (23 bytes) @ 0x0000023013a023dc [0x0000023013a02340+0x000000000000009c]
v ~StubRoutines::call_stub 0x00000230124e100d

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x00000230787f3cc4

@liucq200518
Copy link
Author

<ffmpeg-platform.version>6.1.1-1.5.10</ffmpeg-platform.version>
<javacv-platform.version>1.5.10</javacv-platform.version>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants