2025-07-18 18:24 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001578Spring engineGeneralpublic2009-08-24 00:16
Reporterimbaczek 
Assigned ToAuswaschbar 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.80.2.0+git 
Target VersionFixed in Version 
Summary0001578: crash in CSound::PlaySample
DescriptionBA 7.0

#0 CSound::PlaySample (this=0x8387c30, id=10990836, p=@0x1d86bfd0,
    velocity=@0x1d86c044, volume=1, relative=false)
    at K:\progz\spring\rts\System\Sound\Sound.cpp:309
    lck = {
  m = 0x8387cb8,
  is_locked = true
}
    best = (SoundSource *) 0x53276368
#1 0x0082ab42 in EffectChannel::PlaySample (this=0xbab670, id=10990836,
    u=0x1d86bfb8, ovolume=1)
    at K:\progz\spring\rts\System\Sound\AudioChannel.cpp:54
No locals.
#2 0x00715868 in CUnit::Activate (this=0x1d86bfb8)
    at K:\progz\spring\rts\Sim\Units\Unit.cpp:2036
    soundIdx = <value optimized out>
0000003 0x007171ed in CUnit::FinishedBuilding (this=0x1d86bfb8)
    at K:\progz\spring\rts\Sim\Units\Unit.cpp:1837
    oldCloak = false
0000004 0x007144a2 in CUnit::AddBuildPower (this=0x1d86bfb8, amount=9.375,
    builder=0x1cd01008) at K:\progz\spring\rts\Sim\Units\Unit.cpp:1719
    part = <value optimized out>
    metalUse = <value optimized out>
    energyUse = <value optimized out>
0000005 0x00781880 in CBuilder::Update (this=0x1cd01008)
    at K:\progz\spring\rts\Sim\Units\UnitTypes\Builder.cpp:289
    adjBuildSpeed = 4204.68701
#6 0x00733233 in CUnitHandler::Update (this=0xc2b8dd0)
    at K:\progz\spring\rts\Sim\Units\UnitHandler.cpp:318
    myScopedTimerFromMakro = {
  <boost::noncopyable_::noncopyable> = {<No data fields>},
  members of ScopedTimer:
  name = {
    static npos = 4294967295,
    _M_dataplus = {
      <std::allocator<char>> = {
        <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider:
      _M_p = 0x1cb61884 "Unit handler"
    }
  },
  starttime = 56718
}
#7 0x0040f6cf in CGame::SimFrame (this=0xbf041e0)
    at K:\progz\spring\rts\Game\Game.cpp:3429
    cputimer = {
  <boost::noncopyable_::noncopyable> = {<No data fields>},
  members of ScopedTimer:
  name = {
    static npos = 4294967295,
    _M_dataplus = {
      <std::allocator<char>> = {
        <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider:
      _M_p = 0x1d8a404c "CPU load"
    }
  },
  starttime = 56717
}
    forced = {
  <boost::noncopyable_::noncopyable> = {<No data fields>},
  members of ScopedTimer:
  name = {
    static npos = 4294967295,
    _M_dataplus = {
      <std::allocator<char>> = {
        <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider:
      _M_p = 0x1d8a6304 "Sim time"
    }
  },
  starttime = 56717
}
#8 0x0042895d in CGame::ClientReadNet (this=0xbf041e0)
    at K:\progz\spring\rts\Game\Game.cpp:3726
    inbuf = (const unsigned char *) 0x1d9d0068 "\002?½?½?½?½?½?½?½?½??«??«??«?"
    dataLength = 1
    packetCode = <value optimized out>
    packet = {
  px = 0x1d9df3c8,
  pn = {
    pi_ = 0x1d9df3f0
  }
}
#9 0x0042c33c in CGame::Update (this=0xbf041e0)
    at K:\progz\spring\rts\Game\Game.cpp:2740
    timeNow = <value optimized out>
    dif = <value optimized out>
0000010 0x007ecaea in SpringApp::Update (this=0x22fe98)
    at K:\progz\spring\rts\System\SpringApp.cpp:835
    ret = <value optimized out>
#11 0x007f38e7 in SpringApp::Run (this=0x22fe98, argc=2, argv=0x7b14710)
    at K:\progz\spring\rts\System\SpringApp.cpp:959
    lastreset = 56716
    curreset = <value optimized out>
0000012 0x007e5185 in Run (argc=2, argv=0x7b14710)
    at K:\progz\spring\rts\System\Main.cpp:68
    app = {
  cmdline = 0x82b4450,
  screenWidth = 1272,
  screenHeight = 990,
  windowPosX = 322,
  windowPosY = -1,
  windowState = 0,
  FSAA = true,
  depthBufferBits = true,
  lastRequiredDraw = 433
}
0000013 0x007e5656 in WinMain@16 (hInstanceIn=0x400000, hPrevInstance=0x0,
    lpCmdLine=0x241f05 "script.txt", nCmdShow=10)
    at K:\progz\spring\rts\System\Main.cpp:141
No locals.
0000014 0x0086bc78 in main ()
No symbol table info available.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0003980

Auswaschbar (reporter)

fix'd
+Notes

-Issue History
Date Modified Username Field Change
2009-08-23 23:34 imbaczek New Issue
2009-08-23 23:36 imbaczek File Added: soundcrash.sdf
2009-08-24 00:16 Auswaschbar Note Added: 0003980
2009-08-24 00:16 Auswaschbar Status new => resolved
2009-08-24 00:16 Auswaschbar Resolution open => fixed
2009-08-24 00:16 Auswaschbar Assigned To => Auswaschbar
+Issue History