Package: anjuta Version: 1.2.2-6 Severity: important Tags: patch Anjuta on amd64 and any other 64 bits arch crashes/hangs on startup because it uses wrong format for a pointer. This makes anjuta unusable on such platforms.
The var 'legth' is defined as type 'gint' while readline expects it to be size_t, which is different size on 64 bits cpus. Patch included: --- src/compiler_options.c 2004-04-08 14:21:41.000000000 +0200 +++ src-patch/compiler_options.c 2005-02-21 22:51:45.078687792 +0100 @@ -352,7 +352,7 @@ gchar *pkg_cmd; FILE *pkg_fd; gchar *line; - gint length; + size_t length; GtkTreeIter iter; int i = 0; Tested and working. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 2.6.10k-tiresome Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages anjuta depends on: ii anjuta-common 1.2.2-6 Data files for Anjuta ii libart-2.0-2 2.3.16-6 Library of functions for 2D graphi ii libatk1.0-0 1.8.0-4 The ATK accessibility toolkit ii libaudiofile0 0.2.6-5 Open-source version of SGI's audio ii libbonobo2-0 2.8.0-4 Bonobo CORBA interfaces library ii libbonoboui2-0 2.8.0-2 The Bonobo UI library ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libesd0 0.2.35-2 Enlightened Sound Daemon - Shared ii libfontconfig1 2.2.3-4 generic font configuration library ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared lib ii libgcc1 1:3.4.3-6 GCC support library ii libgconf2-4 2.8.1-4 GNOME configuration database syste ii libgcrypt11 1.2.0-11 LGPL Crypto library - runtime libr ii libglade2-0 1:2.4.1-1 Library to load .glade files at ru ii libglib2.0-0 2.4.8-1 The GLib library of C routines ii libgnome-keyring0 0.4.0-2 GNOME keyring services library ii libgnome2-0 2.8.0-6 The GNOME 2 library - runtime file ii libgnomecanvas2-0 2.8.0-1 A powerful object-oriented display ii libgnomeprint2.2-0 2.8.2-1 The GNOME 2.2 print architecture - ii libgnomeprintui2.2-0 2.8.2-1 The GNOME 2.2 print architecture U ii libgnomeui-0 2.8.0-3 The GNOME 2 libraries (User Interf ii libgnomevfs2-0 2.8.3-8 The GNOME virtual file-system libr ii libgnutls11 1.0.16-13 GNU TLS library - runtime library ii libgpg-error0 1.0-1 library for common error values an ii libgtk2.0-0 2.4.14-2 The GTK+ graphical user interface ii libice6 4.3.0.dfsg.1-10 Inter-Client Exchange library ii libjpeg62 6b-9 The Independent JPEG Group's JPEG ii libncurses5 5.4-4 Shared libraries for terminal hand ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB ii libpango1.0-0 1.6.0-3 Layout and rendering of internatio ii libpcre3 4.5-1.1 Perl 5 Compatible Regular Expressi ii libpopt0 1.7-5 lib for parsing cmdline parameters ii libsm6 4.3.0.dfsg.1-10 X Window System Session Management ii libstdc++5 1:3.3.5-6 The GNU Standard C++ Library v3 ii libtasn1-2 0.2.10-4 Manage ASN.1 structures (runtime) ii libvte4 1:0.11.11-5 Terminal emulator widget for GTK+ ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li ii libxft2 2.1.2-6 FreeType-based font drawing librar ii libxml2 2.6.11-5 GNOME XML library ii libxrender1 0.8.3-7 X Rendering Extension client libra ii scrollkeeper 0.3.14-9.1 A free electronic cataloging syste ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-4 compression library - runtime -- no debconf information
--- src/compiler_options.c 2004-04-08 14:21:41.000000000 +0200 +++ src-patch/compiler_options.c 2005-02-21 22:51:45.000000000 +0100 @@ -352,7 +352,7 @@ gchar *pkg_cmd; FILE *pkg_fd; gchar *line; - gint length; + size_t length; GtkTreeIter iter; int i = 0;