段错误Program received signal SIGSEGV, Segmentation fault
程序编译没问题,执行的时候出现段错误,以下是调试信息: gdb test
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.
Reading symbols from /home/fzu/linux/shiy/lpc/test...done.
(gdb) run
Starting program: /home/fzu/linux/shiy/lpc/test
[Thread debugging using libthread_db enabled]
GSTATE_UNKNOWN_1
[New Thread 0xb3fe0b70 (LWP 11849)]
[Thread 0xb3fe0b70 (LWP 11849) exited]
[New Thread 0xb3fe0b70 (LWP 11850)]
[Thread 0xb3fe0b70 (LWP 11850) exited]
ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL default:0
ortp-warning-Could not attach mixer to card: Invalid argument
ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default:0
ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default:0
ortp-warning-Strange, sound card Ensoniq AudioPCI does not seems to be capable of anything, retrying with plughw...
Your machine appears to be connected to an IPv6 network. By default linphone always uses IPv4. Please update your configuration if you want to use IPv6
[New Thread 0xb3fe0b70 (LWP 11851)]
Ready
GSTATE_UNKNOWN_2
linphonec> call sip:192.168.1.103
linphonec>
Program received signal SIGSEGV, Segmentation fault.
0x0032619a in ?? () from /lib/tls/i686/cmov/libc.so.6