Old 15th December 2003, 23:24   #1
darui
Junior Member
 
Join Date: Dec 2003
Location: Brazil
Posts: 5
Winamp 5 Final: Assertion failed, line 131...

Hello guys! This is my first post

Today I downloaded Winamp 5 Final, but the following error appears on my screen when I try to open the program:


---------------------------
Assertion failed
---------------------------
Expression: f != NULL
File: C:\dev\Studio\Studio\font.cpp
Line: 131


I perfomed a clean install (removed previous version, your directory and the Registry was cleaned with jv16 PowerTools).

This error occurs with me since the first RC version of Winamp 5.

In other words, I never got to use the program!


Please, somebody can help me?!
darui is offline   Reply With Quote
Old 16th December 2003, 01:52   #2
TiCpu
Junior Member
 
Join Date: Sep 2002
Location: Québec in Canada
Posts: 11
Send a message via ICQ to TiCpu Send a message via AIM to TiCpu Send a message via Yahoo to TiCpu
Same here

I have this problem on my computer too, I probably think it's because I have Windows 2003 with Terminal server enabled:
---------------------------
Assertion failed
---------------------------
Expression: f != NULL
File: C:\dev\Studio\Studio\font.cpp
Line: 131

---------------------------
OK Cancel
---------------------------

It does that when I select Modern Skin in skinlist, classic works perfectly! Tryed to play with options of modern skin, nothing to do..
Windows is installed on D:\Windows font directory is D:\Windows\Fonts
using ATI Radeon 9000 on a Pentium !!! 933 MHz with 384 MB RAM..

If you want to try to reproduce this error on Windows 2003, you can connect my terminal server on ticpu.no-ip.com with login :
Username: Winamp5
Password: debugging
You will find a Winamp folder on the desktop, so try it out if you have time

