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

UI froze when opening settings #3230

Closed
vanniktech opened this issue May 13, 2022 · 3 comments
Closed

UI froze when opening settings #3230

vanniktech opened this issue May 13, 2022 · 3 comments

Comments

@vanniktech
Copy link
Contributor

vanniktech commented May 13, 2022

SQLDelight Version

2.0.0-alpha02

IDE Version

Android Eel

Dialect

SQLite

Describe the Bug

Opened the settings and then AS froze.

threadDumps-freeze-20220512-111722-AI-213.7172.25.2211.8563311-5sec.zip

From: https://issuetracker.google.com/issues/232348779

Stacktrace

"AWT-EventQueue-0" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE
 (in native)
	at java.base@11.0.13/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
	at java.base@11.0.13/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929)
	at java.base@11.0.13/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1519)
	at java.base@11.0.13/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848)
	at java.base@11.0.13/java.net.InetAddress.getAllByName0(InetAddress.java:1509)
	at java.base@11.0.13/java.net.InetAddress.getLocalHost(InetAddress.java:1641)
	at com.bugsnag.callbacks.DeviceCallback.lookupHostname(DeviceCallback.java:44)
	at com.bugsnag.callbacks.DeviceCallback.getHostnameValue(DeviceCallback.java:22)
	at com.bugsnag.callbacks.DeviceCallback.initializeCache(DeviceCallback.java:52)
	at com.bugsnag.Configuration.<init>(Configuration.java:58)
	at com.bugsnag.Bugsnag.<init>(Bugsnag.java:92)
	at app.cash.sqldelight.intellij.SqlDelightErrorHandler.<init>(SqlDelightErrorHandler.kt:32)
...
@AlecKazakova
Copy link
Collaborator

this is the same as the other freeze you saw - bugsnag initializing in some native java stuff

@vanniktech
Copy link
Contributor Author

Can't we somehow work around it? Or at least report it to bugsnag.

@vanniktech
Copy link
Contributor Author

Not giving up yet: bugsnag/bugsnag-java#176

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