octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segmentation Fault with Octave MXE under Windows


From: Daniel J Sebald
Subject: Re: Segmentation Fault with Octave MXE under Windows
Date: Wed, 09 Jul 2014 16:47:23 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 07/09/2014 04:34 PM, ijourneaux wrote:
Daniel Sebald wrote
     virtual ~Array (void)
     {
       if (!rep)
       {
         fprintf(stderr, "NULL POINTER!  RETURNING.\n");
         return;
       }

       if (--rep->count == 0)
       {
         delete rep;
         rep = NULL;
       }
     }

Under these circumstances, where the octave window is closed,  where does
stderr get output to?

Good point. How about stdout? Does that go to the command line interface? May want to confirm you are seeing an output with something like:

        if (!rep)
        {
          fprintf(stdout, "NULL POINTER!  RETURNING.\n");
          return;
        }
        fprintf(stdout, "Pointer OK.\n");


Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]