Hello List,

I am trying to figure out the buffer overflow I am getting when starting evidence. I have tried setting the LC_CYTPE and other things but basically whatever I try I keep getting the buffer overflow.

It happens on both of my systems running fully updated FC4. Both E17 installs are rpm based. In an attempt to figure this out I obtained the src rpm and have built it locally and then installed it.

Some system info is:

P4 1G ram
uname -r = 2.6.13-1.1532_FC4smp
nVidia w/ nVidia proprietary driver
evidence version = evidence-debuginfo-0.9.8-1.20050914cvs
                   evidence-0.9.8-1.20050914cvs

The following is the gdb output.
====================================
gdb evidence
GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/evidence
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x299000
[Thread debugging using libthread_db enabled]
[New Thread -1209035040 (LWP 20367)]
0 evidence.c::main: LC_CTYPE is not set, falling back to LANG ("en_US.UTF-8")...
automatic tooltips are disabled. use the middle mouse-button to call
up a tooltip, or start me like so to enable tooltips:

        /usr/bin/evidence --enable-tooltips

Evidence: 20 minutes into the future.
Version 0.9.8 (Oct 26 2005)
(c)2002-2005 by Azundris et al.

Built with --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info

*** buffer overflow detected ***: /usr/bin/evidence terminated
======= Backtrace: =========
/lib/libc.so.6(__chk_fail+0x41)[0xbf9c45]
/usr/bin/evidence(thumbnail_plugins_init+0x0)[0x8076706]
/usr/bin/evidence(thumbnail_plugins_init+0x88)[0x807678e]
/usr/bin/evidence(thumbnail_init+0x193)[0x8073164]
/usr/bin/evidence(main+0x446)[0x805b114]
/lib/libc.so.6(__libc_start_main+0xdf)[0xb30d5f]
/usr/bin/evidence[0x80594b1]
======= Memory map: ========
00101000-00162000 r-xp 00000000 03:02 1987654 /usr/lib/libfreetype.so.6.3.7 00162000-00169000 rwxp 00061000 03:02 1987654 /usr/lib/libfreetype.so.6.3.7
00169000-0016b000 rwxp 00000000 00:10 1905       /dev/zero
0016b000-00170000 r-xp 00000000 03:02 1986196 /usr/lib/libpangoxft-1.0.so.0.800.1 00170000-00171000 rwxp 00005000 03:02 1986196 /usr/lib/libpangoxft-1.0.so.0.800.1 00171000-00172000 r-xp 00000000 03:02 1625853 /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 00172000-00173000 rwxp 00000000 03:02 1625853 /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 00173000-00177000 r-xp 00000000 03:02 1625838 /usr/X11R6/lib/libXfixes.so.3.0 00177000-00178000 rwxp 00003000 03:02 1625838 /usr/X11R6/lib/libXfixes.so.3.0
00178000-00179000 r-xp 00000000 03:02 2048401    /usr/lib/gconv/ISO8859-1.so
00179000-0017b000 rwxp 00000000 03:02 2048401    /usr/lib/gconv/ISO8859-1.so
0017b000-0017d000 r-xp 00000000 03:02 3121795 /usr/lib/evidence/ipc/ipc_ecore.so 0017d000-0017e000 rwxp 00001000 03:02 3121795 /usr/lib/evidence/ipc/ipc_ecore.so
00180000-0018f000 r-xp 00000000 03:08 242576     /lib/libresolv-2.3.5.so
0018f000-00190000 r-xp 0000e000 03:08 242576     /lib/libresolv-2.3.5.so
00190000-00191000 rwxp 0000f000 03:08 242576     /lib/libresolv-2.3.5.so
00191000-00193000 rwxp 00191000 00:00 0
00193000-00273000 r-xp 00000000 03:02 1987674    /usr/lib/libstdc++.so.6.0.5
00273000-00278000 rwxp 000df000 03:02 1987674    /usr/lib/libstdc++.so.6.0.5
00278000-0027e000 rwxp 00278000 00:00 0
0027e000-00287000 r-xp 00000000 03:08 242485     /lib/libnss_files-2.3.5.so
00287000-00288000 r-xp 00008000 03:08 242485     /lib/libnss_files-2.3.5.so
00288000-00289000 rwxp 00009000 03:08 242485     /lib/libnss_files-2.3.5.so
00289000-00296000 r-xp 00000000 03:02 1986271    /usr/lib/libmagic.so.1.0.0
00296000-00297000 rwxp 0000d000 03:02 1986271    /usr/lib/libmagic.so.1.0.0
00299000-0029a000 r-xp 00299000 00:00 0          [vdso]
0029a000-002a0000 r-xp 00000000 03:02 1986589    /usr/lib/libfam.so.0.0.0
002a0000-002a1000 rwxp 00006000 03:02 1986589    /usr/lib/libfam.so.0.0.0
002a1000-002a6000 r-xp 00000000 03:08 246272     /lib/libacl.so.1.1.0
002a6000-002a7000 rwxp 00004000 03:08 246272     /lib/libacl.so.1.1.0
002a9000-002c7000 r-xp 00000000 03:02 1985602    /usr/lib/libjpeg.so.62.0.0
002c7000-002c8000 rwxp 0001d000 03:02 1985602    /usr/lib/libjpeg.so.62.0.0
002ca000-0034e000 r-xp 00000000 03:02 1988172 /usr/lib/libglib-2.0.so.0.600.6 0034e000-00353000 rwxp 00084000 03:02 1988172 /usr/lib/libglib-2.0.so.0.600.6 00355000-00358000 r-xp 00000000 03:02 1986325 /usr/lib/libgmodule-2.0.so.0.600.6 00358000-00359000 rwxp 00002000 03:02 1986325 /usr/lib/libgmodule-2.0.so.0.600.6 00359000-0036a000 r-xp 00000000 03:02 3121680 /usr/lib/evidence/backend/posix.so 0036a000-0036b000 rwxp 00010000 03:02 3121680 /usr/lib/evidence/backend/posix.so
0036b000-0036e000 r-xp 00000000 03:08 246270     /lib/libattr.so.1.1.0
0036e000-0036f000 rwxp 00002000 03:08 246270     /lib/libattr.so.1.1.0
00373000-003ab000 r-xp 00000000 03:02 1988487 /usr/lib/libgobject-2.0.so.0.600.6 003ab000-003af000 rwxp 00037000 03:02 1988487 /usr/lib/libgobject-2.0.so.0.600.6 003b1000-003d4000 r-xp 00000000 03:02 1985549 /usr/lib/libpng12.so.0.1.2.8 003d4000-003d5000 rwxp 00023000 03:02 1985549 /usr/lib/libpng12.so.0.1.2.8 003d7000-00407000 r-xp 00000000 03:02 1985859 /usr/lib/libpango-1.0.so.0.800.1 00407000-0040d000 rwxp 00030000 03:02 1985859 /usr/lib/libpango-1.0.so.0.800.1 0040f000-00419000 r-xp 00000000 03:02 1986197 /usr/lib/libpangox-1.0.so.0.800.100419000-0041a000 rwxp 00009000 03:
Program received signal SIGABRT, Aborted.
[Switching to Thread -1209035040 (LWP 20367)]
0x00299402 in __kernel_vsyscall ()
(gdb)
---------------------------------
Not sure what it could be.

Ideas?

TIA
--
Jim Summers
School of Computer Science-University of Oklahoma
-------------------------------------------------


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to