Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292365 - gjiten crashes when operating preferences
Summary: gjiten crashes when operating preferences
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-08 11:13 UTC by Pavel Volkov
Modified: 2012-10-13 17:54 UTC (History)
0 users

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 Pavel Volkov 2009-11-08 11:13:09 UTC
I launch gjiten 2.6.1 and go to Preferences -> WordDic -> Dictionaries, then press Up on one of the dictionaries. This leads to a crash.
I've tried getting a meaningful backtrace with -ggdb in CFLAGS and FEATURES="nostrip" and re-emerging gjiten, but that didn't make it very meaningful. So attaching the core dump.

Reproducible: Always

Actual Results:  
$ gjiten
/usr/share/themes/MurrinaCandido/gtk-2.0/gtkrc:84: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.                                                                                
/usr/share/themes/MurrinaCandido/gtk-2.0/gtkrc:85: Murrine configuration option "lightborder_ratio" will be deprecated in future releases. Please use "lightborder_shade" instead.                                                                            
/usr/share/themes/MurrinaCandido/gtk-2.0/gtkrc:84: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.                                                                                
/usr/share/themes/MurrinaCandido/gtk-2.0/gtkrc:85: Murrine configuration option "lightborder_ratio" will be deprecated in future releases. Please use "lightborder_shade" instead.                                                                            

(gjiten:27025): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
*** glibc detected *** gjiten: free(): invalid pointer: 0x000000000088fbc0 ***                            
======= Backtrace: =========                                                                              
/lib/libc.so.6(+0x7271d)[0x7f178462c71d]                                                                  
/lib/libc.so.6(cfree+0x6c)[0x7f17846313cc]                                                                
gjiten[0x40c3c8]                                                                                          
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16e)[0x7f1784c0666e]                                      
/usr/lib/libgobject-2.0.so.0(+0x2283c)[0x7f1784c1b83c]                                                    
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x786)[0x7f1784c1cb86]                                  
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f1784c1d063]                                          
/usr/lib/libgtk-x11-2.0.so.0(+0x8ff85)[0x7f178a26bf85]                                                    
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16e)[0x7f1784c0666e]                                      
/usr/lib/libgobject-2.0.so.0(+0x2213b)[0x7f1784c1b13b]                                                    
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x786)[0x7f1784c1cb86]                                  
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f1784c1d063]                                          
/usr/lib/libgtk-x11-2.0.so.0(+0x8ed1d)[0x7f178a26ad1d]                                                    
/usr/lib/libgtk-x11-2.0.so.0(+0x1394f0)[0x7f178a3154f0]                                                   
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16e)[0x7f1784c0666e]                                      
/usr/lib/libgobject-2.0.so.0(+0x224fc)[0x7f1784c1b4fc]                                                    
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x61a)[0x7f1784c1ca1a]                                  
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f1784c1d063]                                          
/usr/lib/libgtk-x11-2.0.so.0(+0x23967f)[0x7f178a41567f]                                                   
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xdb)[0x7f178a30eabb]                                    
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x1e3)[0x7f178a30fa23]                                     
/usr/lib/libgdk-x11-2.0.so.0(+0x5b42c)[0x7f1789c3e42c]                                                    
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x243)[0x7f178494f7c3]                                  
/usr/lib/libglib-2.0.so.0(+0x3eff0)[0x7f1784952ff0]                                                       
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x195)[0x7f17849533f5]                                          
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xaf)[0x7f178a30ff2f]                                               
gjiten[0x407188]                                                                                          
/lib/libc.so.6(__libc_start_main+0xec)[0x7f17845d8bec]                                                    
gjiten[0x406dc9]                                                                                          
======= Memory map: ========                                                                              
00400000-00416000 r-xp 00000000 08:05 86638                              /usr/bin/gjiten                  
00615000-00616000 r--p 00015000 08:05 86638                              /usr/bin/gjiten                  
00616000-00618000 rw-p 00016000 08:05 86638                              /usr/bin/gjiten                  
00618000-008aa000 rw-p 00000000 00:00 0                                  [heap]                           
409e1000-409e3000 rwxp 00000000 00:0f 1349                               /dev/zero                        
7f177c000000-7f177c021000 rw-p 00000000 00:00 0                                                           
7f177c021000-7f1780000000 ---p 00000000 00:00 0                                                           
7f1780330000-7f1780346000 r-xp 00000000 08:02 341                        /lib64/libgcc_s.so.1             
7f1780346000-7f1780545000 ---p 00016000 08:02 341                        /lib64/libgcc_s.so.1             
7f1780545000-7f1780546000 r--p 00015000 08:02 341                        /lib64/libgcc_s.so.1             
7f1780546000-7f1780547000 rw-p 00016000 08:02 341                        /lib64/libgcc_s.so.1             
7f1780570000-7f17805f0000 r--p 00000000 08:05 152936                     /usr/share/fonts/dejavu/DejaVuSans-Oblique.ttf
7f17805f0000-7f1780650000 rw-s 00000000 00:08 34930699                   /SYSV00000000 (deleted)                       
7f1780650000-7f17806b0000 rw-s 00000000 00:08 34897930                   /SYSV00000000 (deleted)                       
7f17806b0000-7f1780bbb000 r--p 00000000 08:05 32634                      /usr/share/icons/hicolor/icon-theme.cache
7f1780bbb000-7f17810c6000 r--p 00000000 08:05 32634                      /usr/share/icons/hicolor/icon-theme.cache
7f17810c6000-7f17810d2000 r-xp 00000000 08:02 556                        /lib64/libudev.so.0.5.0
7f17810d2000-7f17812d2000 ---p 0000c000 08:02 556                        /lib64/libudev.so.0.5.0
7f17812d2000-7f17812d3000 r--p 0000c000 08:02 556                        /lib64/libudev.so.0.5.0
7f17812d3000-7f17812d4000 rw-p 0000d000 08:02 556                        /lib64/libudev.so.0.5.0
7f17812d4000-7f17812fd000 r-xp 00000000 08:05 18641                      /usr/lib64/gio/modules/libgvfsdbus.so
7f17812fd000-7f17814fc000 ---p 00029000 08:05 18641                      /usr/lib64/gio/modules/libgvfsdbus.so
7f17814fc000-7f17814fd000 r--p 00028000 08:05 18641                      /usr/lib64/gio/modules/libgvfsdbus.so
7f17814fd000-7f17814fe000 rw-p 00029000 08:05 18641                      /usr/lib64/gio/modules/libgvfsdbus.so
7f17814fe000-7f17814ff000 rw-p 00000000 00:00 0
7f17814ff000-7f1781516000 r-xp 00000000 08:05 18652                      /usr/lib64/libgvfscommon.so.0.0.0
7f1781516000-7f1781715000 ---p 00017000 08:05 18652                      /usr/lib64/libgvfscommon.so.0.0.0
7f1781715000-7f1781716000 r--p 00016000 08:05 18652                      /usr/lib64/libgvfscommon.so.0.0.0
7f1781716000-7f1781717000 rw-p 00017000 08:05 18652                      /usr/lib64/libgvfscommon.so.0.0.0
7f1781717000-7f178172a000 r-xp 00000000 08:05 3068                       /usr/lib64/gio/modules/libgioremote-volume-monitor.so
7f178172a000-7f1781929000 ---p 00013000 08:05 3068                       /usr/lib64/gio/modules/libgioremote-volume-monitor.so
7f1781929000-7f178192a000 r--p 00012000 08:05 3068                       /usr/lib64/gio/modules/libgioremote-volume-monitor.so
7f178192a000-7f178192b000 rw-p 00013000 08:05 3068                       /usr/lib64/gio/modules/libgioremote-volume-monitor.so
7f178192b000-7f1781969000 r-xp 00000000 08:05 406208                     /usr/lib64/libibus.so.1.0.0
7f1781969000-7f1781b68000 ---p 0003e000 08:05 406208                     /usr/lib64/libibus.so.1.0.0
7f1781b68000-7f1781b6a000 r--p 0003d000 08:05 406208                     /usr/lib64/libibus.so.1.0.0
7f1781b6a000-7f1781b6b000 rw-p 0003f000 08:05 406208                     /usr/lib64/libibus.so.1.0.0
7f1781b6b000-7f1781b6c000 rw-p 00000000 00:00 0
7f1781b95000-7f1781b9a000 r-xp 00000000 08:05 406170                     /usr/lib64/gtk-2.0/2.10.0/immodules/im-ibus.so
7f1781b9a000-7f1781d9a000 ---p 00005000 08:05 406170                     /usr/lib64/gtk-2.0/2.10.0/immodules/im-ibus.so
7f1781d9a000-7f1781d9b000 r--p 00005000 08:05 406170                     /usr/lib64/gtk-2.0/2.10.0/immodules/im-ibus.so
7f1781d9b000-7f1781d9c000 rw-p 00006000 08:05 406170                     /usr/lib64/gtk-2.0/2.10.0/immodules/im-ibus.so
7f1781d9c000-7f1781e34000 r--p 00000000 08:05 152930                     /usr/share/fonts/dejavu/DejaVuSans.ttf
7f1781e34000-7f1781e36000 r-xp 00000000 08:05 64120                      /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f1781e36000-7f1782035000 ---p 00002000 08:05 64120                      /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f1782035000-7f1782036000 r--p 00001000 08:05 64120                      /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f1782036000-7f1782037000 rw-p 00002000 08:05 64120                      /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f1782037000-7f178203f000 r--s 00000000 08:06 36127                      /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86-64.cache-2zsh: abort (core dumped)  gjiten



Portage 2.2_rc49 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r4melf x86_64)
=================================================================                                 
System uname: Linux-2.6.31-gentoo-r4melf-x86_64-AMD_Phenom-tm-_9650_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Sun, 08 Nov 2009 10:30:01 +0000                                                       
app-shells/bash:     4.0_p35                                                                             
dev-java/java-config: 2.1.9-r1                                                                           
dev-lang/python:     2.6.4, 3.1.1-r1                                                                     
dev-python/pycrypto: 2.1.0_beta1                                                                         
dev-util/cmake:      2.6.4-r3                                                                            
sys-apps/baselayout: 2.0.1                                                                               
sys-apps/openrc:     0.5.2-r1                                                                            
sys-apps/sandbox:    2.2                                                                                 
sys-devel/autoconf:  2.13, 2.63-r1                                                                       
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                                    
sys-devel/binutils:  2.20                                                                                
sys-devel/gcc-config: 1.4.1                                                                              
sys-devel/libtool:   2.2.6a                                                                              
virtual/os-headers:  2.6.30-r1                                                                           
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                           
CBUILD="x86_64-pc-linux-gnu"                                                                             
CFLAGS="-O2 -pipe -march=native -mtune=native -ggdb"                                                     
CHOST="x86_64-pc-linux-gnu"                                                                              
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB ru ja"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/pcsx2-overlay /usr/local/portage/layman/java-overlay /usr/local/myover/combined"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acl acpi alsa amd64 anthy bash-completion bitmap-fonts bluetooth bzip2 cdr chasen cjk cli cracklib crypt css cups directfb djvu dri dts dvd dvdr encode exif fbcon ffmpeg flac fortran ftp gdbm geoip gif glitz gpm gtk hal htmlhandbook iconv idn imap immqt-bc jabber jpeg kde lame libcaca m17n-lib matroska midi mmx modules mp3 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3support qt4 raw readline reflection scim session spell spl sse sse2 ssl svg sysfs tcpd truetype truetype-fonts type1-fonts unicode usb vorbis wavpack x264 xcomposite xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB ru ja" USERLAND="GNU" VIDEO_CARDS="vesa vga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pavel Volkov 2009-11-08 11:18:07 UTC
This is it: http://xenofex.newmail.ru/core
Comment 2 Rafał Mużyło 2009-11-09 14:52:34 UTC
Well, fixing that is actually quite trivial
- if you look at static void up_dict, you may
nearly instantly guess, what's done wrong.
Comment 3 Rafał Mużyło 2009-11-14 19:22:02 UTC
@cjk team: CC me, if you have questions about
comment 2.
Comment 4 Pacho Ramos gentoo-dev 2012-10-10 18:35:34 UTC
cjk team?
Comment 5 Naohiro Aota gentoo-dev 2012-10-12 23:55:40 UTC
Patch added and fixed in gjiten-2.6-r2.
Comment 6 Rafał Mużyło 2012-10-13 17:54:06 UTC
If anyone is interested, I've got a series of git patches, that cleans up gjiten in regard of the use of deprecated Gnome libs and ports it to gtk3.
They still need a bit polish, but seems to be pully working.