HydrologicEngineeringCenter / hec-dss

source code for HEC-DSS (Data Storage System)
MIT License
27 stars 7 forks source link

EXCEPTION_ACCESS_VIOLATION when running Java Application #128

Closed ktarbet closed 2 years ago

ktarbet commented 2 years ago
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  hec.heclib.util.Heclib.Hec_zsitsc([ILjava/lang/String;[I[F[DIII[IILjava/lang/String;Ljava/lang/String;[DI[IILjava/lang/String;ILjava/lang/String;I[I)V+0
j  hec.heclib.util.Heclib.zsitsc([ILjava/lang/String;[I[F[DIII[IILjava/lang/String;Ljava/lang/String;[DI[IILjava/lang/String;ILjava/lang/String;I[I)V+38
j  hec.heclib.dss.HecTimeSeries.flushToDisk()I+1321
j  hec.heclib.dss.HecTimeSeries.write(Z)I+17
j  hec.heclib.dss.HecTimeSeries.write(Lhec/io/TimeSeriesContainer;)I+710
j  com.rma.io.DssFileManagerImpl.writeTS(Lhec/io/TimeSeriesContainer;Lhec/io/StoreOption;)I+60
j  hec2.rts.io.DssFileManagerTimeSeriesDao.writeMixedType(Lhec/dataexchange/services/io/MappedDataExchange;Lhec/dataexchange/services/io/TimeSeriesAdapter;Lhec/dataexchange/services/data/MappedData;Lhec/dataexchange/services/data/DataStore;Lhec/dataexchange/services/data/MappedData;Lhec/io/StoreOption;)V+1137
j  hec2.rts.io.DssFileManagerTimeSeriesDao.writeData(Lhec/dataexchange/services/io/DataAdapter;Ljava/util/List;Lhec/dataexchange/services/data/MaxInterpolate;Lhec/dataexchange/services/data/DataStore;Lhec/dataexchange/services/data/DataStore;ZLhec/dataexchange/services/io/DataExchangeStatisticsModel;)V+341
j  hec.dataexchange.services.engine.BatchProcess.call()Lhec/dataexchange/services/io/DataExchangeStatisticsModel;+746
j  hec.dataexchange.model.DxForecastCallable.call()Ljava/util/Map;+308
j  hec2.rts.dataexchange.ExchangeUtil.lambda$runExtractAction$0(Lusace/metrics/services/Metrics;Lhec/dataexchange/model/DxForecastCallable;)Ljava/util/Map;+30
j  hec2.rts.dataexchange.ExchangeUtil$$Lambda$228.call()Ljava/lang/Object;+8
j  java.util.concurrent.FutureTask.run()V+42
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

VM Arguments: jvm_args: -Dexe.mainConfig=C:\APP\CWMS\CAVI-3.3.0_QA_Beta_27\CAVI\CAVI.config -Xmx2048m -Djava.library.path=../shared/lib -DLooseVersionCheck=true -DDisable.DbfFileHandling=true -Xverify:none -DLOGFILE=C:/Users/q0hecajd/AppData/Local/Temp/3/logs/cavi.log -DLogFileHasPid=true -DCWMS_HOME=. -DNoDxXsdValidation=true -DPLUGINS=../shared/jar/ext;jar/ext -Djavax.net.ssl.cwms.trustStore=../shared/config/CWMSServerCert.ts -Dhec.data.cwmsRating.RatingSet.databaseLoadMethod=eager -DTeaming.CwmsServers=true -DUSE_TABBED -DCOLLECTION -Doracle.metrics.clientid=CWMS CAVI Connection -Dhttp.agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) -Dcavi.netbeans.platformdir=./module/Dashboard -Dscripts.directory=C:/Users/q0hecajd/AppData/Roaming/HEC/HEC-DSSVue/scripts -Djava.security.policy=../shared/config/java.policy -Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.media.jai.disableMediaLib=true -DhideFrm=true -Djna.tmpdir=C:/Temp/cwms/temp -DUseEmbeddedDssVue=true -Dsun.rmi.server.exceptionTrace=true -Djava.rmi.server.hostname=127.0.0.1 -Doracle.caching.openallconnections=true -Dsun.java2d.d3d=false -Dsun.java2d.nodraw=true -Dcom.sun.media.jai.disableMediaLib=true -DschedulerEntries.directory=C:/Users/q0hecajd/AppData/Roaming/CWMS/CAVI/scheduler -Dprism.order=sw -Xms1024M -Xmx12000M -DLogFileHasPid=true java_command: usace.cavi.client.CAVI java_class_path (initial): classes;../HEC-HMS/lib/hms-command-1.1.jar;../shared/jar/callback-services-1.1-20210621.140919-1.jar;../shared/jar/context-specific-help-1.1.0.jar;../shared/jar/cwms-data-exchange-4.1.1.jar;../shared/jar/cwms-data-exchange-engine-4.1.1.jar;../shared/jar/cwms-data-status-summary-3.3.1.jar;../shared/jar/cwms-db-aspects-9.3.4.jar;../shared/jar/cwms-db-dao-9.3.4.jar;../shared/jar/cwms-db-jooq-9.3.4.jar;../shared/jar/cwms-db-jooq-aspect-9.3.4.jar;../shared/jar/cwms-db-jooq-codegen-7.0.0-SNAPSHOT.jar;../shared/jar/cwms-dbjob-controls-3.3.0.jar;../shared/jar/cwms-http-client-3.1.1.jar;../shared/jar/cwms-radar-client-3.1.1.jar;../shared/jar/cwms-radar-model-3.1.1.jar;../shared/jar/cwms-regi-tools-bridge-3.3.1-rc2.jar;../shared/jar/cwms-regi-tools-service-3.3.1-rc2.jar;../shared/jar/cwms-server-admin-1.0.0-rc5.jar;../shared/jar/cwms-server-admin-plugin-1.0.0-rc5.jar;../shared/jar/data-exchange-factories-4.1.1.jar;../shared/jar/data-exchange-services-4.1.1.jar;../shared/jar/data-exchange-ui-4.1.1.jar;../shared/jar/data-exchange-xml-4.1.1.jar;../shared/jar/dssgui-3.3.7.jar;../shared/jar/fia-cwms-plugin-3.2.2.jar;../shared/jar/global-context-provider-1.0.jar;../shared/jar/hec-client-app-4.0.0-rc1.jar;../shared/jar/hec-cwms-ratings-core-1.1.0.jar;../shared/jar/hec-cwms-ratings-gfx-1.1.0.jar;../shared/jar/hec-cwmsvue-3.3.1-rc2.jar;../shared/jar/hec-dashboard-api-dev-20210809.174218-2.jar;../shared/jar/hec-dashboard-launcher-1.0.jar;../shared/jar/hec-data-ui-4.0.0-rc6.jar;../shared/jar/hec-db-core-9.3.4.jar;../shared/jar/hec-db-jdbc-9.3.4.jar;../shared/jar/hec-db-radar-9.3.4.jar;../shared/jar/hec-geojson-1.0.jar;../shared/jar/hec-gt-crs-20.0.0.jar;../shared/jar/hec-gt-geotiff-20.0.0.jar;../shared/jar/hec-isocline-g2d-plot-1.0.0.jar;../shared/jar/hec-isocline-paint-1.0.0.jar;../shared/jar/hec-monolith-3.0.0-rc7.jar;../shared/jar/hec-nucleus-data-1.1.0.jar;../shared/jar/hec-nucleus-metadata-1.1.0.jar;../shared/jar/hec-osmmap-3.0.0.jar;../shared/jar/hec-r Launcher Type: SUN_STANDARD

ktarbet commented 2 years ago

subset of DSS log --

 *****DSS*** zsitsi6:  User header size is reported to be larger than the size of the available variable.
 User header not read from disk.
         -----DSS---Debug:  Enter zinqir6;  Flag: -VDTM-
         -----DSS---Debug:  Exit zinqir6
         Number:       0,  Character: UNSET

 WARNING: LOCATING PARAMETER VALUE IN TRUNCATED USER HEADER
   User header length : 29705648
   Truncated length   : 500
     -----DSS---Debug: Enter zreadx6
         UNIT =    3  PATH: //FTPK/Elev-Head/01APR2022/IR-MONTH/Best-MRBWM/                                                                                                                                                                                                                                                                                                                                                         
         KIHEAD:    1000,  KCHEAD:       0,  KUHEAD:       0,  KDATA:  500000,  IPLAN:   2
     -----DSS---Debug: Enter zrdbuf6
         UNIT =    3  PATH: //FTPK/Elev-Head/01APR2022/IR-MONTH/Best-MRBWM/                                                                                                                                                                                                                                                                                                                                                         
 --zrdbuf6:  New Record

HECDSS.log