Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re kernel math question
@ 1999-05-26 18:16 Leslie F. Donaldson
  1999-05-26 20:07 ` Uncle George
  0 siblings, 1 reply; 2+ messages in thread
From: Leslie F. Donaldson @ 1999-05-26 18:16 UTC (permalink / raw)
  To: axp-list

Hello,
  I was recently banging around on some code and got the following:
Program received signal SIGSEGV, Segmentation fault.
0x40129848 in __sin (x=0.049087343749999998) at ../sysdeps/libm-ieee754/s_sin.c:66
../sysdeps/libm-ieee754/s_sin.c:66: No such file or directory.
Current language:  auto; currently c
(gdb) 
Continuing.
Signal 11 received


Which according the source is:

    61      /* High word of x. */
    62          GET_HIGH_WORD(ix,x);
    63
    64      /* |x| ~< pi/4 */
    65          ix &= 0x7fffffff;
    66          if(ix <= 0x3fe921fb) return __kernel_sin(x,z,0);
    67
    68      /* sin(Inf or NaN) is NaN */
    69          else if (ix>=0x7ff00000) return x-x;
    70
    71      /* argument reduction needed */
    72          else {
    73              n = __ieee754_rem_pio2(x,y);


But this is as far as I got. Anyone have a suggestion as to where to go
from hee?

Thanks Leslie Donaldson
/----------------------------\ Current Contractor: Onsite Engineering  
|    Leslie F. Donaldson     | Current Customer  : Entergy - Nuclear GGNS
|    Computer Contractor     | Skills: Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly
| Have Computer will travel. | Curr   : http://www.cs.rose-hulman.edu/~donaldlf
\----------------------------/ Current Email  : donaldlf@cs.rose-hulman.edu
Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n--- b++:+
                H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw LusCA++


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Re kernel math question
  1999-05-26 18:16 Re kernel math question Leslie F. Donaldson
@ 1999-05-26 20:07 ` Uncle George
  0 siblings, 0 replies; 2+ messages in thread
From: Uncle George @ 1999-05-26 20:07 UTC (permalink / raw)
  To: axp-list, Leslie F. Donaldson

Generally, when glib et al shafts me,  i get a cpp'ed ( preprocessed ) version of the
file/routine that is giving me problems.  I then link that routin in with my pgm
& trace or just wait for it to crash.

This would mean:
1) get your current ver of glibc
2) compile all of it - I would not recommend installing, as sometimes thing just dont
work out
3) Touch the file u have problems
4) make 2>&1 | tee compile.log
5) go to that dir where it is compiled in, and redo the gcc/cc/egcs command adding a
-E option.
    a) edit the output file to remove the # line numbers
    b) copy this file to your area.
    c) compile it in.


gat

BTW working for something NUCLEAR ? anywhere near Hackensack N.J. ?

Leslie F. Donaldson wrote:

> Hello,
>   I was recently banging around on some code and got the following:
> Program received signal SIGSEGV, Segmentation fault.
> 0x40129848 in __sin (x=0.049087343749999998) at ../sysdeps/libm-ieee754/s_sin.c:66
> ../sysdeps/libm-ieee754/s_sin.c:66: No such file or directory.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-05-26 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-26 18:16 Re kernel math question Leslie F. Donaldson
1999-05-26 20:07 ` Uncle George

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox