Giter Site home page Giter Site logo

Comments (6)

radfordneal avatar radfordneal commented on July 23, 2024

Thanks for the report. Just to be clear to others, this is for the current development version of pqR. The problem shouldn't exist in the last release of 2014-06-19.

Presumably, Rterm writes to R_NilValue, hopefully writing the same data that is already there, since R_NilValue shouldn't change. Perhaps it sets "levels" to zero with SETLEVELS, which I think is the only access function where I didn't put in a check for setting to the existing value.

It should be possible to bypass this by deleting the "const" qualifier on the declaration of R_NilValue_const in src/main/const-objs.c. Keeping R_NilValue read-only would be nice though, since it would detect some bugs.

from pqr.

armgong avatar armgong commented on July 23, 2024

deleting the "const" qualifier on the declaration of R_NilValue_const in src/main/const-objs.c,but no luck.
after some printf to trace the problem. now in main.c setup_Rmainloop function
if (R_SignalHandlers) init_signal_handlers();
if (!doneit) {
doneit = 1;
R_ReplFile(fp, baseEnv);<<<this cause crash
}

furthermore trace to Eval.c evalv function cause crash,but no idea what happening

from pqr.

armgong avatar armgong commented on July 23, 2024

on branch 23 windows build ok,thanks

from pqr.

radfordneal avatar radfordneal commented on July 23, 2024

I didn't do anything specific to address this bug, so I think you just got
an unstable development version. These non-release versions aren't
necessarily tested.

I can let you know when I have a somewhat stable and tested version for you
to try (even if not ready for general release).

Radford

On 10 July 2014 19:52, Yu Gong [email protected] wrote:

on branch 23 windows build ok,thanks

Reply to this email directly or view it on GitHub
#24 (comment).

from pqr.

radfordneal avatar radfordneal commented on July 23, 2024

Hi,

I'm busy on another project for the next couple weeks, but after that I
plan to get back to working on pqR. Trying out Windows builds myself is
one of my priorities, so I hope to figure out these things soon. Thanks
for trying it out!

Radford

On 10 July 2014 at 07:21, Yu Gong [email protected] wrote:

after some printf to trace the problem. now in main.c setup_Rmainloop
function
if (R_SignalHandlers) init_signal_handlers();
if (!doneit) {
doneit = 1;
R_ReplFile(fp, baseEnv);<<<this cause crash
}

furthermore trace to Eval.c evalv function cause crash,but no idea what
happening

Reply to this email directly or view it on GitHub
#24 (comment).

from pqr.

armgong avatar armgong commented on July 23, 2024

thanks a lot

from pqr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.