[질문]디버거 메세지좀 봐주세요.
세그먼트폴트의 원인을 찾기가 너무 힘드네요..
core파일을 실행시켜 봤는데..
이렇게 나왔네여.. 참고좀 해주세요..
참 초기에 warnning은 무시하면 될꺼예여 같은코드로 다른데서 컴파일
한거라 저렇게 나온거 같네여..
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `./LiveStudioStream'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libreadline.so.3...done.
Loaded symbols for /usr/lib/libreadline.so.3
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/i686/libpthread.so.0...done.
[New Thread 1024 (LWP 1510)]
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/libtermcap.so.2...done.
Loaded symbols for /lib/libtermcap.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/gconv/EUC-KR.so...done.
Loaded symbols for /usr/lib/gconv/EUC-KR.so
Reading symbols from /usr/lib/gconv/libKSC.so...done.
Loaded symbols for /usr/lib/gconv/libKSC.so
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0 0x40159227 in __poll (fds=0x44ff9b6c, nfds=1, timeout=5000)
at ../sysdeps/unix/sysv/linux/poll.c63
in ../sysdeps/unix/sysv/linux/poll.c
이게 과연 무엇이 잘못되어서 이럴까요??? 아 괴롭다 ㅠ.ㅠ
Re: [질문]디버거 메세지좀 봐주세요.
0 0x40159227 in __poll (fds=0x44ff9b6c, nfds=1,
timeout=5000)
at ../sysdeps/unix/sysv/linux/poll.c63
in ../sysdeps/unix/sysv/linux/poll.c
올려 주신걸로 봐서는 정확히 모르구요
콜스택을 추적해서 poll을 호출한 함수에서 변수값으로 넘긴
값들을 추적해 봐야겠네요
댓글 달기