Comments (12)
One thing I noticed is that you are using root@in_dev_docker. If you follow the README.md, you should be able to login docker dev environment without using root.
Remeber to logout and login your system after bash docker/scripts/install_docker.sh
Another possible reason is that your computing resource is limited. I am trying to add a patch to limit the concurrent bazel build jobs.
from apollo.
ran docker ps
and access was denied after bash docker/scripts/install_docker.sh,
assume those prior logout and login steps contribute no effect to work out the docker without sudo. am I ignoring anything visible in the guideline since I'm totally new to the docker environment. @startcode
from apollo.
This looks like an internal compiler problem that might be due to limited system resource, e.g., insufficient memory. See tensorflow/serving#13 for reference. It probably doesn't have anything to do with whether the user is root in docker.
Also you can run bazel build //modules/dreamview/backend/... to compile dreamview only to detect whether the problem is related to the build target.
from apollo.
I agree with @siyangy that it is likely the resource problem. We just used a way to restrict the resource that bazel can consume.
@lostinet can you pull the latest code and try again? Thank you.
from apollo.
@lostinet You can run dmesg to see if an OOM led to the compiler meltdown: https://stackoverflow.com/questions/30887143/make-j-8-g-internal-compiler-error-killed-program-cc1plus
from apollo.
ERROR: Error during action cache initialization: Failed action cache referential integrity check: Validation mismatch: validation entry 8007 is too large compared to index size 4615. Corrupted files were renamed to '/root/.cache/bazel/_bazel_root/540135163923dd7d5820f3ee4b306b32/action_cache/*.bad'. Blaze will now reset action cache data, causing a full rebuild. INFO: From Writing file modules/localization/proto/libcamera_parameter_proto.a-2.params: external/glog/src/logging.cc: In static member function 'static void google::LogMessage::Fail()': external/glog/src/logging.cc:1489:1: warning: 'noreturn' function does return [enabled by default] } ^ ERROR: /apollo/modules/control/tools/BUILD:31:1: C++ compilation of rule '//modules/control/tools:control_tester' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g '-std=c++0x' '-DUSE_ESD_CAN=false' -MD -MF ... (remaining 91 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 4. gcc: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate.
here's one more trial and one more error.
@startcode @siyangy
from apollo.
while dmesg
there is a hint: out of memory: Kill process 60171(cc1plus) score 244 or sacrifice child.
@siyangy
from apollo.
Yeah that confirms the failure was due an OOM. How much memory do you have in your system?
from apollo.
Also, as @startcode suggested, you can pull the newest code that limits the bazel job number to 10. We have verified internally that it could solve the similar compiler failure you have run into.
from apollo.
well, just noticed my 16GB memory on MAC assigned merely 1GB to its virtual machine (Ubuntu).
anyway, OOM error removed with updated codes!
@siyangy
from apollo.
显示build失败,是否必须用制定的java 版本,并且必须在对应目录下面?
Seems that the build command should add "sudo". change to "sudo bash apollo.sh build
"
from apollo.
@wadewang6 Can you create a new issue for this problem? This thread is a different problem and has been closed.
Thanks.
from apollo.
Related Issues (20)
- dreamview failed to start, possible cause: lane sampled_ width is too small.. I failed to start dreamview. From the dreamview.INFO log, I think possible cause: lane sampled_ width is too small. Please help resolve this issue. HOT 1
- Apollo 9.0 Failed Build , RTX 4060 HOT 1
- Headlight and turn signal HOT 1
- 变量is_virtual_ 判断存在bug HOT 1
- No obstacle information during perception : multi sensor fusion HOT 2
- question about UpdateLateralBoundsByObstacle in path_time_graph.cc
- How To Enable OverTake In Apollo9
- Questions regarding to `imu_coord_rfu` flag HOT 1
- apollo 9.0 与carla联合仿真存在问题 HOT 4
- golang version of baidu apollo cyber, work in process, support shm transport HOT 1
- 华测设备直接输入信号可以进行赋值,模拟的信号无法赋值 HOT 1
- Error in Control module with planned trajectory HOT 2
- getMaxCdrSerializedSize/getCdrSerializedSize 函数中的运算是什么含义? HOT 4
- Low Frame Rate Issue with Concurrent Lidar and Camera HOT 5
- D-Kit Support in Singapore HOT 5
- [aem] How to use aem start while mapping port HOT 1
- How can I use Python code or terminal command to reset backend data just like in the DreamView? HOT 4
- The error "class apollo::perception::base::Image8U has no member named 'count'" was encountered during compilation. HOT 1
- Inconsistencies between different gps and unix time conversion implementation
- IMU reference system HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo.