Bugs item #1651647, was opened at 2007-02-04 03:01
Message generated for change (Comment added) made by cbanal
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100235&aid=1651647&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: hexo (tanguyleost)
Assigned to: Stu Tomlinson (nosnilmot)
Summary: gaim crashes when changing buddy icon

Initial Comment:
Hello,
i'm using gaim 2.0 beta6 on a GNU/linux debian sarge. When I try to change my 
MSN buddy icon, gaim crashes. This bug occurs every time I try to change my 
icon.
This bug didn't occur in 2.0 beta5
Here is the backtrace I get using gdb:
----------------------------------------------------
(gdb) run
Starting program: /tmp/bin/gaim 
[Thread debugging using libthread_db enabled]
[New Thread -1220434048 (LWP 21882)]

Program received signal SIGPIPE, Broken pipe.
[New Thread -1229444176 (LWP 21896)]
[New Thread -1238692944 (LWP 21897)]

(gaim:21882): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()
[New Thread -1238955088 (LWP 21898)]
[New Thread -1239217232 (LWP 21899)]

(gaim:21882): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()

(gaim:21882): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()
art_render_invoke: no image source given
art_render_invoke: no image source given
art_render_invoke: no image source given

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220434048 (LWP 21882)]
0x080d64f6 in gaim_gtk_convert_buddy_icon (plugin=0x8132b38, path=0x846a7c0 
"/home/tanguy/img2.jpg") at gtkutils.c:2619
2619                            gaim_debug_warning("buddyicon", "Could not 
convert to %s: %s\n", prpl_formats[i], error->message);
(gdb) bt full
#0  0x080d64f6 in gaim_gtk_convert_buddy_icon (plugin=0x8132b38, path=0x846a7c0 
"/home/tanguy/img2.jpg") at gtkutils.c:2619
        i = 0
        error = (GError *) 0x0
        scale = (GdkPixbuf *) 0x0
        prpl_info = (GaimPluginProtocolInfo *) 0xb71b1020
        prpl_formats = (char **) 0x8495d70
        width = 99
        height = 98
        pixbuf_formats = (char **) 0x0
        st = {st_dev = 13218725715898421056, __pad1 = 1, __st_ino = 3218609576, 
st_mode = 3076934723, st_nlink = 3077724416, st_uid = 22, 
  st_gid = 3079766936, st_rdev = 22, __pad2 = 5592, st_size = 
-5216897419249188842, st_blksize = -1214653584, 
  st_blocks = -4622920996961755612, st_atim = {tv_sec = 13, tv_nsec = 
-1214421064}, st_mtim = {tv_sec = 72, tv_nsec = -1214653471}, 
  st_ctim = {tv_sec = 22, tv_nsec = 138745488}, st_ino = 13226290210009519608}
        format = (GdkPixbufFormat *) 0x0
 pixbuf = (GdkPixbuf *) 0x846b858
        contents = (gchar *) 0x8451688 ""
        length = 3080546232
        dirname = 0x0
        random = 0x81155b8 "42e0c341"
        filename = 0x846a558 "/home/tanguy/.gaim/icons/42e0c341"
#1  0x08068982 in icon_filesel_choose_cb (filename=0x846a7c0 
"/home/tanguy/img2.jpg", data=0x836a5b8) at gtkaccount.c:308
No locals.
#2  0x080d5a5d in icon_filesel_choose_cb (widget=0x8351c28, response=0, 
dialog=0x82c7af0) at gtkutils.c:2293
        filename = 0x846a7c0 "/home/tanguy/img2.jpg"
        current_folder = 0x83f8710 "¨/E\b \215>\bÀ\2318\b"
#3  0xb7940523 in g_cclosure_marshal_VOID () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#4  0xb792e736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#5  0xb793fdcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#6  0xb793ee9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7  0xb793f126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#8  0xb7b8278c in gtk_dialog_response () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0xb7b81fb3 in gtk_dialog_new_with_buttons () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0xb79402a6 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0xb792e736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0xb793fdcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0xb793ee9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0xb793f126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#15 0xb7b36655 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0xb7b37668 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0xb7b37524 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0xb78bfc9c in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#19 0xb78bd582 in g_main_depth () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#20 0xb78be5f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#21 0xb78be930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#22 0xb78beed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#23 0xb7bf9bb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x080ad594 in main (argc=1, argv=0xbfd84194) at gtkmain.c:817
        saved_status = (GaimSavedStatus *) 0x0
        opt_help = 0
        opt_login = 0
        opt_nologin = 0
        opt_version = 0
        opt_config_dir_arg = 0x0
        opt_login_arg = 0x0
        opt_session_arg = 0x0
        search_path = 0x8114b20 "\001"
        accounts = (GList *) 0x82176b0
        sig_indx = 135351072
        sigset = {__val = {91143, 0 <repeats 31 times>}}
        prev_sig_disp = (void (*)(int)) 0
        errmsg = '\0' <repeats 664 times>, "ð+x·|%Ø¿´s÷·\035ÔA·ü+x·", '\0' 
