[zhoumi@localhost Gnomon]$ file convert_aligns convert_aligns: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped [zhoumi@localhost Gnomon]$ ./convert_aligns segmentation fault (core dumped) 出现segmentation fault (core dumped)的原因很多,不知道该怎么处理?不会要我去改源代码吧,我是新手,玩不来啊!
by zhouzhongmi - Linux系统管理 - 2011-08-19 15:33:04 阅读(2291) 回复(0)
segmentation fault - core dumped 今天试了一个pro*C程序时,编译过程没有问题,只是在执行是报了以上的错误.各位知道引起这个错误的可能的原因吗?我估计是变量在定义时出错了.正在查找原因. 对了环境是 :oracle9 solaris 9 gcc 3.4
#include main(viod) { int i,n; int Array[n]; scanf("%d\n",&n); for(i=0;i main(viod) { int i,n,j; j=scanf("%d",&n); int Array[n]; for(i=0;i #include main() { char *p ; char test[] = "hello"; strcpy(p,test); printf(p); } 编译通过: hubo@hubo:~/c_programming$ gcc -g -o 6 6.c 6.c:9:2: warning: no newline at end of file 但执行时: hubo@hubo:~/c_programming$ ./6 Segmen...
System : FC4
源程序如下,编译运行的时候出现segmentation fault(core dumped)错误,是哪里错了?
gdb的时候说No stack.是哪里错了啊,因为我对C不熟悉,还请各位解惑。谢谢
#include
关于Floating point error:Domain.
程序内容:
#include
#include
#include
请教segmentation fault (core dumped) 机器: SunOS 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-250 lpstat -t scheduler is running system default destination: HP2 device for hawbs: /dev/hawbs device for hawbc: /dev/hawbc device for AC1: /dev/AC1 device for HP2: /dev/HP2 device for HP3: /dev/HP3 hawbs accepting requests since Mon Oct 28 04:25:53 CST 2002 hawbc accepting requests since Mon Oct 28 04:...
请教segmentation fault (core dumped)\r\n机器:\r\nSunOS 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-250\r\n\r\nlpstat -t\r\nscheduler is running\r\nsystem default destination: HP2\r\ndevice for hawbs: /dev/hawbs\r\ndevice for hawbc: /dev/hawbc\r\ndevice for AC1: /dev/AC1\r\ndevice for HP2: /dev/HP2\r\ndevice for HP3: /dev/HP3\r\nhawbs accepting requests since Mon Oct 28 04:25:53 CST 2002\r\nhawbc ...
sybase-12.5 for sun的 打上 11442 的补丁后 报错 $ asecfg segmentation fault - core dumped 为何? 谢谢