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.的更多相关文章

  1. Program terminated with signal 6, Aborted,有可能啥原因呢?

    Program terminated with signal 6, Aborted,有可能啥原因呢?其中一种原因就是事实上的OOM(虽然/var/log/message中没有标明操作系统kill了进行 ...

  2. Program terminated with signal 6, Aborted. (最后发现是数组越界导致)

    外网崩溃现象: 1.多台物理机中的多个进程消失,而且都是场景进程. 2.core文件都很小,看了 ulimit -a 和 cat proc/pid/limits  (都很正常.看这个是为了以后core ...

  3. Program terminated with signal SIGKILL,Killed

    车载后视镜机器,Liinux + qtUI形式,前后双路,前一天晚上开机用gdb run DvrUI,第二天早上回来一看,机器绿屏卡死了,录像预览停止刷新了,sd录像也停止了.点击无任何反应. 看gd ...

  4. Mongo导出数据文件导致错误 Got signal: 6 (Aborted)解决方法

    一哥们要导出一个数据表的数据,结果导出一半,硬盘不够用,卡死了, 然后重启主机,导致mongo启动后进程自动死掉, 报错如下. Mon Oct 28 10:39:02.270 [initandlist ...

  5. Xcode崩溃问题调试 signal SIGABRT&EXC_BAD_ACCESS

    在进行app开发过程中会遇到很多的问题,各种崩溃令人相当头疼.当然,解决bug的能力也体现了一个程序员的水平,现在来说一说开发中经常遇到的崩溃问题吧. 常见崩溃问题: 一是signal SIGABRT ...

  6. Application received signal SIGABRT

    Application received signal SIGABRT (null) (( 0 CoreFoundation 0x0000000182bbadc8 <redacted> + ...

  7. Command terminated by signal 11

    Command terminated by signal 11可能的情况之中的一个是数组越界.你在訪问不被同意的内存空间.

  8. 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 ...

  9. Xcode中编译iOS程序,运行出错:Thread 1: signal SIGABRT

    添加一个全局Exception Breakpoint 就检测出来了  导航栏里面 Debug 菜单里面

随机推荐

  1. How to Install Xcode, Homebrew, Git, RVM, Ruby & Rails on Snow Leopard, Lion, Mountain Lion, and Mavericks

    After following many outdated and incomplete instructions for setting up a web development environme ...

  2. angular初体验

    所有需要ng管理的代码必须被包裹在一个有ng-app指令的元素中ng-app是ng的入口,表示当前元素的所有指令都会被angular管理(对每一个指令进行分析和操作) 利用angular实现双向绑定: ...

  3. 使用Cookie报错Control character in cookie value, consider BASE64 encoding your value

    参考资料: http://www.blogjava.net/persister/archive/2009/10/02/297103.html http://blog.csdn.net/xiaozhen ...

  4. Python 将json字符串 进行列表化可循环

    import json data = [{1:':'d'}] json.loads(datas))

  5. mouseover mouseenter mouseout mouseleave

    mouseover与mouseenter 不论鼠标指针穿过被选元素或其子元素,都会触发 mouseover 事件. 只有在鼠标指针穿过被选元素时,才会触发 mouseenter 事件. mouseou ...

  6. dp之多重背包2191

    水题........ #include<iostream> #include<stdio.h> #include<string.h> using namespace ...

  7. ldap temp

    #http://www.openldap.org/software/man.cgi?query=slapcat&apropos=0&sektion=0&manpath=Open ...

  8. PHP——数组2(数组函数,二维数组,正则表达式)

    <body> <?php //数组函数 $arr=array(1,2,3,4,5,6); print_r($arr); echo "<br />"; ...

  9. Spider Studio 新版本 (x-mas) - 可以引入第三方程序集, 可以将脚本生成为DLL

    Merry X'mas! Spider Studio本年度最后一次重大更新发生在圣诞节, 又是一次美好的巧合 :) 本次更新主要包含两个重要功能: 1. 引入第三方程序集 在"设置" ...

  10. 1.javascript语言精粹笔记

    一.注释 /**/ // 采用这个 二.标识符 标识符被用于语句.变量.参数.属性名.运算符和标记三.数字 javascript只有一个单一的数字模型.它在内部被表示64位的浮点数. 没有分离出整形, ...