Bugs item #1664380, was opened at 2007-02-20 09:41
Message generated for change (Comment added) made by thekingant
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100235&aid=1664380&group_id=235

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: segfault
Group: 2.0.0 beta 6
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: cat (carstensc)
Assigned to: Sean Egan (seanegan)
Summary: Crash on adding a Buddy Icon

Initial Comment:
System: OpenSuse Linux 10.1
It's updated each day.

I changed the Buddy Icon on ICQ or AIM accounts and the gaim crashes. The same 
story when I use the global change-button for the icon at the bottom of the 
buddy-list-window. In the added backtrace there is the global-icon-change.

The picture I tried to add (don't think that it causes the crash but to be 
sure) is added as well.

Thanks and keep on coding
Carsten
 
PS: For newbees the login-process - that deletes the typed input in here - is 
not tactical good positioned below this screen!


[EMAIL PROTECTED]:~> gdb gaim
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) handle SIGPIPE nostop
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        Yes     Yes             Broken pipe
(gdb) run
Starting program: /usr/bin/gaim
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1222022976 (LWP 9737)]
*** glibc detected *** /usr/bin/gaim: corrupted double-linked list: 0xb767f178 
***
======= Backtrace: =========
/lib/libc.so.6[0xb75c5911]
/lib/libc.so.6[0xb75c5a3a]
/lib/libc.so.6[0xb75c7679]
/lib/libc.so.6(malloc+0x86)[0xb75c9206]
/usr/lib/libcairo.so.2[0xb751a69e]
/usr/lib/libcairo.so.2[0xb751a788]
/usr/lib/libcairo.so.2[0xb751a979]
/usr/lib/libcairo.so.2(cairo_move_to+0x75)[0xb7510c45]
/usr/lib/libcairo.so.2(cairo_rectangle+0x38)[0xb7510dd8]
/opt/gnome/lib/libgdk-x11-2.0.so.0[0xb7a21bcf]
/opt/gnome/lib/libgdk-x11-2.0.so.0(IA__gdk_window_begin_paint_region+0x184)[0xb7a22df4]
/opt/gnome/lib/libgtk-x11-2.0.so.0(IA__gtk_main_do_event+0x525)[0xb7ba7a95]
/opt/gnome/lib/libgdk-x11-2.0.so.0[0xb7a2315f]
/opt/gnome/lib/libgdk-x11-2.0.so.0(IA__gdk_window_process_all_updates+0x97)[0xb7a23317]
/opt/gnome/lib/libgtk-x11-2.0.so.0[0xb7b167d2]
/opt/gnome/lib/libglib-2.0.so.0[0xb784c0a1]
/opt/gnome/lib/libglib-2.0.so.0(g_main_context_dispatch+0x16d)[0xb784dabd]
/opt/gnome/lib/libglib-2.0.so.0[0xb7850cbf]
/opt/gnome/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0xb7851069]
/opt/gnome/lib/libgtk-x11-2.0.so.0(IA__gtk_main+0xb4)[0xb7ba7d04]
/usr/bin/gaim(main+0x5f1)[0x80bcdf1]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb757787c]
/usr/bin/gaim(gtk_widget_grab_focus+0x39)[0x8068bd1]
======= Memory map: ========
08048000-080fc000 r-xp 00000000 08:07 201070     /usr/bin/gaim
080fc000-08100000 rw-p 000b3000 08:07 201070     /usr/bin/gaim
08100000-084ed000 rw-p 08100000 00:00 0          [heap]
ab700000-ab721000 rw-p ab700000 00:00 0
ab721000-ab800000 ---p ab721000 00:00 0
ab8d7000-ab91d000 r--p 00000000 08:07 54249      
/var/X11R6/compose-cache/l2_024_35fe9fba
ab91d000-ab938000 r-xp 00000000 08:07 29487      
/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
ab938000-ab93a000 rw-p 0001b000 08:07 29487      
/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
ab93a000-abb15000 r--p 00000000 08:07 87567      
/usr/share/icons/hicolor/icon-theme.cache
abb15000-ac8ba000 r--p 00000000 08:07 103251     
/opt/kde3/share/icons/hicolor/icon-theme.cache
ac8ba000-acf69000 r--p 00000000 08:07 103058     
/opt/gnome/share/icons/hicolor/icon-theme.cache
acf69000-b0684000 r--p 00000000 08:07 146089     
/opt/kde3/share/icons/suseadds/icon-theme.cache
b0684000-b06dc000 r--p 00000000 08:07 142912     
/etc/opt/kde3/share/icons/crystalsvg/icon-theme.cache
b06dc000-b18be000 r--p 00000000 08:07 145857     
/opt/kde3/share/icons/crystalsvg/icon-theme.cache
b18be000-b1c47000 r--p 00000000 08:07 146113     
/opt/gnome/share/icons/gnome/icon-theme.cache
b1c47000-b56e0000 r--p 00000000 08:07 146163     
/opt/gnome/share/icons/Tango/icon-theme.cache
b56e0000-b56fe000 r-xp 00000000 08:07 26074      /usr/lib/libjpeg.so.62.0.0
b56fe000-b56ff000 rw-p 0001d000 08:07 26074      /usr/lib/libjpeg.so.62.0.0
b5715000-b571a000 r-xp 00000000 08:07 50613      
/opt/gnome/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-gif.so
b571a000-b571b000 rw-p 00004000 08:07 50613      
/opt/gnome/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-gif.so
b571b000-b577b000 rw-s 00000000 00:08 36536325   /SYSV00000000 (deleted)
b577b000-b577f000 r-xp 00000000 08:07 14478      /lib/libnss_dns-2.4.so
b577f000-b5781000 rw-p 00003000 08:07 14478      /lib/libnss_dns-2.4.so
b5784000-b5795000 r--p 00000000 08:07 45679      
/usr/share/ghostscript/fonts/n019003l.pfb
b5795000-b5798000 r-xp 00000000 08:07 50615      
/opt/gnome/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.so
b5798000-b5799000 rw-p 00003000 08:07 50615      
/opt/gnome/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.so
b579d000-b57dc000 r-xp 00000000 08:07 142944     /usr/lib/libfreebl3.so
b57dc000-b57dd000 rw-p 0003f000 08:07 142944     /usr/lib/libfreebl3.so
b57dd000-b583d000 rw-s 00000000 00:08 36503556   /SYSV00000000 (deleted)
b583d000-b58e8000 r--p 00000000 08:07 166999     
/usr/lib/jvm/java-1.5.0-sun-1.5.0_10/jre/lib/fonts/LucidaSansRegular.ttf
b58e8000-b58fa000 r--p 00000000 08:07 45682      
/usr/share/ghostscript/fonts/n019004l.pfb
b58fa000-b6220000 rw-p b58fa000 00:00 0
b6220000-b6226000 r-xp 00000000 08:07 50609      
/opt/gnome/lib/gtk-2.0/2.4.0/immodules/im-xim.so
b6226000-b6227000 rw-p
Program received signal SIGABRT, Aborted.
[Switching to Thread -1222022976 (LWP 9737)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb758a7d0 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0xb758bea3 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0xb75bff8b in __libc_message () from /lib/libc.so.6
No symbol table info available.
#4  0xb75c5911 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
#5  0xb75c5a3a in malloc_consolidate () from /lib/libc.so.6
No symbol table info available.
#6  0xb75c7679 in _int_malloc () from /lib/libc.so.6
No symbol table info available.
#7  0xb75c9206 in malloc () from /lib/libc.so.6
No symbol table info available.
#8  0xb751a69e in cairo_matrix_rotate () from /usr/lib/libcairo.so.2
No symbol table info available.
#9  0xb751a788 in cairo_matrix_rotate () from /usr/lib/libcairo.so.2
No symbol table info available.
#10 0xb751a979 in cairo_matrix_rotate () from /usr/lib/libcairo.so.2
No symbol table info available.
#11 0xb7510c45 in cairo_move_to () from /usr/lib/libcairo.so.2
No symbol table info available.
#12 0xb7510dd8 in cairo_rectangle () from /usr/lib/libcairo.so.2
No symbol table info available.
#13 0xb7a21bcf in gdk_window_set_user_data () from 
/opt/gnome/lib/libgdk-x11-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#14 0xb7a22df4 in gdk_window_begin_paint_region () from 
/opt/gnome/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#15 0xb7ba7a95 in gtk_main_do_event () from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0xb7a2315f in gdk_window_is_viewable () from 
/opt/gnome/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#17 0xb7a23317 in gdk_window_process_all_updates () from 
/opt/gnome/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#18 0xb7b167d2 in gtk_container_check_resize () from 
/opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0xb784c0a1 in g_list_copy () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#20 0xb784dabd in g_main_context_dispatch () from 
/opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#21 0xb7850cbf in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#22 0xb7851069 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#23 0xb7ba7d04 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x080bcdf1 in main ()
No symbol table info available.

----------------------------------------------------------------------

>Comment By: Mark Doliner (thekingant)
Date: 2007-03-01 03:22

Message:
Logged In: YES 
user_id=20979
Originator: NO

This will be fixed in the next release.  Yay!

----------------------------------------------------------------------

Comment By: Chenghuan Jia (chenghuan_jia)
Date: 2007-02-27 22:40

Message:
Logged In: YES 
user_id=446034
Originator: NO

I got the same problem while running beta6 with GTK+-2.6.0. After a little
bit debugging, it turns out that in function gaim_gtk_convert_buddy_icon,
it used a new argument format for API gdk_pixbuf_save. Since such changes
is introduced by rev. 13036 in GDK (
http://svn.gnome.org/viewcvs/gtk%2B/trunk/gdk-pixbuf/io-png.c?view=diff&r1=13035&r2=13036),
which is included in GTK_2_6_8, created by rev. 13197. So my patch is just
to check if it is using a old version of GTK+ (older than 2.6.8), if yes,
try the original API format.

The code is tested on GTK+ 2.6.0 and GTK+ 2.6.9 with the image file
provided by the bug originator.

Your comments will be highly appreciated!

Index: gtkutils.c
===================================================================
--- gtkutils.c  (revision 18196)
+++ gtkutils.c  (working copy)
@@ -2606,12 +2606,15 @@
 
    for (i = 0; prpl_formats[i]; i++) {
      gaim_debug_info("buddyicon", "Converting buddy icon to %s as %s\n",
prpl_formats[i], filename);
+#if GTK_CHECK_VERSION(2,6,8)
      if (strcmp(prpl_formats[i], "png") == 0) {
        if (gdk_pixbuf_save(pixbuf, filename, prpl_formats[i],
          &error, "compression", "9", NULL))
        /* Success! */
        break;
-     } else if (gdk_pixbuf_save(pixbuf, filename, prpl_formats[i],
+     } else 
+#endif
+      if (gdk_pixbuf_save(pixbuf, filename, prpl_formats[i],
          &error, NULL)) {
        /* Success! */
        break;



----------------------------------------------------------------------

Comment By: fbuilesv (fbuilesv)
Date: 2007-02-26 21:12

Message:
Logged In: YES 
user_id=1605622
Originator: NO

Having the same problem using Windows, here's some relevant info:

C:\Archivos de programa\Gaim\gaim.exe caused an Access Violation at
location 620aa126 in module C:\Archivos de programa\Gaim\gtkgaim.dll
Reading from location 00000008.

Registers:
eax=00000000 ebx=00000000 ecx=77bfc2e3 edx=6735001b esi=03b20dd8
edi=620c6c3b
eip=620aa126 esp=0022e9c0 ebp=0022ea78 iopl=0         nv up ei pl zr na po
nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000            
efl=00010246

Call stack:
620AA126  C:\Archivos de programa\Gaim\gtkgaim.dll:620AA126 
gaim_gtk_convert_buddy_icon 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkutils.c:2619
620A120D  C:\Archivos de programa\Gaim\gtkgaim.dll:620A120D 
buddy_icon_set_cb 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkstatusbox.c:1369
68A27873  C:\Archivos de programa\Gaim\libgaim.dll:68A27873  do_callbacks 
c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/prefs.c:754
620A12A0  C:\Archivos de programa\Gaim\gtkgaim.dll:620A12A0 
icon_choose_cb 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkstatusbox.c:1405
620A9AAB  C:\Archivos de programa\Gaim\gtkgaim.dll:620A9AAB 
icon_filesel_choose_cb 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkutils.c:2293


----------------------------------------------------------------------

Comment By: Meghan (unfmeghan)
Date: 2007-02-23 15:17

Message:
Logged In: YES 
user_id=1512353
Originator: NO

Try upgrading your version of GTK.  That solved the same problem for me.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100235&aid=1664380&group_id=235

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gaim-bugs mailing list
Gaim-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gaim-bugs

Reply via email to