I am trying to test linux kernel stack size in 64 bit.
我发现这种奇怪的行为。我编写了以下代码来崩溃内核,但奇怪的是,只有当printk没有注释时,它才会崩溃,否则运行良好,没有错误/警告!
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
static int __init crash_stack_init(void)
{
long arr[1
最近,从登录屏幕登录到桌面的时间增加了10倍。我试图找出原因,并发现下面的错误弹出在..xsession errors文件中
init: update-notifier-crash (/var/crash/open-vm-tools-dkms.0.crash) main process (2472) terminated with status 127
init: update-notifier-crash (/var/crash/_usr_bin_gnome-panel.1000.crash) main process (2476) terminated with status 127
in
我花了一整天的时间研究这个bug,我的同事说它看起来像链接器或库错误。我以前从来没有过这样的经历,所以我来这里记录它并寻求帮助!
调用main之前的可执行段错误
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff7b47901 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2 0x00007ffff7b47
我的系统崩溃了,尽管在查看了通常的日志之后,我仍然无法知道造成崩溃的原因:消息、dmesg、安全等等。我在这些日志上没有看到任何有价值的东西,所以我决定按照教程来运行崩溃应用程序,看看可能发生了什么。
每次我用:
$ sudo crash System.map-3.10.0-123.el7 vmlinuz-3.10.0-123.el7 vmcore
我得到以下错误:crash: vmlinuz-3.10.0-123.el7: not a supported file format
这是输出:
crash 7.0.9-5.el7_1
Copyright (C) 2002-2014 Red Ha
当我试图安装本地.rpm包时,我遇到了一个问题。错误消息:
Total size: 124 M
Installed size: 124 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
error: Couldn't create temporary file for %pre(PACKAGE): Success
Error in PREIN scri
我试图使用kdump和崩溃实用程序来分析openSUSE 11.3上的Linux内核恐慌。系统正在成功地创建vmcore文件,但是当我去分析它时,crash抱怨缺少符号。
# crash -s vmlinux-2.6.34-12-desktop.gz vmcore
crash: vmlinux-2.6.34-12-desktop.gz: no debugging data available
crash: vmlinux-2.6.34-12-desktop.debug: debuginfo file not found
crash: either install the appropriat
我的/boot/分区已经满了,我不能清除旧内核,我已经尝试了这里的建议,但没有运气如何在/中释放更多的空间?
dpkg -l linux-image-\* | grep ^ii
ii linux-image-4.4.0-71-generic 4.4.0-71.92 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-72-generic 4.4.0-72.93 amd64 Linux kernel image for ver
我每次登录时都会弹出一个错误,上面写着系统服务崩溃或诸如此类的事情。
我很确定这就是正在发生的事..。有洞察力吗?
openConnection: connect: No such file or directory
cannot connect to brltty at :0
Script for cjkv started at run_im.
Script for default started at run_im.
init: update-notifier-crash (/var/crash/_usr_bin_Xorg.0.crash) main process (3280) term
我使用的是64位操作系统的RHEL 6。对于我的一个应用程序,我安装了“jre-6u23-linux-x64.bin”。当我执行我的应用程序时,我得到以下错误:
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x0000003222414d70, pid=4977, tid=140076581496592
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.