这个很平常的代码其实本身还是有些技术含量的
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
%global srcvers 3.0.0-beta-1 | |
%global srcname protobuf-%{srcvers} | |
%global _prefix /opt/%{srcname} | |
# | |
Summary: Protocol Buffers Google''s data interchange format | |
Name: protobuf3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: core file may not match specified executable file. | |
[New LWP 15712] | |
[New LWP 15799] | |
[New LWP 15713] | |
[New LWP 15801] | |
[New LWP 15802] | |
[New LWP 15711] | |
[New LWP 15800] | |
[New LWP 15691] | |
[Thread debugging using libthread_db enabled] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) bt | |
#0 0x00007fcec8f181d7 in raise () from /lib64/libc.so.6 | |
#1 0x00007fcec8f198c8 in abort () from /lib64/libc.so.6 | |
#2 0x00007fcec981c9d5 in __gnu_cxx::__verbose_terminate_handler() () from /lib64/libstdc++.so.6 | |
#3 0x00007fcec981a946 in ?? () from /lib64/libstdc++.so.6 | |
#4 0x00007fcec981a973 in std::terminate() () from /lib64/libstdc++.so.6 | |
#5 0x00007fcec981ab93 in __cxa_throw () from /lib64/libstdc++.so.6 | |
#6 0x00007fcec986fa17 in std::__throw_out_of_range(char const*) () from /lib64/libstdc++.so.6 | |
#7 0x0000000000412fd9 in std::vector<int, std::allocator<int> >::_M_range_check (this=0x14e7940, __n=1) at /usr/include/c++/4.8.2/bits/stl_vector.h:794 | |
#8 0x0000000000412c57 in std::vector<int, std::allocator<int> >::at (this=0x14e7940, __n=1) at /usr/include/c++/4.8.2/bits/stl_vector.h:830 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copyright (C) 1997,1998,1999,2000,2001,2006 Free Software Foundation, Inc. | |
This file is part of the GNU C Library. | |
The GNU C Library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Lesser General Public | |
License as published by the Free Software Foundation; either | |
version 2.1 of the License, or (at your option) any later version. | |
The GNU C Library is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
angel是tencent开源的ps架构系统
- 好的架构师演化还是设计出来的?
- 为什么这个问题如此复杂
简单举个例子(可能也不是很形象)select/poll饭店服务员(内核)告诉饭店老板(用户程序):”现在有客人结账“但是这个服务员没人明确告诉老板,哪几桌的客人结帐。老板得自儿一个一个桌子去问:请问是你要结帐?epoll饭店服务员(内核)告诉饭店老板(用户程序):”1,2,5号客人结账“老板就可以直接去1,2,5号桌收钱了
作者:方杨 链接:https://www.zhihu.com/question/21233763/answer/23837166 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
NewerOlder