View Issue Details

IDProjectCategoryView StatusLast Update
0005560The Dark ModDesign/Codingpublic09.12.2022 05:30
Reportersneaker Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status newResolutionopen 
Product VersionSVN 
Summary0005560: Bus error crash when loading painter's wife (backtrace)
DescriptionAbout half way through loading the painter's wife (using painterswife1_2.pk4, other pk4's crash also, but backtrace caught with this), I get a SIGBUS, Bus error crash. Will attach backtrace.

System is a Radeon HD6770, 8GB ram, Fedora 32
TagsNo tags attached.
Attached Files
crash2-clip.txt (3,854 bytes)   
Thread 1 "thedarkmod.x64." received signal SIGBUS, Bus error.
CopyBufferSSE2 (dst=0x7fff93bffb30 <error: Cannot access memory at address 0x7fff93bffb30>, 
    src=0x20f8840 <screenRectVerts> "", numBytes=240)
    at /xtra/darkmod-svn/trunk/idlib/math/Simd_SSE2.cpp:1276
1276			_mm_stream_si128( ( __m128i* ) & dst[i + 1 * 16], d1 );
(gdb) bt
#0  CopyBufferSSE2 (dst=0x7fff93bffb30 <error: Cannot access memory at address 0x7fff93bffb30>, 
    src=0x20f8840 <screenRectVerts> "", numBytes=240)
    at /xtra/darkmod-svn/trunk/idlib/math/Simd_SSE2.cpp:1276
#1  0x0000000000736aed in idVertexCache::ActuallyAlloc (this=this@entry=0x20f85a0 <vertexCache>, 
    vcs=..., data=data@entry=0x20f8840 <screenRectVerts>, bytes=bytes@entry=240, 
    type=type@entry=CACHE_VERTEX) at /xtra/darkmod-svn/trunk/renderer/VertexCache.cpp:415
#2  0x0000000000737185 in idVertexCache::ActuallyAlloc (type=CACHE_VERTEX, bytes=240, 
    data=0x20f8840 <screenRectVerts>, vcs=..., this=0x20f85a0 <vertexCache>)
    at /xtra/darkmod-svn/trunk/renderer/VertexCache.cpp:370
#3  idVertexCache::AllocVertex (bytes=240, data=0x20f8840 <screenRectVerts>, 
    this=0x20f85a0 <vertexCache>) at /xtra/darkmod-svn/trunk/renderer/VertexCache.h:90
#4  idVertexCache::EndFrame (this=0x20f85a0 <vertexCache>)
    at /xtra/darkmod-svn/trunk/renderer/VertexCache.cpp:359
#5  0x0000000000737699 in idVertexCache::PrepareStaticCacheForUpload (
    this=0x20f85a0 <vertexCache>) at /xtra/darkmod-svn/trunk/renderer/VertexCache.cpp:467
#6  0x00000000006fd25a in idRenderModelManagerLocal::EndLevelLoad (this=<optimized out>)
    at /xtra/darkmod-svn/trunk/renderer/ModelManager.cpp:638
#7  0x0000000000720a91 in idRenderSystemLocal::EndLevelLoad (this=<optimized out>)
    at /xtra/darkmod-svn/trunk/renderer/RenderSystem_init.cpp:1927
#8  0x00000000004ef06e in idSessionLocal::ExecuteMapChange (this=0x13b15e0 <sessLocal>, 
    savegameFile=0x0, noFadeWipe=<optimized out>)
    at /xtra/darkmod-svn/trunk/framework/Session.cpp:1571
#9  0x00000000004f05d4 in idSessionLocal::MoveToNewMap (mapName=0x7fffffffbb44 "city", 
    this=0x13b15e0 <sessLocal>) at /xtra/darkmod-svn/trunk/framework/Session.cpp:1134
#10 idSessionLocal::StartNewGame (this=0x13b15e0 <sessLocal>, mapName=0x7fffffffbb44 "city", 
    devmap=<optimized out>) at /xtra/darkmod-svn/trunk/framework/Session.cpp:1105
#11 0x00000000004f0953 in Session_Map_f (args=...)
    at /xtra/darkmod-svn/trunk/idlib/../idlib/Str.h:485
#12 0x00000000004a6637 in idCmdSystemLocal::ExecuteTokenizedString (args=..., 
    this=0x12fbb20 <cmdSystemLocal>) at /xtra/darkmod-svn/trunk/idlib/../idlib/CmdArgs.h:35
#13 idCmdSystemLocal::ExecuteCommandText (this=0x12fbb20 <cmdSystemLocal>, text=<optimized out>)
    at /xtra/darkmod-svn/trunk/framework/CmdSystem.cpp:500
#14 0x00000000004f55c7 in idSessionLocal::HandleMainMenuCommands (this=0x13b15e0 <sessLocal>, 
    menuCommand=<optimized out>) at /xtra/darkmod-svn/trunk/idlib/../idlib/CmdArgs.h:37
#15 0x00000000004e6a43 in idSessionLocal::ProcessEvent (this=0x13b15e0 <sessLocal>, 
    event=0x7fffffffdb20) at /xtra/darkmod-svn/trunk/framework/Session.cpp:2350
#16 0x00000000004d1482 in idEventLoop::ProcessEvent (this=this@entry=0x13aeca0 <eventLoopLocal>, 
    ev=...) at /xtra/darkmod-svn/trunk/framework/EventLoop.cpp:149
#17 0x00000000004d156a in idEventLoop::RunEventLoop (this=0x13aeca0 <eventLoopLocal>, 
    commandExecution=commandExecution@entry=true)
    at /xtra/darkmod-svn/trunk/framework/EventLoop.cpp:184
#18 0x00000000004ad5f0 in idCommonLocal::Frame (this=0x13266e0 <commonLocal>)
    at /xtra/darkmod-svn/trunk/framework/Common.cpp:2527
#19 0x0000000000483e4d in main (argc=1, argv=0x7fffffffdcc8)
    at /xtra/darkmod-svn/trunk/sys/posix/platform_linux.cpp:580
(gdb) quit
A debugging session is active.

	Inferior 1 [process 4106] will be killed.

Quit anyway? (y or n) y
crash2-clip.txt (3,854 bytes)   

Activities

nbohr1more

nbohr1more

09.12.2022 05:30

developer   ~0015533

Please confirm whether this can be reproduced in 2.10 and 2.11 (beta) and with the latest Painter's Wife revision

Issue History

Date Modified Username Field Change
05.03.2021 01:30 sneaker New Issue
05.03.2021 01:30 sneaker File Added: crash2-clip.txt
09.12.2022 05:30 nbohr1more Note Added: 0015533