Skip to content

[Bug] IOS crash with "runtime exception" #5482

Description

@ddyer0

Summary

This is a new variant of the same dictionary loading test I've been using to generate complaints.
This variant reduces the "small object" count to nearly zero, and instead uses a single scratch oject
to fill a hash table, which serializes the arguments into a bulk storage scheme.

This runs handily on the simulator and android. The same code running in my real app seems to
complete successfully, but the loading thread crashes with a "runtime exception" error, or sometimes
the app hard crashes. This transcription of the code to a test program just never completes, it
disappears during the first "put" operation.

I'm doing something new and unusual with interfaces and default methods, so it's possible this is
a code generation strategy problem. See the interface BulkableEntry

Minimal reproducer

use this test program and the same dictionary file as before.

Dtest.java

Steps to reproduce

just run it

Expected and observed behavior

should finish with a "all done" message

Codename One version

master

JDK version

n/a

Target environment

IOS ipad

Last known working version

No response

Logs and diagnostics

Screenshots or recordings

No response

Report checks

  • I searched existing issues and discussions for this behavior.
  • The reproducer contains no credentials, signing keys, or private customer data.
  • I understand that triage is not a commitment to a fix date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions