Ekiga segfaulting with stack overflow

आशीष शुक्ल Ashish Shukla wahjava.ml at gmail.com
Wed Oct 8 20:56:51 UTC 2008


Hi all,

I'm experiencing following issue with ekiga-2.0.11_4 package.

----8<----8<-----
% gdb `which ekiga`
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...
(gdb) run
Starting program: /usr/local/bin/ekiga 
[New LWP 100218]
[New Thread 0x80a701120 (LWP 100218)]
[New Thread 0x80a701400 (LWP 100257)]
[New Thread 0x80a701570 (LWP 100258)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x80a701120 (LWP 100218)]
0x0000000808fc4a82 in __opendir2 (name=0x80c5ade40 "/dev/ext2fs/", flags=3)
     at /usr/src/lib/libc/gen/opendir.c:77
77		if (stat(name, &statb) != 0)
Current language:  auto; currently c
(gdb) bt
#0  0x0000000808fc4a82 in __opendir2 (name=0x80c5ade40 "/dev/ext2fs/", flags=3)
     at /usr/src/lib/libc/gen/opendir.c:77
#1  0x0000000807ca8f27 in PDirectory::Open (this=0x7fffffc007b0, ScanMask=511) at osutil.cxx:546
#2  0x000000080aa18b7c in CollectSoundDevices (devdir=@0x7fffffc007b0, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:347
#3  0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc00b70, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#4  0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc00f30, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#5  0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc012f0, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#6  0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc016b0, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#7  0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc01a70, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#8  0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc01e30, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#9  0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc021f0, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#10 0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc025b0, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#11 0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc02970, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#12 0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc02d30, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#13 0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc030f0, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#14 0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc034b0, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#15 0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc03870, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#16 0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc03c30, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#17 0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc03ff0, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
#18 0x000000080aa18c4c in CollectSoundDevices (devdir=@0x7fffffc043b0, dsp=@0x7fffffffe0b0, 
     mixer=@0x7fffffffe090, collect_with_names=1) at sound_oss.cxx:354
....
(gdb) print name
$1 = 0x80c5addf0 "/dev/ext2fs/"
(gdb) print statb
$2 = {st_dev = 0, st_ino = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0, 
   st_atimespec = {tv_sec = 0, tv_nsec = 0}, st_mtimespec = {tv_sec = 0, tv_nsec = 0}, 
   st_ctimespec = {tv_sec = 0, tv_nsec = 0}, st_size = 0, st_blocks = 0, st_blksize = 0, 
   st_flags = 0, st_gen = 0, st_lspare = 0, st_birthtimespec = {tv_sec = 0, tv_nsec = 0}}

% ls -l /dev/ext2fs
ls: : No such file or directory
total 0
crw-r-----  1 root  operator    0, 105 Oct  8 13:39 archives
crw-r-----  1 root  operator    0, 104 Oct  8 13:39 lectures
% find /dev/ext2fs/
/dev/ext2fs/
find: /dev/ext2fs/: No such file or directory
/dev/ext2fs/lectures
/dev/ext2fs/archives
% stat /dev/ext2fs
67174144 120 dr-xr-xr-x 3 root wheel 4294967295 512 "Oct  8 13:39:34 2008" "Oct  8 13:39:34 2008" "Oct  8 13:39:34 2008" "Jan  1 05:29:59 1970" 4096 1 0 /dev/ext2fs
---->8---->8----

I've also installed Gentoo GNU/Linux on the same box with ext3 partitions. The 
partitions which are displayed above are only two of them, other ext3 partitions 
aren't showing up in that directory. And as you can see, there is some invalid 
file also present in that directory which ekiga is not able to figure out. Any 
ideas how to fix this issue.

Since, I've posted it to both freebsd-questions and freebsd-ports, please 
post followups where you think is appropriate place for this.

Thanks
Ashish Shukla
-- 
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
()  ascii ribbon campaign - against HTML e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081008/76eaa423/attachment.pgp


More information about the freebsd-questions mailing list