gm2
[Top][All Lists]
Advanced

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

[Gm2] gm2-2010-11-02 arrayptr[34] woes


From: john o goyo
Subject: [Gm2] gm2-2010-11-02 arrayptr[34] woes
Date: Sun, 7 Nov 2010 16:03:31 -0500

Using the build of 2010-11-02, I started investigating the failures of the test-cases gm2/pim/pass/arrayptr3.mod (with no compilation option) and gm2/pim/pass/arrayptr4.mod (with compilation options - Os). Findings follow.

(1) arrayptr3.mod:

I first compiled and ran the resulting binary.

johng: 565 [tst-gm2]=> gm2 -c -g arrayptr3.mod
johng: 566 [tst-gm2]=> gm2  -g arrayptr3.mod
johng: 567 [tst-gm2]=> ./a.out
terminate called after throwing an instance of 'int'
Abort (core dumped)

Invoking gdb on the binary and core file did not help. A back-trace command resulted in gdb terminating with a segmentation fault. I tried gdb directly.

johng: 570 [tst-gm2]=> gdb a.out
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/ gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc64-sun-solaris2.10"...
(gdb) b 95
Breakpoint 1 at 0x100004c7c: file arrayptr3_m2.cpp, line 95.
(gdb) r
Starting program: /home/johng/prj/tst-gm2/a.out
warning: Temporarily disabling breakpoints for unloaded shared library "/usr/lib/sparcv9/ld.so.1"

Breakpoint 1, init (argc=1, argv=0xffffffff7ffff118) at arrayptr3_m2.cpp:95
95             _M2_arrayptr3_init (argc, argv);
(gdb) s
Segmentation Fault (core dumped)


(2) arrayptr4.mod

Compilation with the command "gm2 -c -Os arrayptr4.mod" did not complete. After watching it consume al the time on one of the processors for over one minute, I killed it.


Advice gratefully accepted.

john



reply via email to

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