gtk-bugs item #1365939, was opened at 2005-11-24 18:19
Message generated for change (Settings changed) made by lschiere
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=680472&aid=1365939&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(unknown)
Group: gtk #304702 pango shape assert
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Rob (rbarreca)
Assigned to: Daniel Atallah (datallah)
Summary: Pango-ERROR **: file shape.c: line 75 (pango_shape): asse...

Initial Comment:
Initially got this with Gaim 1.5.0.  I've since
installed gtk+ runtime 2.6.10 and Pango 1.8.2 even and
still get this when talking to certain people who use
different fonts.  So I basically can't even use GAIM. 
This is a critical bug, albeit maybe it's with Pango, I
don't know.  Any thoughts?

Windows Runtime Error:
Pango-ERROR **: file shape.c: line 75 (pango_shape):
assertion failed: (glyphs->num_glyphs > 0)

Debug Window:
Loaded exchndl.dll
GTK+ path found: C:\Program Files\Common Files\GTK\2.0\bin
Using SetDllDirectory
Setting locale: LANG=en
wgaim: wgaim_init start
wgaim: This version of user32.dll contains FlashWindowEx
wgaim: shfolder.dll not found. Loading it..
wgaim: This version of shfolder.dll contains
SHGetFolderPathW
wgaim: Gaim settings dir: C:\Documents and Settings\Robert
Barreca\Application D
ata
wspell: Couldn't find path for Aspell
wgaim: wgaim_init end

(gaim.exe:740): Pango-CRITICAL **:
_pango_engine_shape_shape: assertion `PANGO_I
S_FONT (font)' failed

Debug Trace:
Loaded exchndl.dll
GTK+ path found: C:\Program Files\Common Files\GTK\2.0\bin
Using SetDllDirectory
Setting locale: LANG=en
wgaim: wgaim_init start
wgaim: This version of user32.dll contains FlashWindowEx
wgaim: shfolder.dll not found. Loading it..
wgaim: This version of shfolder.dll contains
SHGetFolderPathW
wgaim: Gaim settings dir: C:\Documents and
Settings\ehawkins.NECTECH\Application
Data
wspell: Found Aspell in C:\Program Files\Aspell\bin
wgaim: libgtkspell.dll not found. Loading it..
wgaim: This version of libgtkspell.dll contains
gtkspell_new_attach
wgaim: This version of libgtkspell.dll contains
gtkspell_get_from_text_view
wgaim: This version of libgtkspell.dll contains
gtkspell_detach
wgaim: This version of libgtkspell.dll contains
gtkspell_set_language
wgaim: This version of libgtkspell.dll contains
gtkspell_recheck_all
wgaim: wgaim_init end

(gaim.exe:3592): Pango-WARNING **: The specified module
could not be found.
Failed to load Pango module for id:
'BasicScriptEngineWin32'
(gaim.exe:3592): Pango-WARNING **: The specified module
could not be found.
Failed to load Pango module for id:
'BasicScriptEngineWin32'
(gaim.exe:3592): Pango-WARNING **: The specified module
could not be found.
Failed to load Pango module for id:
'BasicScriptEngineWin32'
(gaim.exe:3592): Pango-WARNING **: The specified module
could not be found.
Failed to load Pango module for id:
'BasicScriptEngineWin32'
(gaim.exe:3592): Pango-WARNING **: The specified module
could not be found.
Failed to load Pango module for id:
'BasicScriptEngineWin32'
(gaim.exe:3592): Pango-WARNING **: The specified module
could not be found.
Failed to load Pango module for id:
'BasicScriptEngineWin32'
(gaim.exe:3592): Pango-WARNING **: The specified module
could not be found.
Failed to load Pango module for id:
'BasicScriptEngineWin32'
(gaim.exe:3592): Pango-CRITICAL **:
_pango_engine_shape_shape: assertion `PANGO_I
S_FONT (font)' failed



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

Comment By: Daniel Atallah (datallah)
Date: 2006-03-07 20:43

Message:
Logged In: YES 
user_id=325843

This is not a Gaim bug, but a bug in GTK+, the widget toolkit
used by Gaim.  Your bug is being moved to our "gtk bugs" tracker,
where it will be grouped with similar bugs.  When we know a gtk
bug number for this issue, your group number will reflect it. 

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

Comment By: Nathan (nolongerunknown)
Date: 2006-03-06 11:19

Message:
Logged In: YES 
user_id=1417204

After more testing I've found that I can reproduce this bug 
only in IMs that are between my WinXP PC (wingaim2beta2) 
and a mac (iChat). I'm using the AIM protocol.

Settings 1:
Logging enabled, HTML format (from the previous 
conversation, irrelevant at actual load time)
Show format on incoming messages enabled (from the previous 
conversation, irrelevant at actual load time)
History plugin turned on

