You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
R crashes if calling duck-ui with an overwritten connection object #1147
First create a duckdb connection and open the duck-ui
con <- DBI::dbConnect(duckdb::duckdb())
DBI::dbExecute(con, "CALL start_ui()")
close the browser and overwrite / create a new connection to duckdb
con <- DBI::dbConnect(duckdb::duckdb())
Now call the duckui again
DBI::dbExecute(con, "CALL start_ui()")
In positron I can get this error message / log
2025-05-06 23:37:53.749 [info] ** Begin kernel log for session R 4.5.0 (r-efa4682b) at 5/6/2025, 11:37:53 PM **
Streaming kernel log file: C:\Users\XXX\AppData\Local\Temp\kernel-G7luwG\kernel.log
terminate called after throwing an instance of 'duckdb::Exception'
what(): {"exception_type":"Settings","exception_message":"Setting "ui_polling_interval" not found"}
terminate called after throwing an instance of 'duckdb::Exception'
This will also crash in Rstudio.
I don't know if this is a duckdb-r issue, a duckdb issue or simply a user issue 😅
Activity
krlmlr commentedon Sep 7, 2025
Thanks. Can't reproduce with duckdb 1.3.2, R 4.4.3, latest RStudio on macOS. Is this still a problem?
krlmlr commentedon Aug 9, 2026
A
gc()was needed to reproduce. This seems to be a duckdb-ui problem, please open an issue at https://github.com/duckdb/duckdb-ui. Workarounds:ui_polling_intervalsetting (0.284 seconds)Created on 2026-08-09 with reprex v2.1.1
docs(triage): Review the #2522 reprexes against current main