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. 02、获取 WebView 控件中,加载的 HTML 网页内容

    在开发 app 的时候,WebView 是经常使用的控件.而且有时需要向 WebView 中的 html 内容 注入额外的 js 进行操作.这里记录一下在当前 WebView 控件中,获取 html ...

  2. 在form action中滥用绝对路径导致session的attribute丢失(无法正常保存)

    症状: 刚才在做一个利用session的attribute保存用户的id的实验,login.jsp输入用户id,提交给LoginServlet去数据库验证,然后LoginServlet根据验证情况跳转 ...

  3. session监听器HttpSessionBindingListener

    首先我在网上查了一下session的真正销毁条件: 1调用 session.invalidate();方法 2 session到了设置或者默认的超时时间,自动销毁(关闭浏览器此session还未销毁, ...

  4. Centos 挂载NTFS格式的USB硬盘

    公司的一台服务器本身硬盘容量较小,要加一块2T的硬盘,用来做samba服务器,以下是挂载硬盘的主要记录: 这是服务器不认NTFS格式的情况:mount: unknown filesystem type ...

  5. Groovy学习()起步

    安装Groovy 在Windows环境下安装Groovy 下载安装包,傻瓜安装,设置环境目录,就这样搞定. 另外还需要安装Java并且设置JAVA_HOME环境变量. 两分钟搞定. 使用groovys ...

  6. C语言 · 逆序排列

    算法提高 逆序排列   时间限制:1.0s   内存限制:512.0MB      问题描述 编写一个程序,读入一组整数(不超过20个),并把它们保存在一个整型数组中.当用户输入0时,表示输入结束.然 ...

  7. Android——加载模式

    <activity android:name=".MainActivity" android:launchMode="standard"><! ...

  8. hdu6125 Free from square 分组背包+状态压缩

    /** 题目:hdu6125 Free from square 链接:http://acm.hdu.edu.cn/showproblem.php?pid=6125 题意: 从不大于n的所有正整数中选出 ...

  9. PHP多进程编程(一)

    虽然PHP 中,多进程用的比较的少.但是毕竟可能是会用到了.我最近就遇到这样一个问题,用户提交几百个url以后,要读出这个url 中的标题. 当然,你不希望用户等待的太久,10s 钟应该给出个答案.但 ...

  10. 第二百六十二节,Tornado框架-cookie

    Tornado框架-cookie Cookie 是网站用来在客户端保存识别用户的一种小文件.一般来用库可以保存用户登 录信息.购物数据信息等一系列微小信息. self.set_cookie()方法,创 ...