*** This bug is a duplicate of bug 262889 ***
https://bugs.launchpad.net/bugs/262889
>From the debian bug:
Package: gpaint
Version: 0.3.3-1
Severity: normal
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid
*** Please type your report below this line ***
Open gpaint and click the fonts selector and press OK will get segfault.
gdb trace log:
Starting program: /tmp/gpaint-0.3.3/src/gpaint-2
[Thread debugging using libthread_db enabled]
[New Thread 0xb7263910 (LWP 14858)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7263910 (LWP 14858)]
0x08062516 in text_attribute (tool=0x93d7cc0, attrib=GpaintFont,
data=0x9481b68) at text.c:156
156 GtkWidget *widget = GTK_WIDGET(tool->canvas->drawing_area);
(gdb) bt
#0 0x08062516 in text_attribute (tool=0x93d7cc0, attrib=GpaintFont,
data=0x9481b68) at text.c:156
#1 0xb7585074 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#2 0xb7577923 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#3 0xb758ae9d in ?? () from /usr/lib/libgobject-2.0.so.0
#4 0x091d61e8 in ?? ()
#5 0x00000000 in ?? ()
(gdb) print tool->canvas
$1 = (gpaint_canvas *) 0x0
(gdb)
The tool->canvas is only set on tool_palette.c on_tool_select() at line 400:
canvas_set_tool(canvas_lookup(GTK_WIDGET(tb->widget)), tb->tool);
Which means the users have to click the text-tool button at least once
to set the tool->canvas to avoid the crash.
Reference:
[1] https://bugs.launchpad.net/ubuntu/+source/gpaint/+bug/262889
[2] https://bugs.launchpad.net/ubuntu/+source/gpaint/+bug/262131
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gpaint depends on:
ii libart-2.0-2 2.3.20-2 Library of functions for 2D
graphi
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libcairo2 1.6.4-6 The Cairo 2D vector
graphics libra
ii libfontconfig1 2.6.0-1 generic font configuration
library
ii libfreetype6 2.3.7-2 FreeType 2 font engine,
shared lib
ii libglade2-0 1:2.6.2-1 library to load .glade
files at ru
ii libglib2.0-0 2.16.4-2 The GLib library of C routines
ii libgnomecanvas2-0 2.20.1.1-1 A powerful object-oriented
display
ii libgnomeprint2.2-0 2.18.4-1 The GNOME 2.2 print
architecture -
ii libgnomeprintui2.2-0 2.18.2-1 GNOME 2.2 print
architecture User
ii libgtk2.0-0 2.12.11-3 The GTK+ graphical user
interface
ii libpango1.0-0 1.20.5-1 Layout and rendering of
internatio
ii libpng12-0 1.2.27-1 PNG library - runtime
ii libx11-6 2:1.1.4-2 X11 client-side library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension
librar
ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes'
extensio
ii libxi6 2:1.1.3-1 X11 Input extension library
ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library
ii libxml2 2.6.32.dfsg-3 GNOME XML library
ii libxrandr2 2:1.2.3-1 X11 RandR extension library
ii libxrender1 1:0.9.4-2 X Rendering Extension
client libra
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
gpaint recommends no packages.
gpaint suggests no packages.
-- no debconf information
** This bug has been marked a duplicate of bug 262889
gpaint crashed when user changes font
--
Gpaint will close itself after change font.
https://bugs.launchpad.net/bugs/262131
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs