[rkward] [Bug 458626] New: Crash on loading qtbase library

Tomas Sieger bugzilla_noreply at kde.org
Fri Sep 2 07:55:01 BST 2022


https://bugs.kde.org/show_bug.cgi?id=458626

            Bug ID: 458626
           Summary: Crash on loading qtbase library
           Product: rkward
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: R Console
          Assignee: rkward-devel at kde.org
          Reporter: tomas.sieger at seznam.cz
  Target Milestone: ---

SUMMARY
rkward crashes wih the following error
```
Error: package or namespace load failed for ‘qtbase’:
 .onLoad failed in loadNamespace() for 'qtbase', details:
  call: NULL
  error: C stack usage  45899398072748 is too close to the limit
Error: 
```
when loading the qtbase library

STEPS TO REPRODUCE
1. run `library(qtbase)` in the R console within rkward

OBSERVED RESULT
a window pops up saying "R engine has died"
Connection closed unexpectedly
Last error was: QLocalSocket: Remote closed

EXPECTED RESULT
qtbase library loaded ;-)

SOFTWARE/OS VERSIONS
Linux: fedora 36 workstation edition, 64b, gnome 42.4
Qt Version: 4.8.7

ADDITIONAL INFORMATION
---Problem description---

What - in detail - did you do directly before you encountered this problem?
I launched a fresh rkward session.

When you try to repeat the above, does the problem occur again (no, sometimes,
always)?
100% replicable

If applicable: When doing the same thing in an R session outside of RKWard, do
you see the same problem?
Loading qtbase works in native R session (text console) as well as e.g. when
run from within rstudio.

Do you have any further information that might help us to track this problem
down? In particular, if applicable, can you provide sample data and sample R
code to reproduce this problem?
qtbase library: https://github.com/ggobi/qtbase
The installation can be tricky, I suggest building against qt4 using this code:
```
 if (!require('devtools')) install.packages('devtools')
 library(devtools)
 install_github('ggobi/qtbase at qt4')
```

RKWard is available in many different packagings, and sometimes problems are
specific to one method of installation. How did you install RKWard (which
file(s) did you download)?
I'm using rpm rkward-0.7.2-6.fc36.x86_64, but I encountered the same problem
also when I built rkward from source some time ago.


---Error Message---
Message code: r_engine_has_died
Connection closed unexpectedly. Last error was: QLocalSocket: Remote closed
The R backend will be shut down immediately. This means, you can not use any
more functions that rely on it. I.e. you can do hardly anything at all, not
even save the workspace (but if you're lucky, R already did that). What you can
do, however, is save any open command-files, the output, or copy data out of
open data editors. Quit RKWard after that. Sorry!

---Session Info---
RKWard version: 0.7.2
KDE Frameworks version (runtime): 5.97.0
KDE Frameworks version (compile time): 5.90.0
Qt version (runtime): 5.15.5
Qt version (compile time): 5.15.2
Using QtWebKit for HTML rendering
Local config directory: /home/sieger/.config
RKWard storage directory: /home/sieger/.rkward/
Backend version (as known to the frontend): 4.1.3

Debug message file (this may contain relevant diagnostic output in case of
trouble):
/tmp/rkward.frontend contains:
```
Assert 'false' failed at
/builddir/build/BUILD/rkward-0.7.2/rkward/misc/rkstandardicons.cpp - function
iconForWindow line 192
QObject::connect: No such signal KatePluginToolWindow::toolVisibleChanged(bool)
Shortcut for action  "output_refresh" "Reload" set with QAction::setShortcut()!
Use KActionCollection::setDefaultShortcut(s) instead.
```
- backend not available or rk.sessionInfo() canceled -

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the rkward-devel mailing list