[quake3-bugzilla] [Bug 4051] New: SIGSEGV when compiling with -march=core2 -O3 on MinGW (bt included)

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Wed Apr 29 11:04:53 EDT 2009


http://bugzilla.icculus.org/show_bug.cgi?id=4051

           Summary: SIGSEGV when compiling with -march=core2 -O3 on MinGW
                    (bt included)
           Product: ioquake3
           Version: SVN HEAD
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: arxeio at gmail.com
         QAContact: quake3-bugzilla at icculus.org


This goes away if -fno-tree-vectorize is used (option included in -O3 but not
-O2). Another (lesser) march may let it compile and run fine on -O3.

Gcc 4.4.0 (and 4.3.3), MinGW, Vista, Core 2 T7500.

Occurs during bsp loading.

mod Urban Terror. Occurs on most maps (e.g. in ut4_casa and ut4_turnpike, not
in ut4_dressingroom).




Program received signal SIGSEGV, Segmentation fault.
R_SubdividePatchToGrid (width=3, height=3, points=0x21ef98)
    at code/renderer/tr_curve.c:411
411                                     VectorNormalize( dir );
(gdb) bt
#0  R_SubdividePatchToGrid (width=3, height=3, points=0x21ef98)
    at code/renderer/tr_curve.c:411
#1  0x0051bbf6 in ParseMesh (ds=<value optimized out>, verts=0xa183790, 
    surf=<value optimized out>) at code/renderer/tr_bsp.c:424
#2  0x0051fd34 in RE_LoadWorldMap (name=0x2397db38 "maps/ut4_casa.bsp")
    at code/renderer/tr_bsp.c:1265
#3  0x00402832 in CL_CgameSystemCalls (args=0x25635ce8)
    at code/client/cl_cgame.c:553
#4  0x0055d136 in CallAsmCall (syscallNum=36, programStack=33553764, 
    opStack=0x22a160) at code/qcommon/vm_x86.c:193
#5  0x0055d108 in AsmCall ()
#6  0x00000024 in ?? ()
#7  0x01fffd64 in ?? ()
#8  0x0022a160 in ?? ()
#9  0x00000002 in ?? ()
#10 0x2d5a5ed1 in ?? ()
#11 0x0055d0f4 in AsmCall ()
#12 0x2d5af947 in ?? ()
#13 0x0055d0f4 in AsmCall ()
#14 0x2d5a010d in ?? ()
#15 0x0055d24d in VM_CallCompiled (vm=0x1dd4670, args=0x22b1f4)
    at code/qcommon/vm_x86.c:1192
#16 0x00493c96 in VM_Call (vm=0x1dd4670, callnum=0) at code/qcommon/vm.c:771
#17 0x00401b2d in CL_InitCGame () at code/client/cl_cgame.c:748
#18 0x004204f8 in CL_DownloadsComplete () at code/client/cl_main.c:1882
#19 0x0042064c in CL_InitDownloads () at code/client/cl_main.c:2046
#20 0x00423375 in CL_ParseGamestate (msg=0x22f848)
    at code/client/cl_parse.c:532
#21 0x00423fa8 in CL_ParseServerMessage (msg=0x22f848)
    at code/client/cl_parse.c:894
#22 0x00422531 in CL_PacketEvent (from=
      {type = NA_LOOPBACK, ip = "\000\000\000", ip6 = '\0' <repeats 15 times>,
p                            ort = 0, scope_id = 0}, msg=0x22f848) at
code/client/cl_main.c:2486
#23 0x00443803 in Com_EventLoop () at code/qcommon/common.c:2208
#24 0x00443b3b in Com_Frame () at code/qcommon/common.c:2935
#25 0x0055cc69 in SDL_main (argc=10, argv=0x26a3010)
    at code/sys/sys_main.c:571
#26 0x00564ffb in console_main (argc=10, argv=0x26a3010)
    at ./src/main/win32/SDL_win32_main.c:217
#27 0x005651d9 in WinMain (hInst=0x400000, hPrev=0x0, 
    szCmdLine=0x2a2baf "+set fs_basepath d:/games/UrbanTerror +set fs_game
q3ut4                             +set r_fullscreen 0", sw=10) at
./src/main/win32/SDL_win32_main.c:353
#28 0x00564a58 in main ()
(gdb) q

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list