humbleui

jlmr 2024-08-11T14:24:09.467899Z

The example application (started using script/repl.py) often crashes when my Macbook wakes from sleep:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000138812b9c, pid=32382, tid=259
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.19+7 (11.0.19+7) (build 11.0.19+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.19+7 (11.0.19+7, mixed mode, tiered, compressed oops, g1 gc, bsd-aarch64)
# Problematic frame:
# C  [libskija.dylib+0x12b9c]  Java_io_github_humbleui_skija_TextLine__1nGetTextBlob+0x0
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/ronde001/Code/humbleui/hs_err_pid32382.log
Compiled method (c2) 22777117 5225       4       io.github.humbleui.ui.Label::valAt (328 bytes)
 total in heap  [0x0000000131c4c610,0x0000000131c4cd98] = 1928
 relocation     [0x0000000131c4c780,0x0000000131c4c7d0] = 80
 main code      [0x0000000131c4c800,0x0000000131c4ca40] = 576
 stub code      [0x0000000131c4ca40,0x0000000131c4caa0] = 96
 oops           [0x0000000131c4caa0,0x0000000131c4cae8] = 72
 metadata       [0x0000000131c4cae8,0x0000000131c4cb00] = 24
 scopes data    [0x0000000131c4cb00,0x0000000131c4cbc8] = 200
 scopes pcs     [0x0000000131c4cbc8,0x0000000131c4cd78] = 432
 dependencies   [0x0000000131c4cd78,0x0000000131c4cd80] = 8
 handler table  [0x0000000131c4cd80,0x0000000131c4cd98] = 24
Compiled method (c2) 22777118  838       4       clojure.lang.PersistentHashMap::valAt (7 bytes)
 total in heap  [0x000000013130f410,0x000000013130f738] = 808
 relocation     [0x000000013130f580,0x000000013130f5a0] = 32
 main code      [0x000000013130f5c0,0x000000013130f640] = 128
 stub code      [0x000000013130f640,0x000000013130f690] = 80
 oops           [0x000000013130f690,0x000000013130f698] = 8
 metadata       [0x000000013130f698,0x000000013130f6b0] = 24
 scopes data    [0x000000013130f6b0,0x000000013130f6c8] = 24
 scopes pcs     [0x000000013130f6c8,0x000000013130f718] = 80
 dependencies   [0x000000013130f718,0x000000013130f720] = 8
 handler table  [0x000000013130f720,0x000000013130f738] = 24
#
# If you would like to submit a bug report, please visit:
#   
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Not sure if it’s relevant, but I thought it best to report at least.

2024-08-28T12:34:35.827499Z

I'm getting a core dump when moving a humble UI window from my main (external) monitor to my laptop monitor (macbook).

Niki 2024-08-28T12:38:05.098489Z

I should get back to Humble this week! I’ll take a look

1
❤️ 1
fricze 2024-08-28T15:39:57.179069Z

also seen this error when moving app between monitors

😅 1
jlmr 2024-08-15T16:08:15.723449Z

If I can do something to help with debugging let me know!

Niki 2024-08-12T08:33:17.472749Z

Thanks, I should definitely look into that. I had same crashes, but thought it was related to external monitor. Might be sleeping though

fricze 2024-08-30T06:59:19.450459Z

will check in a moment