[RQt-devel] Crash with qrepl()

Deepayan Sarkar deepayan.sarkar at gmail.com
Wed Dec 2 15:25:17 CET 2009


On Wed, Dec 2, 2009 at 7:02 PM, Michael Lawrence <lawremi at gmail.com> wrote:
>
>
> 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.

Isn't happening for me. Can anyone else reproduce? Does this happen
always, or just some of the time?

P.S.: Ben, I had to manually approve your mail as you are a
non-member. I've added you to the "approved senders" list, but also
consider subscribing to the list.

>
>>
>> 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
>
>
> _______________________________________________
> 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
>
>


More information about the Qtinterfaces-devel mailing list