Bugs item #1658552, was opened at 2007-02-13 02:06
Message generated for change (Comment added) made by agraham2
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100235&aid=1658552&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: win32
Group: 2.0.0 beta 6
Status: Open
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 
(http://sourceforge.net/tracker/index.php?func=detail&aid=1640705&group_id=235&atid=746976)
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.

Registers:
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  
g_main_context_dispatch
672DEF8B  C:\Program Files\Common Files\GTK\2.0\bin\libglib-2.0-0.dll:672DEF8B  
g_main_context_acquire
672DF16A  C:\Program Files\Common Files\GTK\2.0\bin\libglib-2.0-0.dll:672DF16A  
g_main_loop_run
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  
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


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

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

Message:
Logged In: YES 
user_id=1193769
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
working.
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
escapes.

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

Comment By: Megan Schneider (ciran)
Date: 2007-02-15 04:46

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

Has duplicate 1659765

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

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

Message:
Logged In: YES 
user_id=325843
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: 
https://sourceforge.net/tracker/?func=detail&atid=100235&aid=1658552&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