Bugs item #1658552, was opened at 2007-02-12 21:06
Message generated for change (Comment added) made by datallah
You can respond by visiting: 

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: win32
Group: 2.0.0 beta 6
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: agraham (agraham2)
Assigned to: Daniel Atallah (datallah)
Summary: Install custom smilies, copy custom smiley, crash

Initial Comment:
I installed a set of custom smilies 
Some of the strings in the theme file use polish characters for example if I 
open up notepad one I can see is <Ĺ“pioch> which should appear as <spioch> with 
a little accent over the s. Probably some codepage problem on my end there.

Anyway, if I insert that smiley into a conversation, then select it and hit 
Ctrl-C to copy: crash.


Error occured on Monday, February 12, 2007 at 17:41:12.

C:\Program Files\Gaim\gaim.exe caused an Access Violation at location 6b080dc5 
in module C:\Program Files\Common Files\GTK\2.0\bin\libgdk-win32-2.0-0.dll 
Reading from location 00000000.

eax=672cbe40 ebx=ce597c80 ecx=00000000 edx=ce597c80 esi=00000000 edi=0000c030
eip=6b080dc5 esp=0022f020 ebp=0022f138 iopl=0         nv up ei ng nz na po cy
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00210287

Call stack:
6B080DC5  C:\Program Files\Common 
Files\GTK\2.0\bin\libgdk-win32-2.0-0.dll:6B080DC5  gdk_property_change
605DFFA5  C:\Program Files\Common 
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:605DFFA5  gtk_target_list_get_type
605780D2  C:\Program Files\Common 
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:605780D2  gtk_marshal_VOID__UINT_STRING
62743935  C:\Program Files\Common 
Files\GTK\2.0\bin\libgobject-2.0-0.dll:62743935  g_closure_invoke
62756B66  C:\Program Files\Common 
Files\GTK\2.0\bin\libgobject-2.0-0.dll:62756B66  g_signal_has_handler_pending
62757A3C  C:\Program Files\Common 
Files\GTK\2.0\bin\libgobject-2.0-0.dll:62757A3C  g_signal_emit_valist
62757F56  C:\Program Files\Common 
Files\GTK\2.0\bin\libgobject-2.0-0.dll:62757F56  g_signal_emit
6069B4B4  C:\Program Files\Common 
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:6069B4B4  gtk_widget_activate
605765B2  C:\Program Files\Common 
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:605765B2  gtk_main_do_event
6B070E9E  C:\Program Files\Common 
Files\GTK\2.0\bin\libgdk-win32-2.0-0.dll:6B070E9E  gdk_event_get_graphics_expose
672DDAB7  C:\Program Files\Common Files\GTK\2.0\bin\libglib-2.0-0.dll:672DDAB7  
672DEF8B  C:\Program Files\Common Files\GTK\2.0\bin\libglib-2.0-0.dll:672DEF8B  
672DF16A  C:\Program Files\Common Files\GTK\2.0\bin\libglib-2.0-0.dll:672DF16A  
60575ADE  C:\Program Files\Common 
Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:60575ADE  gtk_main
62083C80  C:\Program Files\Gaim\gtkgaim.dll:62083C80  gaim_main  
004019A7  C:\Program Files\Gaim\gaim.exe:004019A7  WinMain  
0040207A  C:\Program Files\Gaim\gaim.exe:0040207A  WinMain  
00401237  C:\Program Files\Gaim\gaim.exe:00401237
004012A8  C:\Program Files\Gaim\gaim.exe:004012A8
7C816FD7  C:\WINDOWS\system32\kernel32.dll:7C816FD7  RegisterWaitForInputIdle


>Comment By: Daniel Atallah (datallah)
Date: 2007-02-18 12:04

Logged In: YES 
Originator: NO

UTF-8 (and ASCII since it is a subset) are the only supported encodings
for the theme file.

The Windows codepage that you're currently using has no effect - the file
still must be UTF-8

When you say that you "saved the file as UTF-8"  what exactly does that
mean - feel free to post an example file?


Comment By: agraham (agraham2)
Date: 2007-02-15 00:32

Logged In: YES 
Originator: YES

I changed my code page to Polish in Windows settings, and the file now
appears with the correct characters.
Gaim still crashes when copying them tho.
I tried replacing the high ascii letters with low ascii, and the crash
goes away (although of course the smilies no longer match the correct
strings, so they don't work).
Simply running the correct codepage is not enough to prevent the crash
tho, as I would expect.
I tried saving the file as a UTF-8, and smilies stopped working entirely.
I noticed the "theme" file for the default smiley set is ANSI encoded, so
I tried saving that one as a UTF-8, and the default smilies stopped
It seems that loading UTF-8 is not supported for the theme file, even
though the high ascii letters are, I assume, being interpreted as UTF-8


Comment By: Megan Schneider (ciran)
Date: 2007-02-14 23:46

Logged In: YES 
Originator: NO

Has duplicate 1659765


Comment By: Daniel Atallah (datallah)
Date: 2007-02-13 09:57

Logged In: YES 
Originator: NO

It looks like the theme contains invalidly encoded text.  If everything
was encoded in UTF-8, then you shouldn't have any problems. That said, we
probably should do some better validation; I will investigate the
possibility of doing so.


You can respond by visiting: 

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
Gaim-bugs mailing list

Reply via email to