Bug 403706 - RKWard crashes on startup
Summary: RKWard crashes on startup
Status: RESOLVED NOT A BUG
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-01-28 19:08 UTC by griera
Modified: 2019-01-29 11:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description griera 2019-01-28 19:08:24 UTC
Application: rkward (0.6.5)
KDE Platform Version: 4.14.26
Qt Version: 4.8.7
Operating System: Linux 4.9.0-8-amd64 x86_64
Distribution: Debian GNU/Linux 9.7 (stretch)

-- Information about the crash:
- What I was doing when the application crashed: Opening rkward

I have updated to version 3.5 by following the instructions here: 
https://cran.r-project.org/bin/linux/debian/stretch-cran34/

Then I have updated as root the R from inside with:
update.packages(.libPaths()[1], ask = F, checkBuilt=TRUE, dependencies = F,
repos = "http://mirror.ibcp.fr/pub/CRAN/")

When finalizing the update of the R, I execute RKWard and I get the error:
"unable to initialize the JIT"

The crash can be reproduced every time.

-- Backtrace:
Application: RKWard (rkward), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f14f26e8900 (LWP 7583))]

Thread 3 (Thread 0x7f14d7341700 (LWP 7593)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f14f104d61a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f14f104d649 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f14eb219494 in start_thread (arg=0x7f14d7341700) at pthread_create.c:333
#4  0x00007f14ec718acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7f14dd419700 (LWP 7586)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f14ec66442a in __GI_abort () at abort.c:89
#8  0x00007f14ecf7b0ad in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f14ecf79066 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f14ecf790b1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f14ecf79b8f in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x000055e545967334 in RKROutputBuffer::handleOutput (this=this@entry=0x55e545f9e050, output=..., buf_length=3869583, output_type=ROutput::Warning, allow_blocking=allow_blocking@entry=true) at ./rkward/rbackend/rkrbackendprotocol_shared.cpp:107
#13 0x000055e545968a13 in RKFrontendTransmitter::requestReceived (this=0x55e545f9df90, request=0x7f14d8005e60) at ./rkward/rbackend/rkfrontendtransmitter.cpp:155
#14 0x000055e54596c3d1 in RKAbstractTransmitter::fetchTransmission (this=0x55e545f9df90) at ./rkward/rbackend/rktransmitter.cpp:245
#15 0x00007f14ee63f660 in QMetaObject::activate (sender=0x7f14d8010cc0, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567
#16 0x00007f14ee63f660 in QMetaObject::activate (sender=sender@entry=0x7f14d800eaf8, m=m@entry=0x7f14ee98e9c0 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#17 0x00007f14ee68e840 in QIODevice::readyRead (this=this@entry=0x7f14d800eaf8) at .moc/release-shared/moc_qiodevice.cpp:104
#18 0x00007f14f0c30ace in QAbstractSocketPrivate::canReadNotification (this=0x7f14d800f1e0) at socket/qabstractsocket.cpp:654
#19 0x00007f14f0c3a04d in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#20 0x00007f14ed43054c in QApplicationPrivate::notify_helper (this=this@entry=0x55e545df5390, receiver=receiver@entry=0x7f14d8011120, e=e@entry=0x7f14dd418970) at kernel/qapplication.cpp:4570
#21 0x00007f14ed43752c in QApplication::notify (this=0x7ffc1692c950, receiver=0x7f14d8011120, e=0x7f14dd418970) at kernel/qapplication.cpp:4356
#22 0x00007f14ef0dac5a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#23 0x00007f14ee62af1d in QCoreApplication::notifyInternal (this=0x7ffc1692c950, receiver=0x7f14d8011120, event=event@entry=0x7f14dd418970) at kernel/qcoreapplication.cpp:955
#24 0x00007f14ee65be12 in QCoreApplication::sendEvent (event=0x7f14dd418970, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 socketNotifierSourceDispatch (source=0x7f14d8003000) at kernel/qeventdispatcher_glib.cpp:110
#26 0x00007f14e8c707f7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f14e8c70a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f14e8c70b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f14ee65b854 in QEventDispatcherGlib::processEvents (this=0x7f14d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#30 0x00007f14ee6297ef in QEventLoop::processEvents (this=this@entry=0x7f14dd418b90, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f14ee629b55 in QEventLoop::exec (this=this@entry=0x7f14dd418b90, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f14ee5184d9 in QThread::exec (this=this@entry=0x55e545f9df90) at thread/qthread.cpp:538
#33 0x000055e545969fb5 in RKFrontendTransmitter::run (this=0x55e545f9df90) at ./rkward/rbackend/rkfrontendtransmitter.cpp:119
#34 0x00007f14ee51adaa in QThreadPrivate::start (arg=0x55e545f9df90) at thread/qthread_unix.cpp:352
#35 0x00007f14eb219494 in start_thread (arg=0x7f14dd419700) at pthread_create.c:333
#36 0x00007f14ec718acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7f14f26e8900 (LWP 7583)):
#0  0x00007f14ec70b74d in write () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f14e8cb4de2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f14ee62e7da in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55e545dc3ca0) at kernel/qcoreapplication.cpp:1605
#3  0x00007f14ee62ed13 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#4  0x00007f14ee65b703 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#5  postEventSourceDispatch (s=0x55e545df5e90) at kernel/qeventdispatcher_glib.cpp:280
#6  0x00007f14e8c707f7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f14e8c70a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f14e8c70b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f14ee65b854 in QEventDispatcherGlib::processEvents (this=0x55e545dc55a0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#10 0x00007f14ed4da5d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#11 0x00007f14ee6297ef in QEventLoop::processEvents (this=this@entry=0x7ffc1692c840, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f14ee629b55 in QEventLoop::exec (this=this@entry=0x7ffc1692c840, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f14ee62fbd9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#14 0x000055e545843726 in main (argc=<optimized out>, argv=0x7ffc1692caa8) at ./rkward/main.cpp:211

Reported using DrKonqi
Comment 1 m.eik michalke 2019-01-29 00:29:21 UTC
you need RKWard >= 0.7.0 for R 3.5, and it must be compiled for the R version you're actually running. please see https://rkward.kde.org/Binaries_and_Build_Scripts for more detailed information on this.
Comment 2 griera 2019-01-29 07:43:49 UTC
(In reply to m.eik michalke from comment #1)
> you need RKWard >= 0.7.0 for R 3.5, and it must be compiled for the R
> version you're actually running. please see
> https://rkward.kde.org/Binaries_and_Build_Scripts for more detailed
> information on this.

Thank you very much for the reply. I have used the package that is at:

https://cran.r-project.org/bin/linux/debian/stretch-cran35/rkward_0.6.5-1~stretchcran.0_amd64.deb

Therefore, I infer that the repository package of https://cran.r-project.org/bin/linux/debian/stretch-cran35/ is incorrect and the bug is r-sig-debian@ r-project.org.
Comment 3 griera 2019-01-29 11:33:39 UTC
The problem is solved in the repository of https://cran.r-project.org/bin/linux/debian/ where the verion 0.7.0 is already