(if you don't have terminal server client (mstsc.exe) simply connect it from my web client: http://ticpu.hopto.org/tsweb/winamp.htm)

[edit]Oh yes, I forgot to mention, this error was happening in both Winamp 5 version I tryed, beta2 and final[/edit]
TiCpu is offline   Reply With Quote
Old 16th December 2003, 03:18   #3
TiCpu
Junior Member
 
Join Date: Sep 2002
Location: Québec in Canada
Posts: 11
Send a message via ICQ to TiCpu Send a message via AIM to TiCpu Send a message via Yahoo to TiCpu
Problem resolved, account deleted, it realy was a fonts problem, Winamp is trying to read fonts in X:\Documents and Settings\(user)\WINDOWS\Fonts instead of X:\Windows\Fonts when Windows is in terminal server mode.
This is because GetWindowsDirectory function get this directory to correct compatibility problems with application using INI files, temporary fix is to put arial.ttf in your current user fonts directory.
TiCpu is offline   Reply With Quote
Old 16th December 2003, 07:37   #4
Dazog
Moderator Alumni
 
Join Date: Jun 2002
Posts: 418
http://firehose.net/~deadbeef/genff_fix.zip


With Winamp closed, unzip gen_ff.dll to Winamp\Plugins dir

Try this and if it works/ does not work please report back.

it should fix your problem


[EDIT]

Note: This fix will be included in v5.01
but not necessarily the version of gen_ff.dll in the link above.
Uninstall previous build and clean install Winamp 5.01


[EDIT2]

5.01 users should NOT use the above gen_ff fix
A newer version is already included in v5.01.
If the problem persists, refer to the posts below re: arial.ttf
Dazog is offline   Reply With Quote
Old 16th December 2003, 10:21   #5
j_yoda
Junior Member
 
Join Date: Dec 2003
Posts: 1
Same issue here.

System specs:
Windows Server 2003
P4 2.8Ghz
NVidia GeForce4 ti4200
1024mB RAM
2x 120GB Seagate hard drives

This has also occurred for all builds that I've used in the past (I believe I downloaded RC8 and RC10)

When I installed the new gen_ff.dll, I received the following error:

---------------------------
Assertion failed: winamp.exe - Application Error
---------------------------
The exception Breakpoint

A breakpoint has been reached.

(0x80000003) occurred in the application at location 0x01b82f54.
j_yoda is offline   Reply With Quote
Old 16th December 2003, 10:35   #6
darui
Junior Member
 
Join Date: Dec 2003
Location: Brazil
Posts: 5
Ok, I try to test posted possible solutions. I forgot to tell my computer configuration:

Athlon XP 1600+
256 MB DDR
Windows 2000 Professional SP4 + all fixes released after


I don't tryed to use classical skin interface, but I installed Winamp 5 because new interface
darui is offline   Reply With Quote
Old 16th December 2003, 15:32   #7
tourettes
Junior Member
 
Join Date: Apr 2003
Posts: 12
Thanks, no Assertion failed error anymore.
tourettes is offline   Reply With Quote
Old 16th December 2003, 16:23   #8
tourettes
Junior Member
 
Join Date: Apr 2003
Posts: 12
Tested with that patched file also. Both seem to work. I hope that next release will include that fix.
tourettes is offline   Reply With Quote
Old 16th December 2003, 17:02   #9
m0digital
Junior Member
 
Join Date: May 2001
Posts: 4
Send a message via AIM to m0digital
Excellent!

I've had this problem ever since RC1. I use Windows Server 2003 as well. Although when I installed the final it worked all the way until i reinstalled video card drivers then it refused to work. Weird.

But the gen_ff.dll fix works great.

thanks!
m0digital is offline   Reply With Quote
Old 16th December 2003, 19:22   #10
kimagure
Junior Member
 
Join Date: Dec 2003
Posts: 3
new gen_ff.dll didn't fix it

Just writing to say that I have this assertion error as well and the provided gen_ff.dll did not fix the assertion problem. I'm not sure if the others experiencing this problem are using Asian-language OS's, but I'm running the Japanese version of XP. I did install it with winamp closed, and no change in the error message:

Assertion Failed:
Expression: f != NULL
File: C:\dev\Studio\Studio\font.cpp
Line: 131

OK->

Winamp 5.0: winamp.exe - ƒAƒvƒŠƒP[ƒVƒ‡ƒ“ƒGƒ‰[
"0x01445239"‚Ì–½—ß‚ª"0x0447a870"‚̃ƒ‚ƒŠ‚ðŽQÆ‚µ‚Ü‚µ‚½Bƒƒ‚ƒŠ‚ª"read"‚ɂȂ邱‚Æ‚Í‚Å‚«‚Ü‚¹‚ñ‚Å‚µ‚½B

Translated as:

Application Error
The command/instruction at 0x01445239 tried to reference memory at 0x0447a870. The memory could not be read.

I'd love to give you the english error message, but I can't, my apologies.

If the problem has something to do with arial/unicode, arial fonts on the Japanese version of XP are unicode (I believe) to allow for display of all kanji/hanji from Japanese/Korean/Chinese fontsets.

In any case, I hope this helps. Running winamp with the classic skin and setting fonts for the playlist to Osaka/MS –¾’©(Mincho)/other asian fonts allows for display of filenames, however.

Hope you guys find a solution soon.
kimagure is offline   Reply With Quote
Old 16th December 2003, 19:32   #11
kimagure
Junior Member
 
Join Date: Dec 2003
Posts: 3
Just a side note:

I had my winamp 2.91 patched with the winamp 2.91 “ú–{Œê‰»ƒLƒbƒg (http://win32lab.com/fsw/wpjkit/), and winamp didn't apparantly like that after installing, so I had to remove everything and do a clean install. (got other errors/instant shutdown of winamp) Could have just been a further extension of the font problem, don't know.
kimagure is offline   Reply With Quote
Old 16th December 2003, 20:29   #12
darui
Junior Member
 
Join Date: Dec 2003
Location: Brazil
Posts: 5
Quote:
Originally posted by TiCpu
Problem resolved, account deleted, it realy was a fonts problem, Winamp is trying to read fonts in X:\Documents and Settings\(user)\WINDOWS\Fonts instead of X:\Windows\Fonts when Windows is in terminal server mode.
This is because GetWindowsDirectory function get this directory to correct compatibility problems with application using INI files, temporary fix is to put arial.ttf in your current user fonts directory.
Doesn't work for me.

I extracted the file in especified folder, but the error still occurs.
darui is offline   Reply With Quote
Old 16th December 2003, 20:33   #13
darui
Junior Member
 
Join Date: Dec 2003
Location: Brazil
Posts: 5
Sorry, the reply above are incorrect

Ok, the correct:


Replying from Dazog's post:

I extracted the file gen_ff.dll inside the especified folder, but the error still occurs.
darui is offline   Reply With Quote
Old 16th December 2003, 22:37   #14
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,871
Okay, so the new gen_ff.dll fixed it for some, but not all.

Looks like we're getting closer on this one.


For now, anyone who is receiving this error message
should try the temporary manual solution of:

copying arial.ttf
from the "%Windows%\Fonts" folder
to "X:\Documents and Settings\(Username)\WINDOWS\Fonts" dir
and/or "X:\Documents and Settings\Administrator\WINDOWS\Fonts" dir

(where "X" is the relevant drive letter)

Naturally, also make sure the version of arial.ttf in your %Windows%\Fonts dir is in tact, ie. not a shortcut, not damaged/corrupt, etc.

%Windows% = the folder where Windows is installed, eg.

C:\Windows
C:\WinNT
C:\Windows98
F:\Windows
D:\WinNT

etc etc etc


Basically, make sure that ARIAL.TTF (the Arial TrueType Font file)
is in all of the Fonts folders, as specified above!


If the problems persists, please do a clean install of 5.01




[edit -> update]

If the problem STILL persists, after trying everything from above:

Check your Windows\Fonts dir first
and make sure Arial is there
(you may need to uncheck "hide variations" in View menu)
Then "right click -> Properties" on Arial font and make sure it says filename is Arial.ttf

If it's something else, eg. ArialBD.ttf
Then if arial.ttf cannot be found anywhere on your comp
(eg. after you do a Windows Search for it)
then your only other hope is if you have a Windows CD

For WindowsXP
You can place the Windows XP CD in the CD-ROM Drive
then go to the command prompt
and type the following:

expand x:\i386\arial.tt_ c:\windows\fonts\arial.ttf

where x: is the letter of the cd-rom drive
and naturally, where "c:\windows" is where Windows is installed.

This will fix the problem (if indeed this was the cause of it).


[edit2]

arial.ttf (from WinXP sp1)
DJ Egg is offline   Reply With Quote
Old 17th December 2003, 00:24   #15
darui
Junior Member
 
Join Date: Dec 2003
Location: Brazil
Posts: 5
Hy guys!

I solved my problem!

My problem was: the Arial.ttf was missing from Windows Fonts directory, in my case: C:\WINNT\Fonts.

I reminded, therefore there are times some sites were with their fonts "strange"

Thanks for all help!
darui is offline   Reply With Quote
Old 17th December 2003, 01:11   #16
kimagure
Junior Member
 
Join Date: Dec 2003
Posts: 3
Similar Problem

I'm not sure if the patched version of the dll was necessary or not, but my own arial font in my FONTS directory was a link, and not the actual file itself (a situation caused by a 3rd party font managing software).

I managed to start it with modern skinning after reinstalling the arial font (and others that were linked) so that it was physically within the font directory.

Hope this helps to alleviate problems in future versions.
kimagure is offline   Reply With Quote
Old 21st December 2003, 13:11   #17
Draugluin
Junior Member
 
Join Date: Dec 2003
Posts: 4
5.01 update

Server 2003 with terminal server enabled

I'm having the problem with a clean install of 5.01

It's the exact same error.

edit:
%windir%\fonts\arial.ttf exists and is intact

I copied the file to %userprofile%\windows\fonts and it works around the problem
Draugluin is offline   Reply With Quote
Old 24th December 2003, 17:09   #18
angelus_ger
Junior Member
 
Join Date: Dec 2003
Posts: 1
WORKAROUND HAS WORKED

Thanks 4 the help
angelus_ger is offline   Reply With Quote
Old 29th May 2004, 10:05   #19
dieseldavid
Junior Member
 
Join Date: May 2004
Posts: 1
my solution

I had (i think) exactly this problem (Win98). It said something like "arial.ttf is not where it is supposed to be" and then the message mentioned above.
After having read the suggestions above without understanding everything, i decided to first copy the arial.ttf to the desktop. there, suprise, it did not show up as arial.ttf, but asLarial.ttf. I only had to change the name on the desktop to arial.ttf and then copy it back into the same folder where i took it from. after that i could without problem install the modern skin version.
The name of the font file the way it shows on the screen is not only missing the extension, it is totally different from the filename.
dieseldavid is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump