Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115736 - dev-util/anjuta-1.2.4 crash when trying to edit user.properties file
Summary: dev-util/anjuta-1.2.4 crash when trying to edit user.properties file
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-15 22:42 UTC by Mats Hellman
Modified: 2008-01-06 03:40 UTC (History)
2 users (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 Mats Hellman 2005-12-15 22:42:06 UTC
When selecting Settings->Edit user.properties file from the menu Anjuta crashes. 





Reproducible: Always
Steps to Reproduce:
1. Select Settings from the menu
2. Select Edit user.properties file from menu
3.Crash

Actual Results:  
----------------------------------------------------------------------------------------------------------------------
** (anjuta:13014): CRITICAL **: anjuta_encoding_get_charset: assertion `enc !=
NULL' failed

(anjuta:13014): GLib-CRITICAL **: g_convert: assertion `from_codeset != NULL' failed
----------------------------------------------------------------------------------------------------------------------


My emerge info:
---------------------------------------------------------------------------------------------------------------------
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups
dvdr eds emboss encode esd exif expat fam foomaticdb fortran gdbm gif glut gnome
gpm gstreamer gtk gtk2 hal howl imlib ipv6 jpeg lcms lm_sensors lzw lzw-tiff mng
mozilla mp3 mpeg ncurses nls nptl nptlonly nvidia opengl pam pcre pdflib perl
png python quicktime readline samba sdl spell ssl tcpd tiff truetype
truetype-fonts type1-fonts udev usb userlocales win32codec xinerama xml2 xmms
xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
-------------------------------------------------------------------------------------------------------------------------

Also this install is patched according to bug id 115 680 to get it to build on
my system.
Comment 1 Jean Bréfort 2005-12-15 23:12:19 UTC
I can't reproduce this one on my amd64 box
Comment 2 Mats Hellman 2005-12-17 11:18:05 UTC
Ran it trough gdb and this is what it throws. I'm not sure but it might be something else on the system is broken. I could try rebuilding glibc with more standard locales.
Locales now
---------------------------------------------------------------
en_US/ISO-8859-1
en_US.UTF-8/UTF-8
sv_FI/ISO-8859-1
sv_FI@euro/ISO-8859-15
---------------------------------------------------------------

Anyway the gdb output:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912586016000 (LWP 13795)]
0x00002aaaaf021564 in g_utf8_validate () from /usr/lib64/libglib-2.0.so.0


Comment 3 bambam 2006-02-21 03:34:05 UTC
also problems on opening a file which contains charsets like "
Comment 4 bambam 2006-02-21 03:34:05 UTC
also problems on opening a file which contains charsets like "öäü"

here's gdb bt output:

#0  0x00002aaaaf22f4f4 in g_utf8_validate () from /usr/lib64/libglib-2.0.so.0
#1  0x00000000004b9aea in convert_to_utf8_from_charset (
    content=0x1515c30 "/*\r\n* Anfrage für Übung 12\r\n* Kann auf dem MS-SQL Ser 
ver 2005 über das Web-Interface unter\r\n* http://livorno.informatik.uni-freibur 
g.de/mondial/sql.php\r\n* getestet werden.\r\n*/\r\n\r\nWITH\r\nsymBenachbart(L" 
..., len=1379, charset=0x0) at text_editor.c:826
#2  0x00000000004b9cba in convert_to_utf8 (
    content=0x1515c30 "/*\r\n* Anfrage für Übung 12\r\n* Kann auf dem MS-SQL Ser 
ver 2005 über das Web-Interface unter\r\n* http://livorno.informatik.uni-freibur 
g.de/mondial/sql.php\r\n* getestet werden.\r\n*/\r\n\r\nWITH\r\nsymBenachbart(L" 
..., len=1379, encoding_used=0x14a3300) at text_editor.c:901
#3  0x00000000004b9fbe in load_from_file (te=0x14a31d0, 
    fn=0x151a6e0 "/home/bambam/files/uni/DB/blaetter/DAG.sql", 
    err=0x7ffffff68eb8) at text_editor.c:985
#4  0x00000000004ba58a in text_editor_load_file (te=0x14a31d0)
    at text_editor.c:1168
#5  0x00000000004b8130 in text_editor_new (
    filename=0x13c6dc0 "/home/bambam/files/uni/DB/blaetter/DAG.sql", 
    parent=0x0, eo=0x8ce470, name=0x0) at text_editor.c:205
#6  0x00000000004cea52 in anjuta_append_text_editor (
    filename=0x13c6dc0 "/home/bambam/files/uni/DB/blaetter/DAG.sql", name=0x0)
    at anjuta.c:306
#7  0x00000000004cf408 in anjuta_goto_file_line_mark (
---Type <return> to continue, or q <return> to quit---
    fname=0x8a8960 "/home/bambam/files/uni/DB/blaetter/DAG.sql", lineno=-1, 
    mark=1) at anjuta.c:569
#8  0x00000000004cf283 in anjuta_goto_file_line (
    fname=0x8a8960 "/home/bambam/files/uni/DB/blaetter/DAG.sql", lineno=-1)
    at anjuta.c:533
#9  0x0000000000462bf8 in on_open_filesel_ok_clicked (dlg=0x879270, 
    user_data=0x0) at anjuta_cbs.c:444
#10 0x00000000004848c2 in on_file_selection_response (dlg=0x879270, 
    response=-5, data=0x6dd880) at fileselection.c:91
....

my emerge info:
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-rc2 x86_64)
=================================================================
System uname: 2.6.15-rc2 x86_64 AMD Opteron(tm) Processor 248
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.nutsmaas.nl/gentoo/ ftp://194.117.143.69/mirrors/gentoo http://ftp.heanet.ie/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gentoo.inode.at/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/e17-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d aac aalib acl acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr crypt cscope ctype cups curl dga dio divx4linux dvb dvd dvdr dvdread eds emboss encode esd evo exif expat fam fbcon ffmpeg flash foomaticdb fortran ftp gcj gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imap imlib ipv6 jack java jpeg junit kde lcms libwww lm_sensors lzw lzw-tiff mad mhash ming mng mp3 mpeg ncurses network nls nptl nvidia odbc ogg openal opengl oss pam pcmcia pcre pdflib perl plotutils png pnp posix python qt quicktime readline samba sasl sdl slang sndfile snmp sockets speex spell sqlite ssl svg tcpd tetex tiff truetype truetype-fonts trusted type1-fonts udev usb userlocales videos vorbis wavelan wxwindows xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


a solution that fixes my specifique problem is to put "export LANG="de_DE@euro"" into ~/.bashrc
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-10 11:21:41 UTC
Re-assign wrt Bug 171232
Comment 6 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-01-06 03:40:00 UTC
Please migrate to the 2.x series, as 1.x is not really being maintained anymore.  2.2.0 is up for stablization (bug #204494).