[Gvsig_english] Errors when closing file.

Benjamin Ducke benjamin.ducke at oxfordarch.co.uk
Wed Dec 23 12:53:08 CET 2009


Hi Simon,

very good. Looks like you hit a nice, reproducible bug.
I will collect these and other bug reports and revisit them
after the Christmas holidays.

Those that I can reproduce, I will file Trac tickets for
to make them "official".

The bugs I can fix myself, I will fix for the final
release of gvSIG OADE. All other fixes will have to wait
for build 1254 or later.

One more thing: do PNG images work? If so, can you just
switch to an "all-PNG" workflow? There should not be
anything you can do with a GIF or BMP image that PNG
cannot handle just as well or better.

Cheers,

Ben

----- Original Message -----
From: "Simon Cropper (Botanicus Australia Pty Ltd)" <scropper at botanicusaustralia.com.au>
To: "Users and Developers mailing list" <gvsig_internacional at listserv.gva.es>
Sent: Wednesday, December 23, 2009 12:18:06 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Re: [Gvsig_english] Errors when closing file.

Ben,

After trying to reconstruct the file I have discovered the trigger. 
Inserting a GIF file in a map.

If I do this the error always appears. Remove it and the error occurs 
when you exit but will not reappear if you enter, edit then exit again.

If you insert the GIF again then the error is triggered the next time 
you . The same type of error file also (see attached)

The GIF is W=863. Height=588. Horizontal & Vertical Resolution = 96dpi. 
Bit Depth = 8, Frame Count=1. Occurs if I use a BMP file also.

Cheers Simon

Simon Cropper
Botanicus Australia Pty Ltd
PO Box 160, Sunshine, Victoria 3020.
P: 9311 5822. M: 041 830 3437.
mailto: scropper at botanicusaustralia.com.au 
<mailto:scropper at botanicusaustralia.com.au>
web: www.botanicusaustralia.com.au <http://www.botanicusaustralia.com.au>



Benjamin Ducke wrote:
> ----- "Simon Cropper (Botanicus Australia Pty Ltd)" <scropper at botanicusaustralia.com.au> wrote:
>
>   
>> Could the error be due to loading a version of gvSIG OADA on my
>> system? 
>>     
>
> No. The two installations do not share any code. GvSIG OADE comes
> with a bundled JRE and does not touch anything installed in your
> system. Also, gvSIG OADE is based on build 1253, just like the
> official gvSIG 1.9 release. So it handles project file reading/writing
> in exactly the same way.
>
>   
>> I loaded up this alternative system last night. Problems only happened
>>
>> tofday (although I have not made complex symbols before).
>>     
>
> That's coincidence.
>
> The error message you posted is very generic. To find the problem, 
> it would be more helpful if you attached a copy of gvSIG.log (in
> its state right after the crash). The file is located in your gvSIG
> user folder.
>
> Ben
>
>   
>> I kept a copy of the working and non-working project file. If someone
>>
>> can tell me what to look for I can compare the files.
>> -- 
>>
>> Cheers Simon
>>
>> Simon Cropper
>> Botanicus Australia Pty Ltd
>> PO Box 160, Sunshine, Victoria 3020.
>> P: 9311 5822. M: 041 830 3437.
>> mailto: scropper at botanicusaustralia.com.au 
>> <mailto:scropper at botanicusaustralia.com.au>
>> web: www.botanicusaustralia.com.au
>> <http://www.botanicusaustralia.com.au>
>>
>>
>>
>> [image/jpeg:error.jpg]
>>
>>
>> [image/jpeg:symbol_properties.jpg]
>>
>> _______________________________________________
>> Gvsig_internacional mailing list
>> Gvsig_internacional at listserv.gva.es
>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>>     
>
>
> ------
> Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>
>
>   

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x276d1cf0, pid=2984, tid=124
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode)
# Problematic frame:
# C  0x276d1cf0
#

---------------  T H R E A D  ---------------

Current thread (0x2857fe20):  JavaThread "Secondary finalizer" [_thread_in_native, id=124]

siginfo: ExceptionCode=0xc0000005, reading address 0x276d1cf0

Registers:
EAX=0x276d1cf0, EBX=0x23addef8, ECX=0x280637f0, EDX=0x23adfc20
ESP=0x26f9f6cc, EBP=0x26f9f6f8, ESI=0x23addef8, EDI=0x2857fe20
EIP=0x276d1cf0, EFLAGS=0x00010293

Top of Stack: (sp=0x26f9f6cc)
0x26f9f6cc:   00a982ff 2857fee0 26f9f70c 00000000
0x26f9f6dc:   26f9f6dc 00000000 26f9f70c 23adfc20
0x26f9f6ec:   00000000 23addef8 26f9f708 26f9f72c
0x26f9f6fc:   00a929e3 00000000 00a96509 00000000
0x26f9f70c:   08213360 26f9f710 23ade4e1 26f9f734
0x26f9f71c:   23adfc20 00000000 23ade508 26f9f734
0x26f9f72c:   26f9f748 00a90217 08213360 2857fe20
0x26f9f73c:   23ade508 2857fe20 00a901e5 26f9f7c4 