These settings will cause it to crash the moment a chat 
window is opened with that person if a previous 
conversation was saved in the logs. This is presumably 
while trying to load the html log file. I've attached an 
example html file that causes a crash for me if loaded from 
history.

Settings 2:
Show format on incoming messages enabled

Crashes upon the receipt of a message from a mac user, 
regardless of what they're saying, if history is enabled or 
disabled, or logging is enabled or disabled. The message 
still makes it into the logs, formatted. It also manages to 
send auto-replies before the rendering is finished and the 
problem is encountered (they also appear in the chat logs). 
Example of that is attached as well. This situation is not 
universal though, at times it works and I can't seem to 
isolate the exact cause.

I'm hoping somebody can confirm that this results in a 
crash for them as well.

2006-03-04.161253.html - crash from logs (1)
2006-03-05.233450.html - crash on receipt (2)

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

Comment By: Nathan (nolongerunknown)
Date: 2006-02-24 03:09

Message:
Logged In: YES 
user_id=1417204

I am now getting the same error in gaim 2beta1&2 ...

It came out of nowhere with absolutely no changes to my 
system within the past two weeks or so--it was working fine 
for over two months and then started crashing upon message 
receive out of the blue. Messages are arriving long enough 
to make it into my logs. Upon disabling incoming fonts it 
works again, but enabling history makes it crash upon 
opening a new window. So far it has only been replicated in 
two situations where I'm on a pc and the other party is on 
a mac (long shot but worth mentioning).

I updated to gtk 2.6.10, uninstalled and reinstalled 2beta1 
and then uninstalled it again, deleted my logs, tried it 
again, installed 2beta2 and am still getting the same thing.

I've been put on 10 minute delay that prevents me from 
further testing. I may check in again.

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

Comment By: Rob (rbarreca)
Date: 2006-01-05 14:46

Message:
Logged In: YES 
user_id=1147469

Could you send your modified pango-querymodules.exe to
[EMAIL PROTECTED]

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

Comment By: Rob (rbarreca)
Date: 2006-01-05 14:38

Message:
Logged In: YES 
user_id=1147469

Yeah, that c:/devel path was hardcoded in all those etc
files.  Seems like a big oversight.  I changed all those to
the correct paths but I still get the error.

I just went in to each etc file in c:/Program Files/Common
Files/GTK/2.0/etc and changed the path from that c:/devel...
Is that all I need to do?  I'm not sure why I still get this
error:

Pango-ERROR **: file shape.c: line 75 (pango_shape):
assertion failed: (glyphs->num_glyphs > 0)

So I need to create a etc dir in my gaim dir with the
modified files?  How do I redirect pango-querymodules? Or,
do I have to build it?

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

Comment By: Joe Abbey (joeabbey)
Date: 2006-01-05 11:23

Message:
Logged In: YES 
user_id=965623

Hello,

I think I may have come up with a resolution to this
problem.  I too have had the bug with 2.6.9 and Gaim 1.5.0
on a Windows XP machine.  

After running the debug version gaim noted that it couldn't
find my Gaim etc directory.

Sure enough it wasn't there.  The debug message mentioned
running pango-querymodules.  I compared the output of this
utility (found in the bin directory of the GTK installation)
with that of the existing pango.modules file (found in the
etc/pango directory of the GTK installation).  The paths
were different!  Paths in the existing pango.modules appear
to be from a development directory.  My output contained the
path for my local machine.. So I redirected the output of
the pango-querymodules to a new pango.modules file, and
created etc/pango in my gaim installation directory and
moved the new pango.modules file there.  Hurray gaim could
now find the pango dlls.  

However this wasn't enough.  I had no pix maps.  So I did a
similar treatment to all of the gtk etc files (specifically
the gdk-pixbuf.loaders and gtk.immodules).  In this case I
searched-and-replaced all occurences of
c:/devel/something/else/ with C:/Program Files/Common
Files/GTK/2.0/.

Hurray Gaim worked happily.

I hope this can help rbarreca, and perhaps be added as a fix
to the default install of the Windows port of Gaim.

Cheers,

joe

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

Comment By: Rob (rbarreca)
Date: 2005-11-29 12:48

Message:
Logged In: YES 
user_id=1147469

I had 2.6.9 installed, but then I uninstalled everything and
reinstalled with 2.6.10 and I get the same error.  How can I
debug this better?

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

Comment By: Daniel Atallah (datallah)
Date: 2005-11-29 10:11

Message:
Logged In: YES 
user_id=325843

Which GTK+ runtime did you install? Try the one from the
http://sourceforge.net/project/showfiles.php?group_id=235&package_id=119698&release_id=355939

The error about BasicScriptEngineWin32 not being found seems
to indicate that something isn't installed right.

Having it die when someone messages you is probably a
different problem related to bugs in Pango that are
triggered most commonly by broken fonts.

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Gaim-gtk-bugs mailing list
Gaim-gtk-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gaim-gtk-bugs

Reply via email to