You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2003/01/08 12:39:52 UTC

DO NOT REPLY [Bug 15885] New: - EXCEPTION_ACCESS_VIOLATION with a particular ConversionPattern string

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15885>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15885

EXCEPTION_ACCESS_VIOLATION with a particular ConversionPattern string

           Summary: EXCEPTION_ACCESS_VIOLATION with a particular
                    ConversionPattern string
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Appender
        AssignedTo: log4j-dev@jakarta.apache.org
        ReportedBy: labate@inser.ch


With the ConversionPattern below (with '|' caracters), I have the problem given 
at the end of this message.

log4j.appender.A1.layout.ConversionPattern=%d{dd.MM HH:mm:ss} | %-5p | %-20c
{1} : %m%n

With this ConversionPattern, there is no problem:
%d{dd.MM HH:mm:ss} � %-5p � %-20c{1} : %m%n

The problem is reproducible. If I replace the characters '�' by '|' the problem 
occurs again.

- log4j, version 1.2.7
- JBuilder 7, english
- Windows 2000, english
- Regional settings: swiss french
- JDK, version 1.4.0_01

============== Start of problem message ==================

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D1B3B67
Function=[Unknown.]
Library=D:\DevTools\j2sdk1.4.0_01\jre\bin\fontmanager.dll

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.


Current Java thread:
	at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
	- locked <06C73770> (a java.lang.Class)
	at sun.java2d.SunGraphicsEnvironment.addPathFonts
(SunGraphicsEnvironment.java:709)
	at sun.java2d.SunGraphicsEnvironment.registerFonts
(SunGraphicsEnvironment.java:560)
	at sun.java2d.SunGraphicsEnvironment.access$000
(SunGraphicsEnvironment.java:57)
	at sun.java2d.SunGraphicsEnvironment$2.run
(SunGraphicsEnvironment.java:210)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.java2d.SunGraphicsEnvironment.loadFonts
(SunGraphicsEnvironment.java:204)
	- locked <02F9B7E8> (a sun.awt.Win32GraphicsEnvironment)
	at sun.java2d.SunGraphicsEnvironment.mapFamilyName
(SunGraphicsEnvironment.java:402)
	at java.awt.Font.initializeFont(Font.java:314)
	at java.awt.Font.<init>(Font.java:346)
	at sun.awt.windows.WDesktopProperties.setFontProperty
(WDesktopProperties.java:148)
	- locked <02A4C470> (a sun.awt.windows.WDesktopProperties)
	at sun.awt.windows.WDesktopProperties.getWindowsParameters(Native 
Method)
	at sun.awt.windows.WDesktopProperties.<init>(WDesktopProperties.java:56)
	at sun.awt.windows.WToolkit.initializeDesktopProperties
(WToolkit.java:859)
	at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1529)
	- locked <02F9A498> (a sun.awt.windows.WToolkit)
	at 
com.sun.java.swing.plaf.windows.WindowsLookAndFeel$DesktopProperty.<init>
(WindowsLookAndFeel.java:1457)
	at 
com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initComponentDefaults
(WindowsLookAndFeel.java:398)
	at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults
(BasicLookAndFeel.java:77)
	at javax.swing.UIManager.setLookAndFeel(UIManager.java:394)
	at javax.swing.UIManager.setLookAndFeel(UIManager.java:424)
	at com.inser.profil.presentation.ui.MainUI.<init>(MainUI.java:49)
	at com.inser.profil.presentation.ui.MainUI.main(MainUI.java:335)

Dynamic libraries:
0x00400000 - 0x00406000 	D:\DevTools\j2sdk1.4.0_01\bin\javaw.exe
0x77F80000 - 0x77FFB000 	C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0B000 	C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F31000 	C:\WINNT\system32\KERNEL32.dll
0x77D30000 - 0x77DA1000 	C:\WINNT\system32\RPCRT4.dll
0x77E10000 - 0x77E6F000 	C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F79000 	C:\WINNT\system32\GDI32.dll
0x78000000 - 0x78046000 	C:\WINNT\system32\MSVCRT.dll
0x6D330000 - 0x6D445000 	D:\DevTools\j2sdk1.4.0_01\jre\bin\client\jvm.dll
0x77570000 - 0x775A0000 	C:\WINNT\System32\WINMM.dll
0x6D1D0000 - 0x6D1D7000 	D:\DevTools\j2sdk1.4.0_01\jre\bin\hpi.dll
0x6D300000 - 0x6D30D000 	D:\DevTools\j2sdk1.4.0_01\jre\bin\verify.dll
0x6D210000 - 0x6D228000 	D:\DevTools\j2sdk1.4.0_01\jre\bin\java.dll
0x6D320000 - 0x6D32D000 	D:\DevTools\j2sdk1.4.0_01\jre\bin\zip.dll
0x6D000000 - 0x6D0F6000 	D:\DevTools\j2sdk1.4.0_01\jre\bin\awt.dll
0x77800000 - 0x7781E000 	C:\WINNT\System32\WINSPOOL.DRV
0x76620000 - 0x76630000 	C:\WINNT\system32\MPR.dll
0x75E60000 - 0x75E7A000 	C:\WINNT\System32\IMM32.dll
0x77A50000 - 0x77B45000 	C:\WINNT\system32\ole32.dll
0x6D180000 - 0x6D1D0000 	D:\DevTools\j2sdk1.4.0_01
\jre\bin\fontmanager.dll
0x51000000 - 0x51044000 	C:\WINNT\System32\DDRAW.dll
0x728A0000 - 0x728A6000 	C:\WINNT\System32\DCIMAN32.dll
0x69000000 - 0x69104000 	C:\WINNT\System32\atio2kaa.dll
0x0CF00000 - 0x0CF15000 	D:\DevTools\JBuilder7\lib\ext\jbWheel.dll
0x77920000 - 0x77943000 	C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 	C:\WINNT\system32\DBGHELP.dll
0x0E690000 - 0x0E69B000 	C:\WINNT\System32\PSAPI.DLL

Local Time = Wed Jan 08 12:11:07 2003
Elapsed Time = 2
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode)
#
# An error report file has been saved as hs_err_pid1820.log.
# Please refer to the file for further information.
#

============== End of problem message ==================

The above message is the same as the content of hs_err_pid1820.log.

Adriano Labate

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>