Khi tôi sử dụng apt-get để cài đặt hoặc nâng cấp hệ thống hardy Ubuntu của tôi, tôi thường nhận được tin nhắn như thế này:Máy thường xuyên segfaults
$ sudo apt-get install foo
Reading package lists... Done
Segmentation faulty tree... 50%
$ sudo apt-get install foo
Reading package lists... Done
Building dependency tree
Reading state information... Done
Segmentation fault
$ sudo apt-get install foo
Reading package lists... Done
Building dependency tree
Reading state information... Done
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted
cc -Os -g -Wall -DLOCAL_ROOT=\"/usr/share/polipo/www/\" -DDISK_CACHE_ROOT=\"/var/cache/polipo/\" -DCHUNK_SIZE=16384 -c -o http_parse.o http_parse.c
http_parse.c:1564: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
make: *** [http_parse.o] Error 1
Nó không xảy ra tất cả các thời gian, vì vậy nếu bạn thử lại đủ bạn thường có thể hoàn thành công việc, nhưng nó làm cho một tỷ lệ phần trăm gây phiền toái lớn.
Bất kỳ ý tưởng nào đang xảy ra hoặc cách khắc phục?
http://ubuntuforums.org/ có lẽ là nơi tốt nhất cho câu hỏi này –
StackOverflow là để đặt câu hỏi lập trình. Bạn có thể nhận trợ giúp với điều này tại một trong các trang web được liệt kê tại đây: http://stackoverflow.com/questions/321618/where-can-i-ask-questions-that-arent-programming-questions – EBGreen
Trình biên dịch segfaulting chỉ liên quan đến lập trình. :-) –