lkml.org 
[lkml]   [1999]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: pre7 compile problems
On Thu, 14 Jan 1999, Michael Elizabeth Chastain wrote:

hello mike,

> Hi Tony,
>
> Hmmm, another intermittent SIGSEGV. That is the second report.
>
> Is there anyone out there who can reproduce this on demand and
> is willing and able to help me get a stack trace?
>
> I do have one idea about this. Could you please try this program
> on your machine:
>
> #include <stdio.h>
>
> int main( int argc, const char * argv [] )
> {
> printf( "%s\n", (char *) 0 );
> return 0;
> }
>
> Be sure to compile it with "-O2 -fomit-frame-pointer".
>
> tkparse likes to printf through a null pointer occasionally. If you
> see "(null)" on your output, you have a printf that doesn't fall over.
> If you get a segmentation fault, that would explain why your tkparse
> is seg-faulting.
>
> But it could be something else entirely.
>
> Michael Elizabeth Chastain
> <mailto:mec@shout.net>
> "love without fear"

i tried that and the result was:

[root@m1 ~/test]# ./test
(null)

compiled using:
gcc -O2 -fomit-frame-pointer -o test test.c

peter hanecak


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.039 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site