Re: gcc segmentation fault

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

 



Carl Edward Baribault wrote:

> I am using gcc on aix.  During compile time, I am using include files in order
> to initialize many tables, the largest of which are 181 tables with 4**9=262K
> double float values each.  The attempt fails with a segmentation fault
> somewhere between table numbers 62 and 68.
> 
> 62*8*(4y9)=130023424
> 68*8*(4y9)=142606336
> 
> When I comment out all 181 tables, the error does not occur.
> 
> My gcc command is..
> 
> gcc -g -Wall -c w30_m8520_viterbi_driver.c
> 
> My gcc version on aix is..
> 
> $ gcc -v
> Using built-in specs.
> Target: powerpc-ibm-aix5.3.0.0
> Configured with: ../gcc-4.1.1/configure --disable-nls
> Thread model: aix
> gcc version 4.1.1
> 
> My ulimit -a is..
> 
> $ ulimit -a
> core file size        (blocks, -c) 4096
> data seg size         (kbytes, -d) unlimited
> file size             (blocks, -f) unlimited
> max memory size       (kbytes, -m) unlimited
> open files                    (-n) 4096
> pipe size          (512 bytes, -p) 64
> stack size            (kbytes, -s) hard
> cpu time             (seconds, -t) unlimited
> max user processes            (-u) 128
> virtual memory        (kbytes, -v) unlimited
> 
> 
> Please let me know if I can provide more info.

I wonder if this can be duplicated on a non-AIX platform.  We'll need
a test case.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux