Menu

crash when creating dataset

Help
Ladex
2007-10-24
2013-01-15
  • Ladex

    Ladex - 2007-10-24

    I just compiled rkward 0.4.8 on my machine running PCLinuxOS2007. After installing and updating several packages everything seemed to work fine. I were able to start rkward via the kde-menu and I could create an new empty workspace. But when I try to create a new Dataset, the program hangs. I am able to enter the name of the new dataset and I can see the new empty Table in the background afterwords. But immediately a new window pops up saying "R backend requests information" and on the lower right it says "R engine busy", before it said "R engine idle". Now the program hangs. I expirienced the same problem, when I tried to "start with an empty table", by the way.

     
    • Thomas Friedrichsmeier

      Hi,

      thanks for your report. Another user reported grave problems on PCLinuxOS2007 some time ago, but I did not get back to him immediately, and he was no longer available, later. https://sourceforge.net/forum/message.php?msg_id=4395350

      Since this crash does not occur on other systems, I need some further info. First, please try the following: Enter some simple commands in the R Console, e.g.
      > a=5
      > print (a)
      > plot (1, 1)
      Does this work, or does this crash as well?

      If you open the "Workspace" browser (on the left), and check the "Show all Environments" option, does anything show up?

      After the crash, are there any messages on the (kde) console?

      Could you run rkward from a terminal using
      # rkward --debug-level 5

      This will generate a whole lot of output. Could you post this somewhere (if you have the option, place it on a web-server, somewhere, else zip it up, and post to rkward-devel at lists dot sourceforget dot net)?

      Which version of R is this? If I looked in the correct place, it is R 2.3.1., which is rather old, and probably not well tested with current versions of RKWard. If you have the option to upgrade your installation of R, could you try this (afterwards you will need to repeat the make and make install steps in your RKWard sources).

      Thanks!
      Thomas

       
    • Ladex

      Ladex - 2007-10-25

      Dear Thomas,

      you are right, it's version R 2.3.1, I'll ask for an precompiled update, maybe I'll try to compile it myself as well.

      When opening the "Workspace" browser, I can see a list of eight packages, Autoloads and .GlobalEnv in "Options".

      There are no additional messages on the kde-console after the crash when not run in debug-mode.

      plot (1,1) works fine, the following output is displayed on the kde-console:
      rkward: *** Embed 48234497 into 39847661. window=0
      rkward: > before reparent: parent=0x40
      rkward: > Loop 0: > reparent of 0x2e00001 into 0x26006ed successful
      QInputContext: cannot create input context for non-toplevel widgets
      QInputContext: cannot create input context for non-toplevel widgets

      print (5) works fine as well

      rkward crashes when entering a=5 without any additional messages being displayed (but "R engine busy" on the lower right), when entering print (a) I get "Error in print(a): object "a" not found" on the R console and on the kde-console as well and the program crashes again (R engine busy).

      I started rkward in debug-mode and I (only) sent you what I received after I tried to create a new dataset and after entering a=5 on the R console. Please let me now if you need more information.

      Thanks for your immediate response
      Andreas

       
      • Thomas Friedrichsmeier

        Hi Andreas,

        thanks for the additonal info, and the debug output. I think I now have a pretty good idea what's going wrong, and will look into a fix tonight. After that I would like to ask you test the fix (I'll contact you by mail, then). Therefore, while the problem seems to be related to R 2.3, indeed, I would be nice, if you could hold off on updating R for a little while longer, so we will know, whether the fix actually works for R 2.3.

        Regards
        Thomas

         
MongoDB Logo MongoDB