I have installed rkward 0.4.8a on kde 3.5.5. Why does it need start a KDE konsole window to start the application? Is there any way of turning this off in the rkward.desktop file? The Terminal option in that file is already set to false.
Thanks
Murray
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
no, there is no easy way to turn this off, ATM. If it annoys you too much, you can modify the wrapper script (generally installed in /usr[/local]/bin/rkward).
The main reason for the console window is that earlier versions of R refused to run interactively unless launched from a tty. While this has been fixed in recent versions of R, we still make sure to start a console window for backwards compatibility.
Regards
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your help. I commented out the first few lines and the konsole window is now disabled :-).
Using rkward I have noticed sometimes starting it just hangs on startup. I am using rkward-0.4.9-5.1 on Suse 10.2 with KDE 3.5.5-3.
If you need more info I can run it in debug mode and make the logs available if that helps.
Regards
Murray
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yes, some debug info would be helpful. Either by attaching a debugger when it hangs (if you need instructions for this, write back), or by running rkward with
# rkward --debug-level 5 2> debuglog
(only the last ~200 lines in "debuglog" before the hang will be relevant)
Regards
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK. Here's the log from one hang. I think I saw another hang with a permissions error too. I will post that if I get that again.
Regards
Murray
mtrainer@dev02:~> tail -200 debuglog
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function ~RKStructureGetter line 52
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function SEXPToRData line 545
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function ~RData line 32
Trace: rdata.cpp - function discardData line 60
Trace: rdata.cpp - function ~RData line 32
Trace: rdata.cpp - function discardData line 60
done running command
Trace: rcommandstack.cpp - function pop line 105
Trace: rthread.cpp - function doCommand line 143
Trace: rkcommandeditorwindow.cpp - function RKFunctionArgHinter line 347
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkconsole.cpp - function RKConsolePart line 869
Trace: rkmdiwindow.cpp - function initializeActivationSignals line 187
Trace: rkconsole.cpp - function initializeActions line 780
Trace: rkconsole.cpp - function clear line 666
Trace: rkconsole.cpp - function tryNextInBatch line 628
Trace: rkconsole.cpp - function cursorAtTheEnd line 468
Looking for syntax highlighting definition
none
asm6502
avr assembler
gnu assembler
intel x86 (nasm)
mips assembler
picasm
.desktop
apache configuration
cisco
fstab
ini files
kdesvn-buildrc
wine config
4gl
4gl-per
ldif
progress
sql
sql (mysql)
sql (postgresql)
error: /opt/kde3/share/apps/katepart/syntax/logohighlightstyle.es.xml
ahdl
spice
verilog
vhdl
ca
de_de
en_us
en_us
fr_fr
it
nl
pl
pt_br
ru
sl
sr
sr@latn
sv
asp
bibtex
coldfusion
css
doxygen
gnu gettext
html
javadoc
jsp
latex
mab-db
postscript
ruby/rails/rhtml
sgml
txt2tags
vrml
wikimedia
xml
xml (debug)
xslt
abc
alerts
changelog
cmake
css/php
cue sheet
debian changelog
debian control
diff
javascript/php
lilypond
m3u
makefile
music publisher
pov-ray
renderman rib
rpm spec
gdl
matlab
octave
scilab
ti basic
awk
bash
common lisp
euphoria
ferite
javascript
lua
mason
perl
php (html)
php/php
pike
python
quake script
r script
rexx
rkward output
Trace: rksettingsmoduleconsole.cpp - function loadCommandHistory line 133
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkmdiwindow.cpp - function setToolWrapper line 210
Trace: rkworkplace.cpp - function registerToolWindow line 121
Trace: rkworkplace.cpp - function addWindow line 111
Trace: rkworkplace.cpp - function attachWindow line 75
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkworkplace.cpp - function windowActivated line 516
Trace: rkward.cpp - function partAdded line 376
Trace: rkmdiwindow.cpp - function RKMDIWindow line 32
Trace: rcommandreceiver.cpp - function RCommandReceiver line 25
Trace: rkhelpsearchwindow.cpp - function RKHelpSearchWindow line 46
Trace: rkdummypart.cpp - function RKDummyPart line 25
Trace: rkmdiwindow.cpp - function initializeActivationSignals line 187
WARNING: please edit ~/.scim/global and change /DefaultConfigModule to kconfig
Trace: rinterface.cpp - function issueCommand line 87
Trace: rdata.cpp - function RData line 25
Trace: rcommand.cpp - function RCommand line 31
Trace: rcommand.cpp - function addReceiver line 60
Trace: rcommandreceiver.cpp - function addCommand line 55
Trace: rcommand.cpp - function addReceiver line 60
Trace: rcommandreceiver.cpp - function addCommand line 55
Trace: rinterface.cpp - function issueCommand line 214
Trace: rcommandstack.cpp - function issueCommand line 38
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkmdiwindow.cpp - function setToolWrapper line 210
Trace: rkworkplace.cpp - function registerToolWindow line 121
Trace: rkworkplace.cpp - function addWindow line 111
Trace: rkworkplace.cpp - function attachWindow line 75
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkworkplace.cpp - function windowActivated line 516
Trace: rkward.cpp - function partAdded line 376
Trace: rkhtmlwindow.cpp - function initialize line 262
Trace: rcontrolwindow.cpp - function initialize line 85
Trace: rcontrolwindow.cpp - function show line 92
Trace: rcontrolwindow.cpp - function refreshCommands line 203
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function update line 410
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RReadConsole line 162
Trace: rthread.cpp - function handleStandardCallback line 425
Trace: rthread.cpp - function flushOutput line 292
output '
*** caught segfault ***
address 0x1, cause 'memory not mapped'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
'
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Brrr. I have an idea where this comes from, but this would be pretty hard to fix. Does this happen very often? Otherwise, I think I'll ignore this for RKWard 0.4.x.
In RKWard 0.5.0, the code in question is entirely different (and this sort of problem should not occur, there). However, this cannot simply be backported, as it relies heavily on new features in Qt4 (model/view architecture).
Regards
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since this problem occurs very, very rarely, here, it would be nice, if you could do some testing. Could you please download and compile this: http://rkward.sourceforge.net/temp/rkward-0.4.9a-test1.tar.gz , and then report whether the problem persists or not?
Thanks!
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That appears to have fixed the problem. I compiled it on my development machine and it doesn't have the hanging on startup so far. Do you know if the fixed version will appear in rpm format here soon:
> Otherwise I will have to manually copy the required binaries up to our production server.
I guess that's the safest bet at this moment. 0.4.9a is not even released (not sure, when I will make an official version), and before that it usually is not packaged.
Regards
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
rkward.bin should be the only file that has changed compared to 0.4.9. So, if you first install a 0.4.9 rpm and then replace the installed rkward.bin with the one from 0.4.9a-test1, that *should* work.
In total, rkward needs a whole lot of further files. You can roll a binary tarball relatively easily, by simply running
# make install DESTDIR=/some/temporary/path/rkward
# tar -cvzf rkward_binary.tar.gz /some/temporary/path/rkward
then unpack that in "/" on the machine you want to install on (please verify the tar.gz looks correct, first!).
Looks like you are using different versions of R on the compilation and the deployment system. IIRC, that's probably R 2.5.x on the first, and R 2.6.x on the latter.
The safest assumption is that rkward compiled with R 2.x will only work with R 2.x at runtime (though there are some exceptions to this rule).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is the other error - looks like it fails at the same place but slightly different error message.
Murray
mtrainer@dev02:~> tail -200 debuglog
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'writeChar': 0x83b1360, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'write.dcf': 0x83b0650, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'writeLines': 0x83b129c, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'write.table0': 0x83b14e8, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching '%x%': 0x8367cb0, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'xor': 0x83b11a0, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'xpdrows.data.frame': 0x83b10a4, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'zapsmall': 0x83b0fa8, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function ~RKStructureGetter line 52
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function SEXPToRData line 545
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function ~RData line 32
Trace: rdata.cpp - function discardData line 60
Trace: rdata.cpp - function ~RData line 32
Trace: rdata.cpp - function discardData line 60
done running command
Trace: rcommandstack.cpp - function pop line 105
Trace: rthread.cpp - function doCommand line 143
Trace: rkmdiwindow.cpp - function initializeActivationSignals line 187
WARNING: please edit ~/.scim/global and change /DefaultConfigModule to kconfig
Trace: rinterface.cpp - function issueCommand line 87
Trace: rdata.cpp - function RData line 25
Trace: rcommand.cpp - function RCommand line 31
Trace: rcommand.cpp - function addReceiver line 60
Trace: rcommandreceiver.cpp - function addCommand line 55
Trace: rcommand.cpp - function addReceiver line 60
Trace: rcommandreceiver.cpp - function addCommand line 55
Trace: rinterface.cpp - function issueCommand line 214
Trace: rcommandstack.cpp - function issueCommand line 38
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkmdiwindow.cpp - function setToolWrapper line 210
Trace: rkworkplace.cpp - function registerToolWindow line 121
Trace: rkworkplace.cpp - function addWindow line 111
Trace: rkworkplace.cpp - function attachWindow line 75
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkworkplace.cpp - function windowActivated line 516
Trace: rkward.cpp - function partAdded line 376
Trace: rkhtmlwindow.cpp - function initialize line 262
Trace: rcontrolwindow.cpp - function initialize line 85
Trace: rcontrolwindow.cpp - function show line 92
Trace: rcontrolwindow.cpp - function refreshCommands line 203
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function update line 410
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RReadConsole line 162
Trace: rthread.cpp - function handleStandardCallback line 425
Trace: rthread.cpp - function flushOutput line 292
output '
*** caught segfault ***
address 0x40000020, cause 'invalid permissions'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have installed rkward 0.4.8a on kde 3.5.5. Why does it need start a KDE konsole window to start the application? Is there any way of turning this off in the rkward.desktop file? The Terminal option in that file is already set to false.
Thanks
Murray
Hi,
no, there is no easy way to turn this off, ATM. If it annoys you too much, you can modify the wrapper script (generally installed in /usr[/local]/bin/rkward).
The main reason for the console window is that earlier versions of R refused to run interactively unless launched from a tty. While this has been fixed in recent versions of R, we still make sure to start a console window for backwards compatibility.
Regards
Thomas
Hi Thomas,
Thanks for your help. I commented out the first few lines and the konsole window is now disabled :-).
Using rkward I have noticed sometimes starting it just hangs on startup. I am using rkward-0.4.9-5.1 on Suse 10.2 with KDE 3.5.5-3.
If you need more info I can run it in debug mode and make the logs available if that helps.
Regards
Murray
Hi,
yes, some debug info would be helpful. Either by attaching a debugger when it hangs (if you need instructions for this, write back), or by running rkward with
# rkward --debug-level 5 2> debuglog
(only the last ~200 lines in "debuglog" before the hang will be relevant)
Regards
Thomas
OK. Here's the log from one hang. I think I saw another hang with a permissions error too. I will post that if I get that again.
Regards
Murray
mtrainer@dev02:~> tail -200 debuglog
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function ~RKStructureGetter line 52
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function SEXPToRData line 545
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function ~RData line 32
Trace: rdata.cpp - function discardData line 60
Trace: rdata.cpp - function ~RData line 32
Trace: rdata.cpp - function discardData line 60
done running command
Trace: rcommandstack.cpp - function pop line 105
Trace: rthread.cpp - function doCommand line 143
Trace: rkcommandeditorwindow.cpp - function RKFunctionArgHinter line 347
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkconsole.cpp - function RKConsolePart line 869
Trace: rkmdiwindow.cpp - function initializeActivationSignals line 187
Trace: rkconsole.cpp - function initializeActions line 780
Trace: rkconsole.cpp - function clear line 666
Trace: rkconsole.cpp - function tryNextInBatch line 628
Trace: rkconsole.cpp - function cursorAtTheEnd line 468
Looking for syntax highlighting definition
none
asm6502
avr assembler
gnu assembler
intel x86 (nasm)
mips assembler
picasm
.desktop
apache configuration
cisco
fstab
ini files
kdesvn-buildrc
wine config
4gl
4gl-per
ldif
progress
sql
sql (mysql)
sql (postgresql)
error: /opt/kde3/share/apps/katepart/syntax/logohighlightstyle.es.xml
ahdl
spice
verilog
vhdl
ca
de_de
en_us
en_us
fr_fr
it
nl
pl
pt_br
ru
sl
sr
sr@latn
sv
asp
bibtex
coldfusion
css
doxygen
gnu gettext
html
javadoc
jsp
latex
mab-db
postscript
ruby/rails/rhtml
sgml
txt2tags
vrml
wikimedia
xml
xml (debug)
xslt
abc
alerts
changelog
cmake
css/php
cue sheet
debian changelog
debian control
diff
javascript/php
lilypond
m3u
makefile
music publisher
pov-ray
renderman rib
rpm spec
gdl
matlab
octave
scilab
ti basic
awk
bash
common lisp
euphoria
ferite
javascript
lua
mason
perl
php (html)
php/php
pike
python
quake script
r script
rexx
rkward output
Trace: rksettingsmoduleconsole.cpp - function loadCommandHistory line 133
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkmdiwindow.cpp - function setToolWrapper line 210
Trace: rkworkplace.cpp - function registerToolWindow line 121
Trace: rkworkplace.cpp - function addWindow line 111
Trace: rkworkplace.cpp - function attachWindow line 75
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkworkplace.cpp - function windowActivated line 516
Trace: rkward.cpp - function partAdded line 376
Trace: rkmdiwindow.cpp - function RKMDIWindow line 32
Trace: rcommandreceiver.cpp - function RCommandReceiver line 25
Trace: rkhelpsearchwindow.cpp - function RKHelpSearchWindow line 46
Trace: rkdummypart.cpp - function RKDummyPart line 25
Trace: rkmdiwindow.cpp - function initializeActivationSignals line 187
WARNING: please edit ~/.scim/global and change /DefaultConfigModule to kconfig
Trace: rinterface.cpp - function issueCommand line 87
Trace: rdata.cpp - function RData line 25
Trace: rcommand.cpp - function RCommand line 31
Trace: rcommand.cpp - function addReceiver line 60
Trace: rcommandreceiver.cpp - function addCommand line 55
Trace: rcommand.cpp - function addReceiver line 60
Trace: rcommandreceiver.cpp - function addCommand line 55
Trace: rinterface.cpp - function issueCommand line 214
Trace: rcommandstack.cpp - function issueCommand line 38
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkmdiwindow.cpp - function setToolWrapper line 210
Trace: rkworkplace.cpp - function registerToolWindow line 121
Trace: rkworkplace.cpp - function addWindow line 111
Trace: rkworkplace.cpp - function attachWindow line 75
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkworkplace.cpp - function windowActivated line 516
Trace: rkward.cpp - function partAdded line 376
Trace: rkhtmlwindow.cpp - function initialize line 262
Trace: rcontrolwindow.cpp - function initialize line 85
Trace: rcontrolwindow.cpp - function show line 92
Trace: rcontrolwindow.cpp - function refreshCommands line 203
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function update line 410
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RReadConsole line 162
Trace: rthread.cpp - function handleStandardCallback line 425
Trace: rthread.cpp - function flushOutput line 292
output '
*** caught segfault ***
address 0x1, cause 'memory not mapped'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
'
Brrr. I have an idea where this comes from, but this would be pretty hard to fix. Does this happen very often? Otherwise, I think I'll ignore this for RKWard 0.4.x.
In RKWard 0.5.0, the code in question is entirely different (and this sort of problem should not occur, there). However, this cannot simply be backported, as it relies heavily on new features in Qt4 (model/view architecture).
Regards
Thomas
> Does this happen very often?
Yes very often - its a bit of a showstopper. I think it only happens if you have already run rkward once and closed it.
Murray
Ok. I have made an attempt at fixing this.
Since this problem occurs very, very rarely, here, it would be nice, if you could do some testing. Could you please download and compile this: http://rkward.sourceforge.net/temp/rkward-0.4.9a-test1.tar.gz , and then report whether the problem persists or not?
Thanks!
Thomas
Hi,
That appears to have fixed the problem. I compiled it on my development machine and it doesn't have the hanging on startup so far. Do you know if the fixed version will appear in rpm format here soon:
ftp://ftp.uni-bayreuth.de/pub/math/statlib/R/CRAN/bin/linux/suse/10.2/RPMS/i586/
Otherwise I will have to manually copy the required binaries up to our production server.
Murray
> Otherwise I will have to manually copy the required binaries up to our production server.
I guess that's the safest bet at this moment. 0.4.9a is not even released (not sure, when I will make an official version), and before that it usually is not packaged.
Regards
Thomas
Hi Thomas,
Do you have a list of binaries I need to copy up. I tried copying rkward.bin but it appears to need other files.
Thanks
Murray
rkward.bin should be the only file that has changed compared to 0.4.9. So, if you first install a 0.4.9 rpm and then replace the installed rkward.bin with the one from 0.4.9a-test1, that *should* work.
In total, rkward needs a whole lot of further files. You can roll a binary tarball relatively easily, by simply running
# make install DESTDIR=/some/temporary/path/rkward
# tar -cvzf rkward_binary.tar.gz /some/temporary/path/rkward
then unpack that in "/" on the machine you want to install on (please verify the tar.gz looks correct, first!).
I don't know much about building .rpms, but I guess taking a .src.rpm from http://download.opensuse.org/repositories/home:/dsteuer/ if should not be overly hard to build a 0.4.9a-test1.rpm from that.
I created the tar file as sugggested and extracted it on the destination machine. I get the error below:
/opt/kde3/bin/rkward.bin: symbol lookup error: /opt/kde3/bin/rkward.bin: undefined symbol: R_LastvalueSymbol
I think something is missing that is needed?
Murray
Looks like you are using different versions of R on the compilation and the deployment system. IIRC, that's probably R 2.5.x on the first, and R 2.6.x on the latter.
The safest assumption is that rkward compiled with R 2.x will only work with R 2.x at runtime (though there are some exceptions to this rule).
Hi,
I recompiled it against the latest R-stats rpm and it works fine on my production machine. Look forward to testing it out. Thanks for your help.
Regards
Murray
Here is the other error - looks like it fails at the same place but slightly different error message.
Murray
mtrainer@dev02:~> tail -200 debuglog
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'writeChar': 0x83b1360, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'write.dcf': 0x83b0650, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'writeLines': 0x83b129c, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'write.table0': 0x83b14e8, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching '%x%': 0x8367cb0, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'xor': 0x83b11a0, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'xpdrows.data.frame': 0x83b10a4, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function getStructureSafe line 144
Trace: rkstructuregetter.cpp - function getStructureWrapper line 163
Trace: rkstructuregetter.cpp - function getStructureWorker line 196
fetching 'zapsmall': 0x83b0fa8, s-type 5
Trace: rkstructuregetter.cpp - function resolvePromise line 169
temporarily resolving unbound promise
resolved type is 3
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function RData line 25
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rembedinternal.cpp - function SEXPToStringList line 454
Trace: rkstructuregetter.cpp - function ~RKStructureGetter line 52
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function SEXPToRData line 545
Trace: rdata.cpp - function RData line 25
Trace: rdata.cpp - function ~RData line 32
Trace: rdata.cpp - function discardData line 60
Trace: rdata.cpp - function ~RData line 32
Trace: rdata.cpp - function discardData line 60
done running command
Trace: rcommandstack.cpp - function pop line 105
Trace: rthread.cpp - function doCommand line 143
Trace: rkmdiwindow.cpp - function initializeActivationSignals line 187
WARNING: please edit ~/.scim/global and change /DefaultConfigModule to kconfig
Trace: rinterface.cpp - function issueCommand line 87
Trace: rdata.cpp - function RData line 25
Trace: rcommand.cpp - function RCommand line 31
Trace: rcommand.cpp - function addReceiver line 60
Trace: rcommandreceiver.cpp - function addCommand line 55
Trace: rcommand.cpp - function addReceiver line 60
Trace: rcommandreceiver.cpp - function addCommand line 55
Trace: rinterface.cpp - function issueCommand line 214
Trace: rcommandstack.cpp - function issueCommand line 38
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkmdiwindow.cpp - function setCaption line 64
Trace: rkmdiwindow.cpp - function setToolWrapper line 210
Trace: rkworkplace.cpp - function registerToolWindow line 121
Trace: rkworkplace.cpp - function addWindow line 111
Trace: rkworkplace.cpp - function attachWindow line 75
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkmdiwindow.cpp - function eventFilter line 146
Trace: rkworkplace.cpp - function windowActivated line 516
Trace: rkward.cpp - function partAdded line 376
Trace: rkhtmlwindow.cpp - function initialize line 262
Trace: rcontrolwindow.cpp - function initialize line 85
Trace: rcontrolwindow.cpp - function show line 92
Trace: rcontrolwindow.cpp - function refreshCommands line 203
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function update line 410
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rcontrolwindow.cpp - function addCommands line 232
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rcontrolwindow.cpp - function addCommand line 256
Trace: rcontrolwindow.cpp - function update line 384
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RWriteConsoleEx line 209
Trace: rthread.cpp - function handleOutput line 257
Trace: rembedinternal.cpp - function RReadConsole line 162
Trace: rthread.cpp - function handleStandardCallback line 425
Trace: rthread.cpp - function flushOutput line 292
output '
*** caught segfault ***
address 0x40000020, cause 'invalid permissions'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace