Program terminated with signal SIGABRT, Aborted.
linux C++ 程序 启动后就奔溃
#0 0x00007f01ee4c21f7 in raise () from /lib64/libc.so.6
#1 0x00007f01ee4c38e8 in abort () from /lib64/libc.so.6
#2 0x00007f01ee501f47 in __libc_message () from /lib64/libc.so.6
#3 0x00007f01ee5088bd in malloc_consolidate () from /lib64/libc.so.6
#4 0x00007f01ee50a3a5 in _int_malloc () from /lib64/libc.so.6
#5 0x00007f01ee50d10c in malloc () from /lib64/libc.so.6
#6 0x00007f01eedc71bd in operator new(unsigned long) () from /lib64/libstdc++.so.6
#7 0x00007f01eee25cf9 in std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) () from /lib64/libstdc++.so.6
#8 0x000000000040b1cf in std::string::_S_construct<char const*> (
__beg=0x1d41264 "{\"DeviceId\":\"1523945328\",\"Project\":\"stream\",\"Record\":\"RwEAGKQHDY+jeJJ1BNSYQv9Yn4E2D4WsKc3DbHg4CcI70CEKBJH4RUk4P6d//+4tKj7jXB36HrIEnJOIU1BUjPrRDF7IKMFZh8a8IX+lDsHkD5UHhNS1E3gefyrAVu1ccdhE/rWimfMH1hizGA"...,
__end=0x1d41cb3 "\r\nPOST /Info HTTP/1.1\r\nAccept:Application/json\r\nContent-Type:Application/json;charset=utf-8\r\nContent-Length:2639\r\nConnection:keep-alive\r\n\r\n{\"DeviceId\":\"1523945328\",\"Project\":\"stream\",\"Record\":\"RwEAEvV"..., __a=...) at /usr/include/c++/4.8.2/bits/basic_string.tcc:138
#9 0x00007f01eee2763d in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) () from /lib64/libstdc++.so.6
#10 0x0000000000424309 in on_message_complete (p=0x7ffd735b0ee0) at adapter.cpp:693
#11 0x00007f01ef992ab8 in http_parser_execute () from /root/rel/lib/libhttp_parser.so.2.7.1
#12 0x0000000000423b23 in process_input_buffer (c=0x1d3d140) at adapter.cpp:506
#13 0x0000000000423f6c in read_query_from_client (el=0x1cbd8e0, fd=6, privdata=0x1d3d140, mask=1)
at adapter.cpp:604
#14 0x00007f01efda2150 in aeProcessEvents (eventLoop=0x1cbd8e0, flags=3) at ae.c:413
#15 0x000000000042374d in dtadapter::process_events (this=0x7ffd735b10a0) at adapter.cpp:373
#16 0x000000000042bb58 in main (argc=2, argv=0x7ffd735b1298) at main.cpp:60
奔溃在std::string 内部
原因:编译环境的libc 和部署环境的libc 版本不一样
Program terminated with signal SIGABRT, Aborted.的更多相关文章
- Program terminated with signal 6, Aborted,有可能啥原因呢?
Program terminated with signal 6, Aborted,有可能啥原因呢?其中一种原因就是事实上的OOM(虽然/var/log/message中没有标明操作系统kill了进行 ...
- Program terminated with signal 6, Aborted. (最后发现是数组越界导致)
外网崩溃现象: 1.多台物理机中的多个进程消失,而且都是场景进程. 2.core文件都很小,看了 ulimit -a 和 cat proc/pid/limits (都很正常.看这个是为了以后core ...
- Program terminated with signal SIGKILL,Killed
车载后视镜机器,Liinux + qtUI形式,前后双路,前一天晚上开机用gdb run DvrUI,第二天早上回来一看,机器绿屏卡死了,录像预览停止刷新了,sd录像也停止了.点击无任何反应. 看gd ...
- Mongo导出数据文件导致错误 Got signal: 6 (Aborted)解决方法
一哥们要导出一个数据表的数据,结果导出一半,硬盘不够用,卡死了, 然后重启主机,导致mongo启动后进程自动死掉, 报错如下. Mon Oct 28 10:39:02.270 [initandlist ...
- Xcode崩溃问题调试 signal SIGABRT&EXC_BAD_ACCESS
在进行app开发过程中会遇到很多的问题,各种崩溃令人相当头疼.当然,解决bug的能力也体现了一个程序员的水平,现在来说一说开发中经常遇到的崩溃问题吧. 常见崩溃问题: 一是signal SIGABRT ...
- Application received signal SIGABRT
Application received signal SIGABRT (null) (( 0 CoreFoundation 0x0000000182bbadc8 <redacted> + ...
- Command terminated by signal 11
Command terminated by signal 11可能的情况之中的一个是数组越界.你在訪问不被同意的内存空间.
- Linux增加swap空间大小解决编译错误collect2:ld terminated with signal 9(或11)
编译llvm的时候:collect2:ld terminated with signal 9(或11) 1 Creating a file for 1024 MB size you want: We ...
- Xcode中编译iOS程序,运行出错:Thread 1: signal SIGABRT
添加一个全局Exception Breakpoint 就检测出来了 导航栏里面 Debug 菜单里面
随机推荐
- iOS_文件上传进度条的实现思路-AFNettworking
iOS_文件上传进度条的实现思路-AFNettworking //要上传的文件名,在这里我使用当前日期做为文件的名称 NSString * fileName =[NSString stringWith ...
- Lucene:基于Java的全文检索引擎简介 (zhuan)
http://www.chedong.com/tech/lucene.html ********************************************** Lucene是一个基于Ja ...
- Git出现error: Your local changes to the following files would be overwritten by merge: ... Please, commit your changes or stash them before you can merge.的问题解决(Git代码冲突)
在使用git pull拉取服务器最新版本时,如果出现error: Your local changes to the following files would be overwritten by m ...
- DOM方法 getElementsByName()方法
http://www.imooc.com/code/1583 getElementsByName()方法 返回带有指定名称的节点对象的集合. 语法: document.getElementsByNam ...
- Bootstrap学习笔记(8)--响应式导航栏
说明: 1. 响应式导航栏,就是右上角的三道杠,点一下下方出现隐藏的导航栏.如果屏幕够大就显示所有的导航选项,如果屏幕小比如手机,就显示部分,剩下的放到三道杠里隐藏. 2. 外面套一个大的div,其实 ...
- SDRAM基础
一. 介绍 存储器的最初结构为线性,它在任何时刻,地址线中都只能有一位有效.设容量为N×M的存储器有S0-Sn-1条地址线:当容量增大时,地址选择线的条数也要线性增多,利用地址译码虽然可有效地减少地址 ...
- Entity Framework中的实体类添加复合主键
使用Code First模式实现给实体类添加复合主键,代码如下: using System; using System.Collections.Generic; using System.Compon ...
- 概率dp - UVA 11021 Tribles
Tribles Problem's Link: http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=33059 Mean: 有k个细 ...
- HttpServlet中,用来处理POST请求的方法是(选择1项)
HttpServlet中,用来处理POST请求的方法是(选择1项) A. doHead B. doGet C. doPost D. doPut 解答:C
- getRequestDispatcher 和sendRedirect区别及路径问题
getRequestDispatcher 和sendRedirect区别 getRequestDispatcher是服务器内部跳转,地址栏信息不变,只能跳转到web应用内的网页. sendRedi ...