Bug#416480: ghex: crashes while searching an ASCII string.
Sven Arvidsson escribió: On Wed, 2007-03-28 at 11:34 +0200, Manolo Díaz wrote: this bug appears to be similar to #373712 but with an important difference: the (ASCII) string I was searching for DID exist and EOF wasn't reached. Strictly speaking, this bug is important but the operation is so basic that renders the package nearly unusable. Hi, Could you try the patch suggested upstream and see if it will take care of the problem? http://bugzilla.gnome.org/attachment.cgi?id=63888action=view Hi, The good news is that after patching the sources search and search replace operations do work great. There is only a minor problem: the string highlighted doesn't match exactly with the string your are searching for, but is shifted some places. This is valid for hexadecimal and ASCII panels. Thanks a lot for your job, now ghex is useful to me. -- Best Regards, Manolo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#416480: ghex: crashes while searching an ASCII string.
On Sat, 2007-03-31 at 10:51 +0200, Manolo Díaz wrote: Sven Arvidsson escribió: Could you try the patch suggested upstream and see if it will take care of the problem? http://bugzilla.gnome.org/attachment.cgi?id=63888action=view Hi, The good news is that after patching the sources search and search replace operations do work great. There is only a minor problem: the string highlighted doesn't match exactly with the string your are searching for, but is shifted some places. This is valid for hexadecimal and ASCII panels. I guess this is why the patch haven't been applied upstream yet. Maybe you can add a comment about this in the upstream bug? http://bugzilla.gnome.org/show_bug.cgi?id=339055 -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 760BDD22 signature.asc Description: This is a digitally signed message part
Bug#416480: ghex: crashes while searching an ASCII string.
On Wed, 2007-03-28 at 11:34 +0200, Manolo Díaz wrote: this bug appears to be similar to #373712 but with an important difference: the (ASCII) string I was searching for DID exist and EOF wasn't reached. Strictly speaking, this bug is important but the operation is so basic that renders the package nearly unusable. Hi, Could you try the patch suggested upstream and see if it will take care of the problem? http://bugzilla.gnome.org/attachment.cgi?id=63888action=view -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 760BDD22 signature.asc Description: This is a digitally signed message part
Bug#416480: ghex: crashes while searching an ASCII string.
Package: ghex Version: 2.8.2-3 Severity: important -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (990, 'testing'), (101, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18 Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Versions of packages ghex depends on: ii gconf2 2.16.1-1 GNOME configuration database syste ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi ii libatk1.0-01.12.4-3 The ATK accessibility toolkit ii libbonobo2-0 2.14.0-3 Bonobo CORBA interfaces library ii libbonoboui2-0 2.14.0-5 The Bonobo UI library ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra ii libfontconfig1 2.4.2-1.2 generic font configuration library ii libgconf2-42.16.1-1 GNOME configuration database syste ii libglib2.0-0 2.12.4-2 The GLib library of C routines ii libgnome-keyring0 0.6.0-3 GNOME keyring services library ii libgnome2-02.16.0-2 The GNOME 2 library - runtime file ii libgnomecanvas2-0 2.14.0-2 A powerful object-oriented display ii libgnomeprint2.2-0 2.12.1-7 The GNOME 2.2 print architecture - ii libgnomeprintui2.2-0 2.12.1-4 GNOME 2.2 print architecture User ii libgnomeui-0 2.14.1-2+b1 The GNOME 2 libraries (User Interf ii libgnomevfs2-0 1:2.14.2-7GNOME virtual file-system (runtime ii libgtk2.0-02.8.20-7 The GTK+ graphical user interface ii libgtkhex0 2.8.2-3 GNOME Hex editor for files (shared ii libice61:1.0.1-2 X11 Inter-Client Exchange library ii liborbit2 1:2.14.3-0.1 libraries for ORBit2 - a CORBA ORB ii libpango1.0-0 1.14.8-5 Layout and rendering of internatio ii libpopt0 1.10-3lib for parsing cmdline parameters ii libsm6 1:1.0.1-3 X11 Session Management library ii libx11-6 2:1.0.3-6 X11 client-side library ii libxcursor11.1.7-4 X cursor management library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio ii libxi6 1:1.0.1-4 X11 Input extension library ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library ii libxml22.6.27.dfsg-1 GNOME XML library ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library ii libxrender11:0.9.1-3 X Rendering Extension client libra ii zlib1g 1:1.2.3-13compression library - runtime ghex recommends no packages. -- no debconf information Hi, this bug appears to be similar to #373712 but with an important difference: the (ASCII) string I was searching for DID exist and EOF wasn't reached. Strictly speaking, this bug is important but the operation is so basic that renders the package nearly unusable. This is the backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 48003937505760 (LWP 4170)] 0x2ba8c7fd982f in malloc_usable_size () from /lib/libc.so.6 (gdb) bt #0 0x2ba8c7fd982f in malloc_usable_size () from /lib/libc.so.6 #1 0x2ba8c7fdb7b9 in free () from /lib/libc.so.6 #2 0x2ba8c7fdd19d in malloc () from /lib/libc.so.6 #3 0x2ba8c7bde75b in g_malloc () from /usr/lib/libglib-2.0.so.0 #4 0x2ba8c73d1643 in pango_script_iter_new () from /usr/lib/libpango-1.0.so.0 #5 0x2ba8c73c3833 in pango_context_get_font_description () from /usr/lib/libpango-1.0.so.0 #6 0x2ba8c73c4494 in pango_itemize_with_base_dir () from /usr/lib/libpango-1.0.so.0 #7 0x2ba8c73cb64f in pango_layout_iter_get_char_extents () from /usr/lib/libpango-1.0.so.0 #8 0x2ba8c73cc17d in pango_layout_iter_get_char_extents () from /usr/lib/libpango-1.0.so.0 #9 0x2ba8c61df6e3 in gtk_label_new () from /usr/lib/libgtk-x11-2.0.so.0 #10 0x2ba8c786e537 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #11 0x2ba8c787d76d in g_signal_chain_from_overridden () from /usr/lib/libgobject-2.0.so.0 #12 0x2ba8c787ed95 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #13 0x2ba8c7881f53 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #14 0x2ba8c6234bc8 in _gtk_size_group_compute_requisition () from /usr/lib/libgtk-x11-2.0.so.0 #15 0x2ba8c61b30d8 in gtk_frame_new () from /usr/lib/libgtk-x11-2.0.so.0 #16 0x2ba8c786e537 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #17 0x2ba8c787d76d in g_signal_chain_from_overridden () from