[RQt-devel] Crash with qrepl()

Michael Lawrence lawremi at gmail.com
Wed Dec 2 14:32:10 CET 2009


On Tue, Dec 1, 2009 at 9:51 PM, Ben Goodrich <bgokgm at googlemail.com> wrote:

> Hi,
>
> I just started looking into this project. I have an R package that
> currently does some GUI stuff with RGtk2, and in my development
> version I am switching to tcltk,


Just wondering, why did you decide to move to tcltk?


> but at some point down the line, I
> would like to use Qt.
>

I found one crash with qrepl() that seems to be different from the
> crashes you have been discussing the last couple of days. If you just
> call qrepl(), input a line of R code into the widget, and press
> Control-Return to execute it, you get the crash below.
>
>
I'll let Deepayan look into this first.


> Thanks,
> Ben Goodrich
>
> > library(qtutils); qrepl()
> Loading required package: qtbase
> Cannot handle Moc type 'qreal'
>
> >
>  *** caught segfault ***
> address 0x4, cause 'memory not mapped'
>
> Traceback:
>  1: .Call(qt_qenums, x)
>  2: qenums(cl)
>  3: qsmokeClass(lib, className)
>  4: function () {    class <- qsmokeClass(lib, className)    rm(list =
> className, envir = lib)    assign(className, class, lib)
> lockBinding(className, lib)    class}()
>  5: qinvoke(<environment>, "moveCursor", ...)
>  6: outed$moveCursor(Qt$QTextCursor$End)
>  7: executeCode(ined1$plainText, mode = "input")
>  8: function (checked) {    executeCode(ined1$plainText, mode = "input")}()
>
> Possible actions:
> 1: abort (with core dump, if enabled)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
> _______________________________________________
> Qtinterfaces-devel mailing list
> Qtinterfaces-devel at lists.r-forge.r-project.org
>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20091202/c5b3d61e/attachment.htm 


More information about the Qtinterfaces-devel mailing list