public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2
@ 2003-07-07 20:39 yuvraj_hande at i2 dot com
  2003-07-07 21:40 ` [Bug c++/11456] " bangerth at dealii dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: yuvraj_hande at i2 dot com @ 2003-07-07 20:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11456

           Summary: Segfault in dot. AIX 5.1, GCC 3.2.2
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: yuvraj_hande at i2 dot com
                CC: gcc-bugs at gcc dot gnu dot org

Title: Segfault in dot. AIX 5.1, GCC 3.2.2
Graphviz version : 1.9

Problem: 
(root)localhost:src$ dot
Segmentation fault (core dumped)
__loadx(0x03020000, 0x2FF22900, 0x00000080, 0xDEADBEEF, 0xDEADBEEF, 
0xDEADBEEF, 0x04030000, 0xF008313C) = 0x00000000
__loadx(0x0A040000, 0xD034184C, 0x00000000, 0x696E6974, 0x00000000, 
0x00000000, 0x6000625A, 0x00000000) = 0x00000000
sbrk(0x00000000)                                = 0x20044170
sbrk(0x00010010)                                = 0x20044170
    Incurred fault #6, FLTBOUNDS  address = 0xD209E678
    Received signal #11, SIGSEGV [default]
*** process killed

we are facing problem in executing dot binary on AIX5.1. Customer compiled it 
using GCC 3.2.2 successfully, when he tried executing it. It gave me 
segmentation  fault on startup. 

The same code has been compiled and executed on other platforms (HP 11 i, 
Solaris 2.9, windows 2000 )


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

* [Bug c++/11456] Segfault in dot. AIX 5.1, GCC 3.2.2
  2003-07-07 20:39 [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2 yuvraj_hande at i2 dot com
@ 2003-07-07 21:40 ` bangerth at dealii dot org
  2003-07-18  6:31 ` jdeepak at dacafe dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bangerth at dealii dot org @ 2003-07-07 21:40 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11456


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From bangerth at dealii dot org  2003-07-07 21:40 -------
This is not nearly enough information for us to reproduce, lest fix
the problem. Please review
  http://gcc.gnu.org/bugs.html
to see what we need and provide us with the missing information.

Thanks
  Wolfgang


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

* [Bug c++/11456] Segfault in dot. AIX 5.1, GCC 3.2.2
  2003-07-07 20:39 [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2 yuvraj_hande at i2 dot com
  2003-07-07 21:40 ` [Bug c++/11456] " bangerth at dealii dot org
@ 2003-07-18  6:31 ` jdeepak at dacafe dot com
  2003-07-29 20:23 ` pinskia at physics dot uc dot edu
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jdeepak at dacafe dot com @ 2003-07-18  6:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11456



------- Additional Comments From jdeepak at dacafe dot com  2003-07-18 06:31 -------
I downloaded gcc3.2.2 compiler from gnu site and installed it in my home 
directory wit default settings.

Compiler version : gcc3.2.2
Machine : AIX5.1

I compiled the source code of graphviz which is available on  

Here is the link from where you can download graphviz-1.8.10 source
code.
      http://www.graphviz.org/pub/graphviz/ARCHIVE/

and after compilation when i ran the executable "dot" i got segmentation fault.

The same bug was filed against graphviz-1.8.10. According to graphviz team it 
seems a compiler problem.
Here in thi link report is avaliable

http://www.research.att.com/~erg/graphviz/bugs/b294.html


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