<repeats 44 times>, "È)x·\000\000\000\000\000\000\000\000\035ÔA·À<G·", '\0' 
<repeats 28 times>, 
"l·C\000ð+x·ð%Ø¿´s÷·\004\000D·ü+x·\004\000\000\000\022\000\000\000\006\000\000\000\000Ð\001\0000\215S·¸#Ø¿
 
|ø·\004\000\000\000\000\000÷·È#Ø¿g\fø·È)x·\000\000\000\000\000\000\000\000\004\000D·86G·\000\000\000\000\005\000\000\000\000Ð\001\000\000\000\002\000l÷\001\000p÷\001\000\000Ð\001\000\003\000\000\000\001\000\000\000\030zG·¨<"...
        segfault_message_tmp = 0x8114b20 "\001"
        error = (GError *) 0x0
        opt = 0
        gui_check = 0
        debug_enabled = 0
        long_options = {{name = 0x80e41ff "config", has_arg = 1, flag = 0x0, 
val = 99}, {name = 0x80d972c "debug", has_arg = 0, flag = 0x0, 
    val = 100}, {name = 0x80db03f "help", has_arg = 0, flag = 0x0, val = 104}, 
{name = 0x80e6cc3 "login", has_arg = 2, flag = 0x0, 
    val = 108}, {name = 0x80e325c "nologin", has_arg = 0, flag = 0x0, val = 
110}, {name = 0x80e3264 "session", has_arg = 1, flag = 0x0, 
    val = 115}, {name = 0x80dddb1 "version", has_arg = 0, flag = 0x0, val = 
118}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}

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




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

Comment By: Chris (cbanal)
Date: 2007-02-08 17:06

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

We're also seeing the problem here and backing out some of the changes out
of beta6 seems to fix the problem for us. Who knows that other problems it
will create though. This should at least make it easier to track down what
the problem is....

