ggc_0.4 crashes on reading data from ttyS0

Bug #610613 reported by HarzG
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I tried to use ggc_0.4, configured the Meter plug-in v1.0.7, selected Breeze2, selected port /dev/ttyS0, cable connected + Breeze2 on.

It's not possible te read data from the Breeze2.
I tried it with Breeze2 "on" by starting the ggc_0.4-application and with Breeze2 "off" bij starting ggc_0.4.
In both situations the meter was, of course, "on" before I started the Meter plug-in v1.0.7

ggc_0.4 starts the connection, the Breeze2-display shows "---" as usual on data-transfers, but after it the application crashed.

.../ggc_0.4/bin$ sh run_linux.sh
atech tools
=============================================================================
=== Startup/Update Manager ===
=== Startup file created succesfully. ===
=============================================================================
22:45:00,700 INFO [HibernateConfiguration:183] - Loading Db Configuration #0
22:45:00,703 INFO [GGCDbConfig:132] - GGCDb: Loading Db Configuration #0: Internal Db (H2)
selected language: de
22:45:01,427 INFO [DataAccess:1442] - Start internal Web Server
22:45:01,455 WARN [ConfigurationManager:416] - Configuration key BG_UNIT doesn't exist.
22:45:01,998 INFO [GGCDb:291] - createConfiguration() - Process
22:45:01,999 INFO [HibernateConfiguration:183] - Loading Db Configuration #0
22:45:01,999 INFO [GGCDbConfig:132] - GGCDb: Loading Db Configuration #0: Internal Db (H2)
22:45:02,062 INFO [Environment:479] - Hibernate 3.1.3
22:45:02,071 INFO [Environment:509] - hibernate.properties not found
22:45:02,074 INFO [Environment:525] - using CGLIB reflection optimizer
22:45:02,075 INFO [Environment:555] - using JDK 1.4 java.sql.Timestamp handling
22:45:02,183 INFO [Configuration:469] - Reading mappings from resource: GGC_Main.hbm.xml
22:45:02,540 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.DayValueH -> data_dayvalues
22:45:02,575 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.DoctorTypeH -> doc_types
22:45:02,576 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.DoctorH -> doc_doctors
22:45:02,660 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.AppointmentH -> doc_appointment
22:45:02,661 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.StockTypeH -> stock_types
22:45:02,662 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.StockSubTypeH -> stock_subtypes
22:45:02,663 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.StocksH -> stock_stocks
22:45:02,664 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.SettingsH -> cfg_settings
22:45:02,665 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.ColorSchemeH -> cfg_colorscheme
22:45:02,672 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.DbInfoH -> db_info
22:45:02,673 INFO [Configuration:469] - Reading mappings from resource: GGC_Nutrition.hbm.xml
22:45:02,753 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.NutritionDefinitionH -> nutrition_definition
22:45:02,754 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.NutritionHomeWeightTypeH -> nutrition_home_weight_type
22:45:02,755 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.FoodGroupH -> nutrition_usda_food_group
22:45:02,755 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.FoodDescriptionH -> nutrition_usda_food_description
22:45:02,756 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.FoodUserGroupH -> nutrition_user_food_group
22:45:02,757 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.FoodUserDescriptionH -> nutrition_user_food_description
22:45:02,758 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.MealGroupH -> meal_group
22:45:02,758 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.MealH -> meal_meal
22:45:02,759 INFO [Configuration:469] - Reading mappings from resource: GGC_Other.hbm.xml
22:45:02,812 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.InetGroupH -> inet_group
22:45:02,813 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.InetTypeH -> inet_type
22:45:02,814 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.InetLinkGroupH -> inet_link_group
22:45:02,815 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.InetLinkH -> inet_link
22:45:02,816 INFO [Configuration:469] - Reading mappings from resource: GGC_Pump.hbm.xml
22:45:02,858 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.pump.PumpDataH -> pump_data
22:45:02,859 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.pump.PumpDataExtendedH -> pump_data_ext
22:45:02,860 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.pump.PumpProfileH -> pump_profile
22:45:02,861 INFO [Configuration:469] - Reading mappings from resource: GGC_CGM.hbm.xml
22:45:02,925 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.cgm.CGMDataH -> cgm_data
22:45:02,926 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.cgm.CGMDataExtendedH -> cgm_data_ext
22:45:02,929 INFO [GGCDb:291] - createConfiguration() - Process
22:45:02,929 INFO [HibernateConfiguration:183] - Loading Db Configuration #0
22:45:02,930 INFO [GGCDbConfig:132] - GGCDb: Loading Db Configuration #0: Internal Db (H2)
22:45:02,930 INFO [Configuration:469] - Reading mappings from resource: GGC_Main.hbm.xml
22:45:03,025 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.DayValueH -> data_dayvalues
22:45:03,026 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.DoctorTypeH -> doc_types
22:45:03,026 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.DoctorH -> doc_doctors
22:45:03,027 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.AppointmentH -> doc_appointment
22:45:03,028 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.StockTypeH -> stock_types
22:45:03,028 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.StockSubTypeH -> stock_subtypes
22:45:03,029 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.StocksH -> stock_stocks
22:45:03,029 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.SettingsH -> cfg_settings
22:45:03,030 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.ColorSchemeH -> cfg_colorscheme
22:45:03,031 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.DbInfoH -> db_info
22:45:03,038 INFO [Configuration:469] - Reading mappings from resource: GGC_Nutrition.hbm.xml
22:45:03,105 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.NutritionDefinitionH -> nutrition_definition
22:45:03,106 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.NutritionHomeWeightTypeH -> nutrition_home_weight_type
22:45:03,106 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.FoodGroupH -> nutrition_usda_food_group
22:45:03,107 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.FoodDescriptionH -> nutrition_usda_food_description
22:45:03,108 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.FoodUserGroupH -> nutrition_user_food_group
22:45:03,108 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.FoodUserDescriptionH -> nutrition_user_food_description
22:45:03,109 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.MealGroupH -> meal_group
22:45:03,110 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.MealH -> meal_meal
22:45:03,111 INFO [Configuration:469] - Reading mappings from resource: GGC_Other.hbm.xml
22:45:03,167 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.InetGroupH -> inet_group
22:45:03,168 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.InetTypeH -> inet_type
22:45:03,168 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.InetLinkGroupH -> inet_link_group
22:45:03,169 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.InetLinkH -> inet_link
22:45:03,170 INFO [Configuration:469] - Reading mappings from resource: GGC_Pump.hbm.xml
22:45:03,236 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.pump.PumpDataH -> pump_data
22:45:03,237 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.pump.PumpDataExtendedH -> pump_data_ext
22:45:03,237 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.pump.PumpProfileH -> pump_profile
22:45:03,238 INFO [Configuration:469] - Reading mappings from resource: GGC_CGM.hbm.xml
22:45:03,297 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.cgm.CGMDataH -> cgm_data
22:45:03,298 INFO [HbmBinder:309] - Mapping class: ggc.core.db.hibernate.cgm.CGMDataExtendedH -> cgm_data_ext
22:45:03,335 INFO [DriverManagerConnectionProvider:41] - Using Hibernate built-in connection pool (not for production use!)
22:45:03,336 INFO [DriverManagerConnectionProvider:42] - Hibernate connection pool size: 20
22:45:03,336 INFO [DriverManagerConnectionProvider:45] - autocommit mode: false
22:45:03,340 INFO [DriverManagerConnectionProvider:80] - using driver: org.h2.Driver at URL: jdbc:h2:../data/db/ggc_db
22:45:03,340 INFO [DriverManagerConnectionProvider:86] - connection properties: {user=sa, password=****, charSet=utf-8}
22:45:05,899 INFO [SettingsFactory:77] - RDBMS: H2, version: 1.0.69 (2008-03-29)
22:45:05,900 INFO [SettingsFactory:78] - JDBC driver: H2 JDBC Driver, version: 1.0.69 (2008-03-29)
22:45:05,915 INFO [Dialect:103] - Using dialect: org.hibernate.dialect.H2Dialect
22:45:05,920 INFO [TransactionFactoryFactory:31] - Using default transaction strategy (direct JDBC transactions)
22:45:05,922 INFO [TransactionManagerLookupFactory:33] - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
22:45:05,922 INFO [SettingsFactory:125] - Automatic flush during beforeCompletion(): disabled
22:45:05,922 INFO [SettingsFactory:129] - Automatic session close at end of transaction: disabled
22:45:05,922 INFO [SettingsFactory:136] - JDBC batch size: 15
22:45:05,923 INFO [SettingsFactory:139] - JDBC batch updates for versioned data: disabled
22:45:05,923 INFO [SettingsFactory:144] - Scrollable result sets: enabled
22:45:05,924 INFO [SettingsFactory:152] - JDBC3 getGeneratedKeys(): enabled
22:45:05,924 INFO [SettingsFactory:160] - Connection release mode: auto
22:45:05,925 INFO [SettingsFactory:187] - Default batch fetch size: 1
22:45:05,925 INFO [SettingsFactory:191] - Generate SQL with comments: disabled
22:45:05,925 INFO [SettingsFactory:195] - Order SQL updates by primary key: disabled
22:45:05,926 INFO [SettingsFactory:338] - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
22:45:05,928 INFO [ASTQueryTranslatorFactory:24] - Using ASTQueryTranslatorFactory
22:45:05,930 INFO [SettingsFactory:203] - Query language substitutions: {}
22:45:05,930 INFO [SettingsFactory:209] - Second-level cache: enabled
22:45:05,930 INFO [SettingsFactory:213] - Query cache: disabled
22:45:05,931 INFO [SettingsFactory:325] - Cache provider: org.hibernate.cache.EhCacheProvider
22:45:05,934 INFO [SettingsFactory:228] - Optimize cache for minimal puts: disabled
22:45:05,934 INFO [SettingsFactory:237] - Structured second-level cache entries: disabled
22:45:05,938 INFO [SettingsFactory:264] - Statistics: disabled
22:45:05,938 INFO [SettingsFactory:268] - Deleted entity synthetic identifier rollback: disabled
22:45:05,939 INFO [SettingsFactory:283] - Default entity-mode: pojo
22:45:05,963 INFO [SessionFactoryImpl:154] - building session factory
22:45:05,967 DEBUG [CacheManager:191] - Creating new CacheManager with default config
22:45:05,969 DEBUG [CacheManager:164] - Configuring ehcache from classpath.
22:45:05,972 WARN [Configurator:126] - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/home/holger/Programme/diabetes/ggc_0.4/lib/hibernate3/ehcache-1.1.jar!/ehcache-failsafe.xml
22:45:05,976 DEBUG [Configuration$DiskStore:185] - Disk Store Path: /tmp
22:45:06,837 INFO [SessionFactoryObjectFactory:82] - Not binding factory to JNDI, no JNDI name configured
22:45:06,893 INFO [GGCDb:291] - loadConfigData() - Process
22:45:06,893 INFO [GGCDb:291] - loadColorSchemes() - Process
22:45:07,098 INFO [GGCDb:291] - loadConfigDataEntries() - Process
22:45:07,328 DEBUG [RedirectScreen:159] - PumpServer: 2
22:45:07,329 DEBUG [DataAccess:1248] - Reload daily settings (force:true)
22:45:07,329 INFO [GGCDb:291] - getHbA1c() - Process
22:45:07,349 DEBUG [GGCDb:281] - getHbA1c() - Readings: 0 0
22:45:07,349 INFO [GGCDb:291] - getDayStats() - Process
22:45:07,370 INFO [GGCDb:291] - getDayStatsRange() - Process
22:45:07,371 DEBUG [GGCDb:281] - getDayStatsRange() - 20100721 - 20100727
22:45:07,388 INFO [GGCDb:291] - loadConfigData() - Process
22:45:07,389 INFO [GGCDb:291] - loadColorSchemes() - Process
22:45:07,390 INFO [GGCDb:291] - loadConfigDataEntries() - Process
22:45:07,456 INFO [GGCDb:291] - loadNutritionDefinitions() - Process
22:45:07,586 INFO [GGCDb:291] - loadHomeWeights() - Process
22:45:08,508 DEBUG [GGCDbLoader:277] - We needed 6 seconds to startup.
22:45:11,807 DEBUG [SelectorAbstractDialog:588] - SelectorAbstract 0.2
22:45:16,681 DEBUG [DataAccessPlugInBase:975] - checkNativeLibrary: rxtxSerial
Experimental: JNI_OnLoad called.
22:45:16,724 DEBUG [RedirectScreen:159] - Stable Library
22:45:16,725 DEBUG [RedirectScreen:159] - =========================================
22:45:16,726 DEBUG [RedirectScreen:159] - Native lib Version = RXTX-2.1-7
22:45:16,726 DEBUG [RedirectScreen:159] - Java lib Version = RXTX-2.1-7
RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyS0
22:45:26,760 INFO [GGCDataReader:83] - GGCDataReader - Started
22:45:26,761 INFO [GGCDb:291] - getMeterValues() - Process
22:45:26,761 DEBUG [GGCDb:281] - getMeterValues() - Process
22:45:26,829 INFO [GGCDataReader:107] - GGCDataReader - Finished
22:45:41,353 DEBUG [DeviceReaderRunner:96] - Creating instance [name=Breeze2,company=Ascensia/Bayer,device=Breeze2,comm_port=/dev/ttyS0]
22:45:41,356 DEBUG [RedirectScreen:159] - SerialProtocol: open() - open
22:45:41,367 DEBUG [ProtocolLog:337] - SerialProtocol:open()
22:45:41,368 DEBUG [DeviceReaderRunner:109] - Device instance created and initied
22:45:41,369 DEBUG [DeviceReaderRunner:129] - Start reading of data
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f8f55229462, pid=4317, tid=140253596858128
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8
# Distribution: Ubuntu 10.04.1 LTS, package 6b18-1.8-4ubuntu3
# Problematic frame:
# C [librxtxSerial.so+0x6462] read_byte_array+0x52
#
# An error report file with more information is saved as:
# /home/holger/Programme/diabetes/ggc_0.4/bin/hs_err_pid4317.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted

HarzG (harzg)
affects: ubuntu → openjdk-6 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.