Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43369 - wmpinboard crashes when trying to create a new post and press the first key
Summary: wmpinboard crashes when trying to create a new post and press the first key
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michele Noberasco (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-01 04:21 UTC by Sorin CONSTANTINESCU
Modified: 2004-07-20 12:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sorin CONSTANTINESCU 2004-03-01 04:21:02 UTC
When i type the first key, wmpinboard crashes with Segmentation Fault.

Reproducible: Always
Steps to Reproduce:
1. Run wmpinboard
2. Click on new note
3. press any key

Actual Results:  
wmpinboard crashes.

I compiled wmpinboard with debugging symbols, and ran it with GDB:

gdb ./wmpinboard
GNU gdb 6.0
Copyright 2003 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 "i686-pc-linux-gnu"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) run
Starting program:
/var/tmp/portage/wmpinboard-1.0/work/wmpinboard-1.0/src/wmpinboard 

Program received signal SIGSEGV, Segmentation fault.
0x4006cf69 in XmbLookupString () from /usr/X11R6/lib/libX11.so.6
(gdb) bt
#0  0x4006cf69 in XmbLookupString () from /usr/X11R6/lib/libX11.so.6
#1  0x08053ccb in handle_KeyPress (event=0xbffff910) at wmpinboard.c:1913
#2  0x0805514b in main (argc=1, argv=0xbffffa34) at wmpinboard.c:2184
(gdb)      

Expected Results:  
show the keys pressed

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3)
=================================================================
System uname: 2.6.3 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-g"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.lug.ro/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm
gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl
slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Sorin CONSTANTINESCU 2004-03-25 03:15:25 UTC
any news? :(
Comment 2 Frank Benkstein 2004-06-07 12:14:10 UTC
I'm interested in this one, too.
Comment 3 Michele Noberasco (RETIRED) gentoo-dev 2004-07-20 12:20:45 UTC
Added a patch to fix the problem, updated the ebuild. Now in Portage.
Thanks for the submission!