Instructions: (pc=0x276d1cf0)
0x276d1ce0:   
[error occurred during error reporting, step 100, id 0xc0000005]

Stack: [0x26ea0000,0x26fa0000),  sp=0x26f9f6cc,  free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x276d1cf0
j  com.ermapper.ecw.JNCSFile.finalize()V+9
v  ~StubRoutines::call_stub
V  [jvm.dll+0x87599]
V  [jvm.dll+0xdfbb2]
V  [jvm.dll+0x8746a]
V  [jvm.dll+0x8ca2d]
C  [java.dll+0x2006]
J  java.lang.ref.Finalizer.runFinalizer()V
J  java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V
v  ~RuntimeStub::alignment_frame_return Runtime1 stub
j  java.lang.ref.Finalizer$3.run()V+38
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [jvm.dll+0x87599]
V  [jvm.dll+0xdfbb2]
V  [jvm.dll+0x8746a]
V  [jvm.dll+0x871c7]
V  [jvm.dll+0xa2048]
V  [jvm.dll+0x1110d8]
V  [jvm.dll+0x1110a6]
C  [MSVCRT.dll+0x2a3b0]
C  [kernel32.dll+0xb729]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.ermapper.ecw.JNCSFile.ECWClose(Z)V+0
j  com.ermapper.ecw.JNCSFile.finalize()V+9
v  ~StubRoutines::call_stub
J  java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V
J  java.lang.ref.Finalizer.runFinalizer()V
J  java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V
v  ~RuntimeStub::alignment_frame_return Runtime1 stub
j  java.lang.ref.Finalizer$3.run()V+38
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
=>0x2857fe20 JavaThread "Secondary finalizer" [_thread_in_native, id=124]
  0x284ca410 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=1244]
  0x00367140 JavaThread "DestroyJavaVM" [_thread_blocked, id=2380]
  0x281b1a30 JavaThread "Timer-0" daemon [_thread_blocked, id=1924]
  0x281dce38 JavaThread "HSQLDB Timer @1e14a78" daemon [_thread_blocked, id=1392]
  0x26d55b28 JavaThread "WeakCollectionCleaner" daemon [_thread_blocked, id=3656]
  0x26c2a900 JavaThread "TimerQueue" daemon [_thread_blocked, id=4032]
  0x27851008 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=2696]
  0x26bd3aa8 JavaThread "Thread-2" [_thread_blocked, id=2028]
  0x26be1d80 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1092]
  0x26871618 JavaThread "AWT-Shutdown" [_thread_blocked, id=1916]
  0x00a4ffd8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2080]
  0x00a4ed08 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1464]
  0x00a4e030 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2884]
  0x00a44de0 JavaThread "Finalizer" daemon [_thread_blocked, id=596]
  0x00a43970 JavaThread "Reference Handler" daemon [_thread_blocked, id=3628]

Other Threads:
  0x00a3f730 VMThread [id=556]
  0x00a6aca8 WatcherThread [id=3372]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 9216K, used 327K [0x02a90000, 0x03480000, 0x05100000)
  eden space 8256K,   3% used [0x02a90000, 0x02ae1da8, 0x032a0000)
  from space 960K,   0% used [0x032a0000, 0x032a0000, 0x03390000)
  to   space 960K,   0% used [0x03390000, 0x03390000, 0x03480000)
 tenured generation   total 121376K, used 68940K [0x05100000, 0x0c788000, 0x21e90000)
   the space 121376K,  56% used [0x05100000, 0x094531f8, 0x09453200, 0x0c788000)
 compacting perm gen  total 32256K, used 32121K [0x21e90000, 0x23e10000, 0x25e90000)
   the space 32256K,  99% used [0x21e90000, 0x23dee548, 0x23dee600, 0x23e10000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040d000 	C:\Program Files\Java\jre1.5.0_12\bin\javaw.exe
0x7c900000 - 0x7c9b2000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000 	C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 	C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 	C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a1000 	C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000 	C:\WINDOWS\system32\GDI32.dll
0x77c10000 - 0x77c68000 	C:\WINDOWS\system32\MSVCRT.dll
0x76390000 - 0x763ad000 	C:\WINDOWS\system32\IMM32.DLL
0x6d640000 - 0x6d7dd000 	C:\Program Files\Java\jre1.5.0_12\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 	C:\WINDOWS\system32\WINMM.dll
0x5dac0000 - 0x5dac8000 	C:\WINDOWS\system32\rdpsnd.dll
0x76360000 - 0x76370000 	C:\WINDOWS\system32\WINSTA.dll
0x5b860000 - 0x5b8b5000 	C:\WINDOWS\system32\NETAPI32.dll
0x76bf0000 - 0x76bfb000 	C:\WINDOWS\system32\PSAPI.DLL
0x6d290000 - 0x6d298000 	C:\Program Files\Java\jre1.5.0_12\bin\hpi.dll
0x6d610000 - 0x6d61c000 	C:\Program Files\Java\jre1.5.0_12\bin\verify.dll
0x6d310000 - 0x6d32d000 	C:\Program Files\Java\jre1.5.0_12\bin\java.dll
0x6d630000 - 0x6d63f000 	C:\Program Files\Java\jre1.5.0_12\bin\zip.dll
0x6d000000 - 0x6d16a000 	C:\Program Files\Java\jre1.5.0_12\bin\awt.dll
0x73000000 - 0x73026000 	C:\WINDOWS\system32\WINSPOOL.DRV
0x774e0000 - 0x7761d000 	C:\WINDOWS\system32\ole32.dll
0x73760000 - 0x737ab000 	C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 	C:\WINDOWS\system32\DCIMAN32.dll
0x00920000 - 0x00928000 	C:\Program Files\Logitech\SetPoint\IMHook.dll
0x78130000 - 0x781cb000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\MSVCR80.dll
0x77690000 - 0x776b1000 	C:\WINDOWS\system32\NTMARTA.DLL
0x71bf0000 - 0x71c03000 	C:\WINDOWS\system32\SAMLIB.dll
0x76f60000 - 0x76f8c000 	C:\WINDOWS\system32\WLDAP32.dll
0x74720000 - 0x7476c000 	C:\WINDOWS\system32\MSCTF.dll
0x00970000 - 0x00981000 	C:\Program Files\Logitech\SetPoint\lgscroll.dll
0x7c420000 - 0x7c4a7000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\MSVCP80.dll
0x755c0000 - 0x755ee000 	C:\WINDOWS\system32\msctfime.ime
0x7c9c0000 - 0x7d1d7000 	C:\WINDOWS\system32\shell32.dll
0x77f60000 - 0x77fd6000 	C:\WINDOWS\system32\SHLWAPI.dll
0x773d0000 - 0x774d3000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
0x5d090000 - 0x5d12a000 	C:\WINDOWS\system32\comctl32.dll
0x6d240000 - 0x6d290000 	C:\Program Files\Java\jre1.5.0_12\bin\fontmanager.dll
0x6d4d0000 - 0x6d4e3000 	C:\Program Files\Java\jre1.5.0_12\bin\net.dll
0x71ab0000 - 0x71ac7000 	C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 	C:\WINDOWS\system32\WS2HELP.dll
0x6d4f0000 - 0x6d4f9000 	C:\Program Files\Java\jre1.5.0_12\bin\nio.dll
0x6d1c0000 - 0x6d1e3000 	C:\Program Files\Java\jre1.5.0_12\bin\dcpr.dll
0x71b20000 - 0x71b32000 	C:\WINDOWS\system32\MPR.dll
0x75f60000 - 0x75f67000 	C:\WINDOWS\System32\drprov.dll
0x71c10000 - 0x71c1e000 	C:\WINDOWS\System32\ntlanman.dll
0x71cd0000 - 0x71ce7000 	C:\WINDOWS\System32\NETUI0.dll
0x71c90000 - 0x71cd0000 	C:\WINDOWS\System32\NETUI1.dll
0x71c80000 - 0x71c87000 	C:\WINDOWS\System32\NETRAP.dll
0x75f70000 - 0x75f7a000 	C:\WINDOWS\System32\davclnt.dll
0x77920000 - 0x77a13000 	C:\WINDOWS\system32\SETUPAPI.dll
0x77b40000 - 0x77b62000 	C:\WINDOWS\system32\appHelp.dll
0x76fd0000 - 0x7704f000 	C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 	C:\WINDOWS\system32\COMRes.dll
0x77120000 - 0x771ab000 	C:\WINDOWS\system32\OLEAUT32.dll
0x77c00000 - 0x77c08000 	C:\WINDOWS\system32\VERSION.dll
0x76980000 - 0x76988000 	C:\WINDOWS\system32\LINKINFO.dll
0x76990000 - 0x769b5000 	C:\WINDOWS\system32\ntshrui.dll
0x76b20000 - 0x76b31000 	C:\WINDOWS\system32\ATL.DLL
0x769c0000 - 0x76a74000 	C:\WINDOWS\system32\USERENV.dll
0x29b30000 - 0x29df5000 	C:\WINDOWS\system32\xpsp2res.dll
0x6d3d0000 - 0x6d3ef000 	C:\Program Files\Java\jre1.5.0_12\bin\jpeg.dll
0x68000000 - 0x68036000 	C:\WINDOWS\system32\rsaenh.dll
0x71a50000 - 0x71a8f000 	C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 	C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 	C:\WINDOWS\System32\winrnr.dll
0x76fc0000 - 0x76fc6000 	C:\WINDOWS\system32\rasadhlp.dll

VM Arguments:
jvm_args: -Djava.library.path=C:/Program Files/gvSIG_1.9/lib -Xmx500M -Xss1024k
java_command: com.iver.andami.Launcher gvSIG gvSIG/extensiones
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;c:\patn
USERNAME=simon_cropper
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 3

CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_12-b04) for windows-x86, built on May  2 2007 02:07:59 by "java_re" with MS VC++ 6.0



_______________________________________________
Gvsig_internacional mailing list
Gvsig_internacional at listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional


------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.



More information about the Gvsig_internacional mailing list