[rkward:bugs] #138 NEEDINFO: Rkward crashes when calculating NMDS

Thomas Friedrichsmeier tfry at users.sf.net
Tue Jan 5 13:58:15 UTC 2016


 > but still it shouldn't crash whole Rkward, I think...

True. But as far as I understood your report, so far, you are not _technically_ seeing a crash, but rather "only" the message that the R backend has become unavailable.

We can't really do anything about the latter: If package code crashes in the R backend, that means the backend is crahed. (This is more than just a regular error, it's an undefined execution state). What we _could_ do better, is to allow the R backend to be restarted, without having to close the entire session. That's on our TODO list, but it's not something entirely trivial to implement.

Please let me know, if you are actually seeing a crash of the RKWard frontend.


---

** [bugs:#138] NEEDINFO: Rkward crashes when calculating NMDS**

**Status:** open
**Group:** CRASH
**Created:** Tue May 19, 2015 02:43 PM UTC by Vojtěch Zeisek
**Last Updated:** Tue Jan 05, 2016 01:36 PM UTC
**Owner:** nobody


---Problem description---
I encountered the error message quoted below. Additionally, I saw the following symptoms:
###Please fill in (if applicable)###

What - in detail - did you do directly before you encountered this problem?

library(vegan)
metab.pos.root1.concat.mrbayes.nmds <- metaMDS(comm=metab.pos.root1.concat.mrbayes, distance="manhattan", k=2, trymax=10000, engine="monoMDS", autotransform=FALSE, noshare=FALSE, stepacross=FALSE, wascores=FALSE, expand=FALSE, plot=TRUE)
# metab.pos.root1.concat.mrbayes has over 14000 columns and 18 rows

When you try to repeat the above, does the problem occur again (no, sometimes, always)?
Always.

If applicable: When doing the same thing in an R session outside of RKWard, do you see the same problem?
RStudio and R console do not produce any output, they just hang.

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?
No

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)?
https://build.opensuse.org/package/show?project=devel%3Alanguages%3AR%3Areleased&package=rkward

---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.6.3
KDE version (runtime): 4.14.6
KDE version (compile time): 4.14.2
Qt build key: x86_64 linux g++-4 full-config
Local KDE directory: /home/vojta/.kde4/
RKWard storage directory: /home/vojta/.rkward/
Backend version (as known to the frontend): 3.2.0

Debug message file (this may contain relevant diagnostic output in case of trouble):
/tmp/rkward.frontend.vrA671
- backend not available or rk.sessionInfo() canceled -
$ cat /tmp/rkward.frontend.vrA671
Object::connect: No such signal KateBuffer::respellCheckBlock(KateDocument*,int,int)
Assert 'false' failed at /home/abuild/rpmbuild/BUILD/rkward-0.6.3/rkward/misc/rkstandardicons.cpp - function iconForWindow line 171
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.addin.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.presentation.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.presentation.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12" 
rkward(671) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slide.macroEnabled.12" 
rkward(671)/kparts KParts::StatusBarExtension::removeStatusBarItem: StatusBarExtension::removeStatusBarItem. Widget not found :  QObject(0x0)  
rkward(671) KDirWatch::removeFile: doesn't know "" 
Object::connect: No such signal KateBuffer::respellCheckBlock(KateDocument*,int,int)
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Object::connect: No such signal KateBuffer::respellCheckBlock(KateDocument*,int,int)
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Object::connect: No such signal KateBuffer::respellCheckBlock(KateDocument*,int,int)
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
Assert 'devices.contains (devnum)' failed at /home/abuild/rpmbuild/BUILD/rkward-0.6.3/rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp - function closeDevice line 119
QCoreApplication::postEvent: Unexpected null receiver
rkward(671)/kparts KParts::StatusBarExtension::removeStatusBarItem: StatusBarExtension::removeStatusBarItem. Widget not found :  QObject(0x0)  
QProcess: Destroyed while process is still running.


---

Sent from sourceforge.net because rkward-devel at kde.org is subscribed to https://sourceforge.net/p/rkward/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/rkward/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20160105/5e3a20e5/attachment-0001.html>


More information about the rkward-devel mailing list