gaim crash on ubuntu dapper

Bug #36278 reported by Celso Pinto
16
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

gaim, version 1.5.0+1.5.1cvs20051015-1ubuntu2 , started crashing. I haven't done
any changes and the backtrace suggests that may be something related to the
buddy list.

The bt is:
(gdb) bt
#0 0xb778262f in wcscoll_l () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7781bb1 in wcscoll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7890f06 in g_utf8_collate () from /usr/lib/libglib-2.0.so.0
#3 0x080943c7 in gaim_utf8_strcasecmp ()
#4 0x080b1807 in gaim_gtk_blist_refresh ()
#5 0x080afbf6 in gaim_gtk_blist_sort_method_unreg ()
#6 0x080b03c0 in gaim_gtk_blist_refresh ()
#7 0x080afd46 in gaim_gtk_blist_sort_method_unreg ()
#8 0x0808d2c0 in serv_got_update ()
#9 0xb710e620 in msn_user_update () from /usr/lib/gaim/libmsn.so
#10 0xb71046bd in msn_notification_close () from /usr/lib/gaim/libmsn.so
#11 0xb70faee4 in msn_cmdproc_process_cmd () from /usr/lib/gaim/libmsn.so
#12 0xb70fb033 in msn_cmdproc_process_cmd_text () from /usr/lib/gaim/libmsn.so
#13 0xb7107cef in msn_servconn_write () from /usr/lib/gaim/libmsn.so
#14 0x080c7cf6 in gaim_gtkdialogs_remove_chat ()
#15 0xb78948dc in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#16 0xb786e4e7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0xb78714d6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#18 0xb78717f8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0xb7cc1da5 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x080f41f7 in main ()

Revision history for this message
Luke Schierer (lschiere) wrote :

please run gaim with the -d flag and cause it to duplicate this crash (if
possible). Hopefully you can do so and then attach a debug log here. You will
want to filter the file as 1.x has an unfortunate tendency to sometimes print
password information to the -d output.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. That seems to be a glib issue. Could you get a backtrace
with libglib2.0-0-dbg installed?

Revision history for this message
Celso Pinto (cpinto) wrote :

I can't crash it anymore. I've tried a couple of times but no luck. I've
installed the dbg package and if it happens again I'll post the requested
information.

Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

Then I'll close this bug for now. Feel free to reopen if the problem appears again.

Revision history for this message
Celso Pinto (cpinto) wrote :

Here's the bt with dbg symbols installed. This is because of some japanese(?)
characters

(gdb) bt
#0 0xb76e562f in wcscoll_l () from /lib/tls/i686/cmov/libc.so.6
#1 0xb76e4bb1 in wcscoll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb77f3f06 in IA__g_utf8_collate (str1=0x8318dc0 "mayan_武士 (instead of war
on poverty they got a war on drugs so the police can bother me)",
    str2=0x8318e48 "mayan_武士 (instead of war on poverty they got a war on
drugs so the police can bother me)") at gunicollate.c:65
#3 0x080943c7 in gaim_utf8_strcasecmp ()
#4 0x080b1807 in gaim_gtk_blist_refresh ()
#5 0x080afbf6 in gaim_gtk_blist_sort_method_unreg ()
#6 0x080b03c0 in gaim_gtk_blist_refresh ()
#7 0x080afd46 in gaim_gtk_blist_sort_method_unreg ()
#8 0x0808d2c0 in serv_got_update ()
#9 0xb7070620 in msn_user_update () from /usr/lib/gaim/libmsn.so
#10 0xb70666bd in msn_notification_close () from /usr/lib/gaim/libmsn.so
#11 0xb705cee4 in msn_cmdproc_process_cmd () from /usr/lib/gaim/libmsn.so
#12 0xb705d033 in msn_cmdproc_process_cmd_text () from /usr/lib/gaim/libmsn.so
#13 0xb7069cef in msn_servconn_write () from /usr/lib/gaim/libmsn.so
#14 0x080c7cf6 in gaim_gtkdialogs_remove_chat ()
#15 0xb77f78dc in g_io_unix_dispatch (source=0x82cbe20, callback=0x80c7cb9
<gaim_gtkdialogs_remove_chat+329>, user_data=0xb73293d0) at giounix.c:162
#16 0xb77d14e7 in IA__g_main_context_dispatch (context=0x8144ce8) at gmain.c:1913
#17 0xb77d44d6 in g_main_context_iterate (context=0x8144ce8, block=1,
dispatch=1, self=0x816fec8) at gmain.c:2544
#18 0xb77d47f8 in IA__g_main_loop_run (loop=0x82c1d38) at gmain.c:2748
#19 0xb7c24da5 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x080f41f7 in main ()

Revision history for this message
Luke Schierer (lschiere) wrote :

a debug log, from running gaim with the -d flag, would still help. as best Stu
and I can tell from the output here, that is valid UTF-8, so perhaps its a glib
issue?

Revision history for this message
Chris Irwin (chrisirwin) wrote :

(In reply to comment #6)
> a debug log, from running gaim with the -d flag, would still help. as best Stu
> and I can tell from the output here, that is valid UTF-8, so perhaps its a glib
> issue?

I also encountered this issue. It turned out to be related to a buddy with
extended characters in his name. "¬Šђαŵŋ -"

Adding an alias in ~/.gaim/blist.xml works around the issue (oddly enough, I can
view his name via gaim's "Get Info" just fine).

I'm afraid I'm not too familiar with gdb, so I just redirected the output of
running `gaim -d` within gdb, and the backtrace, to a file. If you need anything
else, just let me know.

Revision history for this message
Chris Irwin (chrisirwin) wrote :

Created an attachment (id=5647)
gdb backtrace of `gaim -d`

Textual output of gdb backtrace

Revision history for this message
Sebastien Bacher (seb128) wrote :

Looks like a duplicate of bug #28640, reassigning and marking as duplicate, feel free to reopen if you still get the issue

Changed in gaim:
assignee: seb128 → desktop-bugs
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.