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. CSS3多列布局

    通过 CSS3,您能够创建多个列来对文本进行布局 - 就像报纸那样! 在本章中,您将学习如下多列属性: column-count column-gap column-rule 浏览器支持 属性 浏览器 ...

  2. AIX中查找端口号和进程

    1.由端口号查找进程 维护系统或检查到不明的端口自然要去查一下这个端口是由哪个进程来监听的windows可以用命令netstat -ano来查端口对应的进程的pid. aix却并不能,aix需要使用下 ...

  3. Cookie、Session详解

    讲解的很全面 https://www.cnblogs.com/andy-zhou/p/5360107.html

  4. poj3067 Japan(树状数组)

    转载请注明出处:http://blog.csdn.net/u012860063 题目链接:id=3067">http://poj.org/problem? id=3067 Descri ...

  5. spring boot的@RequestParam和@RequestBody的区别

    一.问题描述 由于项目是前后端分离,因此后台使用的是spring boot,做成微服务,只暴露接口.接口设计风格为restful的风格,在get请求下,后台接收参数的注解为RequestBody时会报 ...

  6. Linux上的free命令简介

    每次使用free时都比较迷惑,对于上面的内容一直都不是很清楚,今天仔细查了以下,和大家一起分享以下: 先看一下free的运行结果: free打印出的内存信息主要分为两种,一种是安装的内存,一种是用磁盘 ...

  7. 查看cpu 个数, 内存信息

    查看物理CPU个数 cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l 查看每个物理CPU中core的个数(即核数) ...

  8. chrome显示小于12号字体的方法

    我现在做一个支持英文的网站,但是字体要设置小于12号字体,我百度方法是-webkit-text-size-adjust:none;  但是谷歌为什么不支持啊,  有没有解决办法 让谷歌浏览器 支持小于 ...

  9. jQuery Easyui Datagrid相同连续列合并扩展

    /** * author ____′↘夏悸 * create date 2012-11-5 **/$.extend($.fn.datagrid.methods, { autoMergeCells : ...

  10. thinkphp 原生sql使用分页类

    public function index(){ import("@.ORG.Page"); //导入分页类 $Dao = M(); $count = count($Dao-> ...