[RQt-devel] another crash
Deepayan Sarkar
deepayan.sarkar at gmail.com
Wed Nov 18 10:19:28 CET 2009
On Wed, Nov 18, 2009 at 1:46 PM, Deepayan Sarkar
<deepayan.sarkar at gmail.com> wrote:
> Any idea what's going wrong here?
>
> ### Just code:
>
> library(qtbase)
>
> gscene <- Qt$QGraphicsScene()
> rtxt <- gscene$addText("some text")
> rtxt
> (rtxt$toPlainText()) ## fine
And as a confirmation that the <QList> thing is not a problem, I get:
> item0 <- gscene$itemAt(0, 0)
> item0
<environment: 0x9e21428>
attr(,"class")
[1] "QGraphicsTextItem" "QObject" "QGraphicsItem"
[4] "UserDefinedDatabase" "environment"
> item0$toPlainText()
*** caught segfault ***
address 0x20, cause 'memory not mapped'
Traceback:
1: .Call(qt_qinvoke, x, method, FALSE, list(...))
2: qinvoke(<environment>, "toPlainText", ...)
3: item0$toPlainText()
More information about the Qtinterfaces-devel
mailing list