On Tue, 8 Sep 2020 at 18:34, Ranjan Maitra <maitra@email.com> wrote:
Dear friends,

I have a strange situation that shows up only on F32 (only linux distributions tried) but does not show up on Windoze or Muck. The way to illustrate this is rather complicated, so I will first summarize.

For my introductory students, I use a java-based front-end to R called Deducer. I am able to install without a hitch and even bring it up and run some functions and graphical displays. However, when I ask it to do a few specific functions, the windows all come crashing down. So, my question is: how do I figure out the source of the problem? I have used this program for years, and including last spring under F31, and linux has never been an issue. This has been tried on three F32 machines by me and a former student and all have resulted in crashes. Embarrasingly, these continue to work as expected with Windows and MacOS, though installation, especially for the latter is a pain.

It would be good to mention enough detail so others can reproduce your configuration:

graphics hardware and driver: did the 3 machines use the same graphics hardware and drivers?
graphics display server: wayland +xwayland or X11
JRE -- some Java apps require Oracle's proprietary JRE


How can I get error messages out of this mishap to file a meaningful and targeted bug report?

 https://www.linuxjournal.com/content/oops-debugging-kernel-panics-0
 

Any suggestions?
Ranjan


If you are interested, here is how I go about installing Deducer. I need R-core installed, as well as curl-devel, and of course java. Other fedora packages may also be needed.

sudo dnf install R-devel curl-devel java-1.8.0-openjdk-devel

then:

sudo R
install.packages(c('JGR','Deducer'))
q()

Note that the second line will ask for which repo to use, and any are fine, the first one is from rstudio.com. Also, the installation function may ask for more libraries to be installed.

Once installed, go to R and inside R, type:

library(JGR)
library(Deducer)
JGR()

The last function call will open a graphical interface with a jaguar logo (pretty cool). All is well. In the bottom window type:
data(cars)

Then go to the graphical interface above, and under "Plots" -> "Quick" -> "simple boxplot"
This opens a window, and put speed as x variable and run.
A window begins to open and the entire window system running JGR comes crashing down.

Btw, since I know the commands to give in R, on the commandline, when I call the function, things work as expected. It is only on the JGR() window that it crashes.

Have you checked rJava and JGR bug reports?    

The worst part? I get no error messages. So, how can I get error messages out of this mishap to file a meaningful and targeted bug report?

Can you connect to the system with ssh or use a console <Alt Fn>? If so the kernel is still alive and the graphics system has crashed.  If not,
you can first try adjusting your configuration.  The last resort is kernel debugging.

This suggests a graphics issue. If you have been using wayland you should try the X11 server.   if both graphics systems are failing you could try an Oracle JRE https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html.


--
George N. White III