[
https://issues.apache.org/jira/browse/FLINK-36297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149795#comment-18149795
]
Martijn Visser commented on FLINK-36297:
----------------------------------------
Also on release-1.20, in three of the last six Azure nightlies, each in a
different core leg:
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=81755&view=logs&j=675bf62c-8558-587e-2555-dcad13acefb5
(2026-11-19, test_cron_jdk17, JDK 17)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=81804&view=logs&j=0e7be18f-84f2-53f0-a32d-4a5e4a174679
(2026-11-20, test_cron_adaptive_scheduler, JDK 8)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=81866&view=logs&j=d89de3df-4600-5585-dadc-9bbc9a5e661c
(2026-11-21, test_cron_hadoop313, JDK 8)
{code}
# SIGSEGV (0xb) at pc=0x00007f8ece242197, pid=20297, tid=26512
# Problematic frame:
# C [librocksdbjni-linux64.so+0x242197] Java_org_rocksdb_RocksDB_write0+0x17
Aborted (core dumped)
[ERROR] Process Exit Code: 134
[ERROR] Crashed tests:
[ERROR]
org.apache.flink.state.changelog.ChangelogDelegateEmbeddedRocksDBStateBackendTest
{code}
On 1.20 the frame is in the RocksDB write path (also
WriteThread::EnterAsBatchGroupLeader and std::string::compare) instead of
WriteBatch_getDataSize. Each crash came 265 to 270 s after
ChangelogStateBackendMigrationTest started. It started with the 1.20 nightly of
2026-11-06, on the same commit that passed the day before, and hit 10 of the 24
1.20 Azure nightlies since 2026-10-29; GHA did not hit it. release-1.20 does
not have FLINK-40921.
> SIGSEGV caused CI failure
> -------------------------
>
> Key: FLINK-36297
> URL: https://issues.apache.org/jira/browse/FLINK-36297
> Project: Flink
> Issue Type: Bug
> Components: Runtime / State Backends
> Affects Versions: 2.0-preview, 2.2.2, 1.20.6, 2.3.1, 2.4.0
> Reporter: Matthias Pohl
> Assignee: Zakelly Lan
> Priority: Critical
> Labels: pull-request-available, test-stability
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=62146&view=logs&j=0e7be18f-84f2-53f0-a32d-4a5e4a174679&t=7c1d86e3-35bd-5fd5-3b7c-30c126a78702&l=11876
> {code}
> Sep 15 02:53:42 02:53:42.535 [WARNING] Tests run: 145, Failures: 0, Errors:
> 0, Skipped: 13, Time elapsed: 3.133 s -- in
> org.apache.flink.state.changelog.ChangelogDelegateFileStateBackendTest
> Sep 15 02:53:44 02:53:44.620 [WARNING] Tests run: 96, Failures: 0, Errors: 0,
> Skipped: 9, Time elapsed: 9.998 s -- in
> org.apache.flink.state.changelog.ChangelogStateBackendMigrationTest
> Sep 15 02:57:58 #
> Sep 15 02:57:58 # A fatal error has been detected by the Java Runtime
> Environment:
> Sep 15 02:57:58 #
> Sep 15 02:57:58 # SIGSEGV (0xb) at pc=0x00007f7c539b7c84, pid=21641,
> tid=0x00007f7c549ff700
> Sep 15 02:57:58 #
> Sep 15 02:57:58 # JRE version: OpenJDK Runtime Environment (8.0_292-b10)
> (build 1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10)
> Sep 15 02:57:58 # Java VM: OpenJDK 64-Bit Server VM (25.292-b10 mixed mode
> linux-amd64 compressed oops)
> Sep 15 02:57:58 # Problematic frame:
> Sep 15 02:57:58 # C [librocksdbjni-linux64.so+0x31bc84]
> Java_org_rocksdb_WriteBatch_getDataSize+0x4
> Sep 15 02:57:58 #
> Sep 15 02:57:58 # Core dump written. Default location:
> /__w/1/s/flink-state-backends/flink-statebackend-changelog/core or core.21641
> Sep 15 02:57:58 #
> Sep 15 02:57:58 # An error report file with more information is saved as:
> Sep 15 02:57:58 #
> /__w/1/s/flink-state-backends/flink-statebackend-changelog/hs_err_pid21641.log
> Sep 15 02:57:58 Compiled method (nm) 265136 7875 n 0
> org.rocksdb.WriteBatch::getDataSize (native)
> Sep 15 02:57:58 total in heap [0x00007f7c8dff9e50,0x00007f7c8dffa1a0] = 848
> Sep 15 02:57:58 relocation [0x00007f7c8dff9f78,0x00007f7c8dff9fc0] = 72
> Sep 15 02:57:58 main code [0x00007f7c8dff9fc0,0x00007f7c8dffa198] = 472
> Sep 15 02:57:58 oops [0x00007f7c8dffa198,0x00007f7c8dffa1a0] = 8
> Sep 15 02:57:58 Compiled method (c1) 265136 7876 3
> org.apache.flink.contrib.streaming.state.RocksDBWriteBatchWrapper::ensureNotCancelled
> (27 bytes)
> Sep 15 02:57:58 total in heap [0x00007f7c8dff9490,0x00007f7c8dff9a88] = 1528
> Sep 15 02:57:58 relocation [0x00007f7c8dff95b8,0x00007f7c8dff9618] = 96
> Sep 15 02:57:58 main code [0x00007f7c8dff9620,0x00007f7c8dff9880] = 608
> Sep 15 02:57:58 stub code [0x00007f7c8dff9880,0x00007f7c8dff9938] = 184
> Sep 15 02:57:58 oops [0x00007f7c8dff9938,0x00007f7c8dff9940] = 8
> Sep 15 02:57:58 metadata [0x00007f7c8dff9940,0x00007f7c8dff9958] = 24
> Sep 15 02:57:58 scopes data [0x00007f7c8dff9958,0x00007f7c8dff99c8] = 112
> Sep 15 02:57:58 scopes pcs [0x00007f7c8dff99c8,0x00007f7c8dff9a68] = 160
> Sep 15 02:57:58 dependencies [0x00007f7c8dff9a68,0x00007f7c8dff9a70] = 8
> Sep 15 02:57:58 nul chk table [0x00007f7c8dff9a70,0x00007f7c8dff9a88] = 24
> Sep 15 02:57:58 #
> Sep 15 02:57:58 # If you would like to submit a bug report, please visit:
> Sep 15 02:57:58 # http://bugreport.java.com/bugreport/crash.jsp
> Sep 15 02:57:58 # The crash happened outside the Java Virtual Machine in
> native code.
> Sep 15 02:57:58 # See problematic frame for where to report the bug.
> Sep 15 02:57:58 #
> Aborted (core dumped)
> {code}
> with 134 exit code:
> {code}
> Sep 15 02:57:59 02:57:59.692 [ERROR] Process Exit Code: 134
> Sep 15 02:57:59 02:57:59.692 [ERROR] Crashed tests:
> Sep 15 02:57:59 02:57:59.692 [ERROR]
> org.apache.flink.state.changelog.ChangelogDelegateEmbeddedRocksDBStateBackendTest
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:456)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:358)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:296)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1240)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1089)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:905)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:370)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:351)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:215)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:171)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:163)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:294)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
> Sep 15 02:57:59 02:57:59.692 [ERROR] at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
> {code}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)