* [Bug c++/11456] Segfault in dot. AIX 5.1, GCC 3.2.2
  2003-07-07 20:39 [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2 yuvraj_hande at i2 dot com
  2003-07-07 21:40 ` [Bug c++/11456] " bangerth at dealii dot org
  2003-07-18  6:31 ` jdeepak at dacafe dot com
@ 2003-07-29 20:23 ` pinskia at physics dot uc dot edu
  2003-07-29 20:41 ` yuvraj_hande at i2 dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29 20:23 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11456


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug c++/11456] Segfault in dot. AIX 5.1, GCC 3.2.2
  2003-07-07 20:39 [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2 yuvraj_hande at i2 dot com
                   ` (2 preceding siblings ...)
  2003-07-29 20:23 ` pinskia at physics dot uc dot edu
@ 2003-07-29 20:41 ` yuvraj_hande at i2 dot com
  2003-07-29 21:01 ` yuvraj_hande at i2 dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: yuvraj_hande at i2 dot com @ 2003-07-29 20:41 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11456


yuvraj_hande at i2 dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Priority|P2                          |P1


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

* [Bug c++/11456] Segfault in dot. AIX 5.1, GCC 3.2.2
  2003-07-07 20:39 [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2 yuvraj_hande at i2 dot com
                   ` (3 preceding siblings ...)
  2003-07-29 20:41 ` yuvraj_hande at i2 dot com
@ 2003-07-29 21:01 ` yuvraj_hande at i2 dot com
  2003-08-05 23:46 ` pinskia at physics dot uc dot edu
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: yuvraj_hande at i2 dot com @ 2003-07-29 21:01 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11456



------- Additional Comments From yuvraj_hande at i2 dot com  2003-07-29 21:01 -------
We have problem at run time and the reported error is seen, when we ran 
the "dot" application.

This not being compile time problem, we do not know, what command line should 
be send as it is asked in http://gcc.gnu.org/bugs.html .

Further, the same bug is reported for "dot" application on graphviz site and 
there it was analyzed to be compiler problem. ( This is the link, for your 
info http://www.research.att.com/~erg/graphviz/bugs/b294.html )

Just to rule out, we have builded this "dot" application on gcc3.3 compiler, 
also we builded it on gcc2.9 (the one which is available on IBM Toolbox site), 
but still we get the same error.

We have tryed in every possible way and in every angle. 

If any more info is required, let us know.

We want this to get resolved quickly and any thoughts, suggestions, are 
wellcome.

Thanks,

Yuvraj.


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

* [Bug c++/11456] Segfault in dot. AIX 5.1, GCC 3.2.2
  2003-07-07 20:39 [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2 yuvraj_hande at i2 dot com
                   ` (4 preceding siblings ...)
  2003-07-29 21:01 ` yuvraj_hande at i2 dot com
@ 2003-08-05 23:46 ` pinskia at physics dot uc dot edu
  2003-08-20 22:08 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-05 23:46 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11456


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


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

* [Bug c++/11456] Segfault in dot. AIX 5.1, GCC 3.2.2
  2003-07-07 20:39 [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2 yuvraj_hande at i2 dot com
                   ` (5 preceding siblings ...)
  2003-08-05 23:46 ` pinskia at physics dot uc dot edu
@ 2003-08-20 22:08 ` pinskia at gcc dot gnu dot org
  2003-08-24 19:12 ` dhazeghi at yahoo dot com
  2003-08-27 15:51 ` yuvraj_hande at i2 dot com
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-20 22:08 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11456



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-20 22:08 -------
Your last messsage seems like you have not read http://gcc.gnu.org/bugs.html yet, please read it 
and then add some more.


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

* [Bug c++/11456] Segfault in dot. AIX 5.1, GCC 3.2.2
  2003-07-07 20:39 [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2 yuvraj_hande at i2 dot com
                   ` (6 preceding siblings ...)
  2003-08-20 22:08 ` pinskia at gcc dot gnu dot org
@ 2003-08-24 19:12 ` dhazeghi at yahoo dot com
  2003-08-27 15:51 ` yuvraj_hande at i2 dot com
  8 siblings, 0 replies; 10+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-24 19:12 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11456



------- Additional Comments From dhazeghi at yahoo dot com  2003-08-24 19:12 -------
To add to what Andrew said, we really are unlikely to be able to fix a bug without a small(ish) self-
contained system. If the bug is in gcc, then we need to know _exactly_ how it was built, so that we 
can reproduce it.


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

* [Bug c++/11456] Segfault in dot. AIX 5.1, GCC 3.2.2
  2003-07-07 20:39 [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2 yuvraj_hande at i2 dot com
                   ` (7 preceding siblings ...)
  2003-08-24 19:12 ` dhazeghi at yahoo dot com
@ 2003-08-27 15:51 ` yuvraj_hande at i2 dot com
  8 siblings, 0 replies; 10+ messages in thread
From: yuvraj_hande at i2 dot com @ 2003-08-27 15:51 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11456


yuvraj_hande at i2 dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WONTFIX


------- Additional Comments From yuvraj_hande at i2 dot com  2003-08-27 15:51 -------
We have got solution, and "dot" executable is running without any problem 
after building and linking with IBM C Compiler ( /usr/vac/bin/cc).

I have downloaded the patch for gcc3.3 and builded gcc with this patch, which 
adds options -mnatural-align to gcc, builded "dot" with two options.  Check 
this link 
http://gcc.gnu.org/ml/gcc-patches/2003-04/msg02222.html .
But that didn't help, I was still getting core dump at runtime. ( Core dump 
was because of alignment of structure members, and accessing invalid memory 
address by structure pointer.)   Check out this link for support of this 
assumption, 
http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachORuntime
/2rt_powerpc_abi/chapter_3_section_3.html
And analyzing the core with gdb also support the assumption.

Then, using the IBM C Compiler for building the "dot" source and even third 
party libs, solved the problem.


Thanks for your time.

Regards,


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

end of thread, other threads:[~2003-08-27 15:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-07 20:39 [Bug c++/11456] New: Segfault in dot. AIX 5.1, GCC 3.2.2 yuvraj_hande at i2 dot com
2003-07-07 21:40 ` [Bug c++/11456] " bangerth at dealii dot org
2003-07-18  6:31 ` jdeepak at dacafe dot com
2003-07-29 20:23 ` pinskia at physics dot uc dot edu
2003-07-29 20:41 ` yuvraj_hande at i2 dot com
2003-07-29 21:01 ` yuvraj_hande at i2 dot com
2003-08-05 23:46 ` pinskia at physics dot uc dot edu
2003-08-20 22:08 ` pinskia at gcc dot gnu dot org
2003-08-24 19:12 ` dhazeghi at yahoo dot com
2003-08-27 15:51 ` yuvraj_hande at i2 dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).