第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

構(gòu)建 Go 項(xiàng)目時(shí)出現(xiàn)“nosplit stack overflow”?

構(gòu)建 Go 項(xiàng)目時(shí)出現(xiàn)“nosplit stack overflow”?

Go
猛跑小豬 2021-06-02 13:54:20
我通過(guò)將代碼拆分為更多 Go 包對(duì)代碼進(jìn)行了大掃除,主要是為了提高可重用性(每個(gè)“構(gòu)建塊”都在自己的包中)。修復(fù)導(dǎo)入錯(cuò)誤后,我發(fā)現(xiàn)我的程序突然無(wú)法構(gòu)建。運(yùn)行“go build”會(huì)返回一個(gè)nosplit 堆棧溢出錯(cuò)誤。機(jī)器人 main.init: nosplit 堆棧溢出    120     guaranteed after split check in main.init    112     on entry to robot/web.init    104     on entry to robot/controller.init    96      on entry to robot/slam.init    88      on entry to robot/slam/hector.init    80      on entry to hectormapping/map/mapimages.init    72      on entry to hectormapping/map/maprep.init    64      on entry to hectormapping/map/mapproccontainer.init    56      on entry to hectormapping/scanmatcher.init    48      on entry to hectormapping/map/gridmap/occbase.init    40      on entry to hectormapping/map/gridmap/base.init    32      on entry to hectormapping/map/gridmap.init    24      on entry to github.com/skelterjohn/go%2ematrix.init    16      on entry to math.init    8       on entry to math.init┬à1    0       on entry to runtime.panicindex    -8      on entry to runtime.morestack00runtime.main: nosplit 堆棧溢出    120     guaranteed after split check in runtime.main    128     after runtime.main uses -8    120     on entry to main.init    112     on entry to robot/web.init    104     on entry to robot/controller.init    96      on entry to robot/slam.init    88      on entry to robot/slam/hector.init    80      on entry to hectormapping/map/mapimages.init    72      on entry to hectormapping/map/maprep.init    64      on entry to hectormapping/map/mapproccontainer.init    56      on entry to hectormapping/scanmatcher.init    48      on entry to hectormapping/map/gridmap/occbase.init    40      on entry to hectormapping/map/gridmap/base.init    32      on entry to hectormapping/map/gridmap.init有誰(shuí)知道這是關(guān)于什么的?我找不到關(guān)于可能導(dǎo)致它的原因的太多文檔,除了在某些情況下,這是一個(gè)應(yīng)該已修復(fù)的錯(cuò)誤。一些代碼被拆分到“src”文件夾中的一個(gè)新文件夾中,因此文件結(jié)構(gòu)現(xiàn)在是:src/robot/main.go (main() lives here)src/robot/(...) (application-specific packages)src/hectormapping/(...) (stand-alone package used in "robot")我在 Windows 7 (x64) 上使用 Go 1.0.3。
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 424 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)