*** gaim-2.0.0beta6.orig/gtk/gtkutils.c 2007-01-18 20:28:04.000000000
-0800
--- gaim-2.0.0beta6/gtk/gtkutils.c      2007-02-08 16:43:35.000000000
-0800
***************
*** 2606,2621 ****

                for (i = 0; prpl_formats[i]; i++) {
                        gaim_debug_info("buddyicon", "Converting buddy
icon to %s as %s\n", prpl_formats[i], filename);
!                       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],
!                                       &error, NULL)) {
!                               /* Success! */
!                               break;
!                       }
                        gaim_debug_warning("buddyicon", "Could not convert
to %s: %s\n", prpl_formats[i], error->message);
                        g_error_free(error);
                        error = NULL;
--- 2606,2615 ----

                for (i = 0; prpl_formats[i]; i++) {
                        gaim_debug_info("buddyicon", "Converting buddy
icon to %s as %s\n", prpl_formats[i], filename);
!                       /* The gdk-pixbuf documentation is wrong.
gdk_pixbuf_save returns TRUE if it was successful,
!                        * FALSE if an error was set. */
!                       if (gdk_pixbuf_save (pixbuf, filename,
prpl_formats[i], &error, NULL) == TRUE)
!                                       break;
                        gaim_debug_warning("buddyicon", "Could not convert
to %s: %s\n", prpl_formats[i], error->message);
                        g_error_free(error);
                        error = NULL;
***************


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

Comment By: Jooles (urioxis)
Date: 2007-02-08 15:28

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

I think it is a problem with GTK+ as I did not have this problem earlier
today using the GTK+ that comes combined with Gaim 2.0Beta5 having
upgraded to Gaim 2.0Beta6 using the no GTK+ installer. Having been messing
around I ended up needing to reinstall GTK+ and I used the standalone
2.6.10 Rev a package on the site and now I get this same problem. It
occurs with all the protocols I use except the AIM protocol (for both AIM
and ICQ) so that's MSN, Jabber and YIM. I'll give a backtrace anyway just
for reference (from the windows version). Here is the contents of the
gaim.rpt file 
-------------------

Error occured on Thursday, February 8, 2007 at 23:01:00.

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

Registers:
eax=00000000 ebx=00000000 ecx=77c2c2e3 edx=7ce000c8 esi=023178e8
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=00210246

Call stack:
620AA126  C:\Program Files\Gaim\gtkgaim.dll:620AA126 
gaim_gtk_convert_buddy_icon 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkutils.c:2619
620A120D  C:\Program Files\Gaim\gtkgaim.dll:620A120D  buddy_icon_set_cb 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkstatusbox.c:1369
68A27873  C:\Program Files\Gaim\libgaim.dll:68A27873  do_callbacks 
c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/prefs.c:754
620A12A0  C:\Program Files\Gaim\gtkgaim.dll:620A12A0  icon_choose_cb 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkstatusbox.c:1405
620A9AAB  C:\Program Files\Gaim\gtkgaim.dll:620A9AAB 
icon_filesel_choose_cb 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkutils.c:2293
00B97C64  C:\Program Files\Common
Files\GTK\2.0\bin\libgobject-2.0-0.dll:00B97C64 
g_cclosure_marshal_VOID__INT
00B834DE  C:\Program Files\Common
Files\GTK\2.0\bin\libgobject-2.0-0.dll:00B834DE  g_closure_invoke
00B9662E  C:\Program Files\Common
Files\GTK\2.0\bin\libgobject-2.0-0.dll:00B9662E  g_signal_emit_by_name
00B95434  C:\Program Files\Common
Files\GTK\2.0\bin\libgobject-2.0-0.dll:00B95434  g_signal_emit_valist
00B95676  C:\Program Files\Common
Files\GTK\2.0\bin\libgobject-2.0-0.dll:00B95676  g_signal_emit
00D44B80  C:\Program Files\Common
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:00D44B80  gtk_dialog_response
00D443C0  C:\Program Files\Common
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:00D443C0 
gtk_dialog_new_with_buttons
00B97A4A  C:\Program Files\Common
Files\GTK\2.0\bin\libgobject-2.0-0.dll:00B97A4A 
g_cclosure_marshal_VOID__VOID
00B834DE  C:\Program Files\Common
Files\GTK\2.0\bin\libgobject-2.0-0.dll:00B834DE  g_closure_invoke
00B9662E  C:\Program Files\Common
Files\GTK\2.0\bin\libgobject-2.0-0.dll:00B9662E  g_signal_emit_by_name
00B95434  C:\Program Files\Common
Files\GTK\2.0\bin\libgobject-2.0-0.dll:00B95434  g_signal_emit_valist
00B95676  C:\Program Files\Common
Files\GTK\2.0\bin\libgobject-2.0-0.dll:00B95676  g_signal_emit
00CF6A2F  C:\Program Files\Common
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:00CF6A2F  gtk_button_clicked
00CF7C7C  C:\Program Files\Common
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:00CF7C7C  gtk_button_get_relief
00CF7B1C  C:\Program Files\Common
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:00CF7B1C  gtk_button_get_relief
00A19DD2  C:\Program Files\Common
Files\GTK\2.0\bin\libglib-2.0-0.dll:00A19DD2  g_main_context_wakeup
00A18267  C:\Program Files\Common
Files\GTK\2.0\bin\libglib-2.0-0.dll:00A18267  g_main_depth
00A18D60  C:\Program Files\Common
Files\GTK\2.0\bin\libglib-2.0-0.dll:00A18D60  g_main_context_dispatch
00A19007  C:\Program Files\Common
Files\GTK\2.0\bin\libglib-2.0-0.dll:00A19007  g_main_context_dispatch
00A194AA  C:\Program Files\Common
Files\GTK\2.0\bin\libglib-2.0-0.dll:00A194AA  g_main_loop_run
00DBADAF  C:\Program Files\Common
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:00DBADAF  gtk_main
62083C80  C:\Program Files\Gaim\gtkgaim.dll:62083C80  gaim_main 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkmain.c:824
004019A7  C:\Program Files\Gaim\gaim.exe:004019A7  WinMain 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/win32/win_gaim.c:551
0040207A  C:\Program Files\Gaim\gaim.exe:0040207A  WinMain 
c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/win32/win_gaim.c:244
00401237  C:\Program Files\Gaim\gaim.exe:00401237
004012A8  C:\Program Files\Gaim\gaim.exe:004012A8
7C816FD7  C:\WINDOWS\system32\kernel32.dll:7C816FD7 
RegisterWaitForInputIdle
------------------

After replacing it using the full Gaim 2.0Beta6 installer the seg faults
stop and all I get is some error messages that the picture I chose was too
large for the jabber protocol.

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

Comment By: hexo (tanguyleost)
Date: 2007-02-08 12:00

Message:
Logged In: YES 
user_id=1710138
Originator: YES

I just compiled gtk-2.8 from source, compiled gaim-2beta6 again using this
gtk version and the bug does not occur anymore.


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

Comment By: hexo (tanguyleost)
Date: 2007-02-08 09:07

Message:
Logged In: YES 
user_id=1710138
Originator: YES

Hello, I use the gtk libraries included in debian sarge:
libgtk2.0-dev  2.6.4-3.


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

Comment By: Stu Tomlinson (nosnilmot)
Date: 2007-02-08 06:13

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

What version of Gtk?

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

Comment By: hexo (tanguyleost)
Date: 2007-02-07 10:21

Message:
Logged In: YES 
user_id=1710138
Originator: YES

sorry i made a mistake in my previous comment:

the problem is probably *not* related to msn 

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

Comment By: hexo (tanguyleost)
Date: 2007-02-07 10:20

Message:
Logged In: YES 
user_id=1710138
Originator: YES

I have the same problem when i try to change my jabber icon, so the
problme is probably related to msn

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

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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Gaim-bugs mailing list
Gaim-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gaim-bugs

Reply via email to