[Bug c++/31502] gcc/g++ randomly seg faults, sometimes freezes the entire machine

bgoodr+gccbugzilla at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon May 7 01:54:00 GMT 2007



------- Comment #5 from bgoodr+gccbugzilla at gmail dot com  2007-05-07 02:53 -------
(In reply to comment #4)
> I'm willing to accept this as an OS problem, and I'm just wondering if anyone
> else has reported the same problem and if so, what the solution was.

This is happening for me too. It is notable that this is happening on a
different distribution and hardware/CPU combination:

My machine and OS info:

Machine info:
  CPU: AMD Athlon 1200.063Mhz from /proc/cpuinfo
  RAM: MemTotal:       775600 kB from /proc/meminfo

OS Info:
  Type: Linux
  Distro: Fedora Core release 5 (Bordeaux)
  Kernel: Linux 2.6.20-1.2307.fc5 #1 Sun Mar 18 20:44:48 EDT 2007 i686 athlon
i386 GNU/Linux
  Bit: 32 bit OS

Version of GCC I'm using: gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51)

I have not seen GCC hang the entire system as Patrick had reported on his
system.

Note that he reported this problem against mplayer and Blender, and I have seen
the regression against BOTH of those software packages as well.  

I've seen a few other failures in both mplayer and Blender source that
disappeared when I retried building them, but there is a file in both source
trees that _consistently_ fail with the segmentation fault.

I too am not convinced it is a GCC problem, but I would like to know if anyone
else has seen this issue as well.

For Blender, for my system, the failure that is consistent is:

Compiling ==> 'export_Plugin.cpp'
source/blender/yafray/intern/export_Plugin.cpp: In member function 'virtual
void yafrayPluginRender_t::writeShader(const std::string&, Material*, const
std::string&)':
source/blender/yafray/intern/export_Plugin.cpp:890: error: unrecognizable insn:
(insn 14404 14402 14405 2146 (UnKnown Unknown) -1 (nil)
    (nil))
source/blender/yafray/intern/export_Plugin.cpp:890: internal compiler error: in
extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
scons: ***
[/home/brentg/blender_build_dir/build/linux2/source/blender/yafray/intern/export_Plugin.o]
Error 1
scons: building terminated because of errors.

For mplayer, the error for the file that consistently fails is:

cc   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement
-fno-PIC -O4 -march=athlon -mtune=athlon -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include 
-I/usr/include/kde/artsc  -I/usr/include/cdda -I/usr/include/freetype2
-I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -c -o mpegaudiodec.o
mpegaudiodec.c
mpegaudiodec.c: In function 'ff_mpa_synth_filter':
mpegaudiodec.c:917: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[1]: *** [mpegaudiodec.o] Error 1



Other failures I have seen, but that were not reproduceable:


--- Blender ---
source/blender/blenkernel/intern/subsurf_ccg.c: In function
'subsurf_make_derived_from_derived':
source/blender/blenkernel/intern/subsurf_ccg.c:2440: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
scons: ***
[/home/brentg/blender_build_dir/build/linux2/source/blender/blenkernel/intern/subsurf_ccg.o]
Error 1



source/blender/yafray/intern/export_File.cpp: In member function 'virtual void
yafrayFileRender_t::writeTextures()':
source/blender/yafray/intern/export_File.cpp:656: error: unrecognizable insn:
(insn 11442 8280 6565 842 (UnKnown Unknown) -1 (nil)
    (nil))
source/blender/yafray/intern/export_File.cpp:656: internal compiler error: in
extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.




--- mplayer ---

mpegvideo.c: In function 'MPV_decode_mb':
mpegvideo.c:4116: error: unrecognizable insn:
(insn 1667 1665 1668 191 (UnKnown Unknown) -1 (nil)
    (nil))
mpegvideo.c:4116: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.


I will be happy to provide additional info as needed.

Thanks,
Brent Goodrick


-- 

bgoodr+gccbugzilla at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bgoodr+gccbugzilla at gmail
                   |                            |dot com


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



More information about the Gcc-bugs mailing list