This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/48318] Memory access error by "build/genhooks"?


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

--- Comment #3 from Markus Elfring <Markus.Elfring at web dot de> 2011-03-29 13:10:41 UTC ---
(In reply to comment #2)

I can not generate a backtrace myself by the tool "GNU debugger" on my system
at the moment because of the issue "GDB or dependency python not properly
configured?".
https://bugzilla.novell.com/show_bug.cgi?id=677225#c1

I have tried the build again. Now I get a result that is different from
yesterday.

dmesg:
...
[10656.313658] genmddeps[9790]: segfault at 607bb0 ip 0000000000607bb0 sp
00007fff77ba4d38 error 15 in genmddeps[607000+1000]
[11339.164308] conftest[20445]: segfault at 600ae0 ip 0000000000600ae0 sp
00007fff009794e8 error 15 in conftest[600000+1000]
[11500.528057] genmodes[29951]: segfault at 608320 ip 0000000000608320 sp
00007fff10bfc488 error 15 in genmodes[608000+1000]


elfring@Sonne:~/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl1/gcc> valgrind --verbose
--trace-children=yes --log-file=vg_log48318_%p.txt build/genmddeps
/home/elfring/Projekte/GNU/GCC/Quellen/4.6.0/gcc/config/i386/i386.md >
tmp-mddeps
Speicherzugriffsfehler

...
==394== Process terminating with default action of signal 11 (SIGSEGV)
==394==  Bad permissions for mapped region at address 0x607BB0
==394==    at 0x607BB0: ??? (in
/home/elfring/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl1/gcc/build/genmddeps)
==394==    by 0x4036D2: read_md_files (read-md.c:1125)
==394==    by 0x4012B2: main (genmddeps.c:50)
...


elfring@Sonne:~/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl2/gcc> valgrind --verbose
--trace-children=yes --log-file=vg_log48318_%p.txt build/genmodes -h >
tmp-modes.h
Speicherzugriffsfehler

...
==31666== Process terminating with default action of signal 11 (SIGSEGV)
==31666==  Bad permissions for mapped region at address 0x608320
==31666==    at 0x608320: ??? (in
/home/elfring/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl2/gcc/build/genmodes)
==31666==    by 0x4E4BBFC: (below main) (in /lib64/libc-2.11.3.so)
...


It seems that some files which names will be generated with the prefix "tmp-"
have got a "high" probability for unexpected behaviour in the corresponding
programs here.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]