[ Rédigé dans le sens de lecture normal.
  Written in the usual reading direction. ]

Le (on) 21/05/2022, Dirk Hohndel <[email protected]> a écrit (wrote):

[...]
| /path/to/Subsurface.app/Contents/MacOS/Subsurface -v 2>&1 | tee 
/tmp/subsurface.log

Thank you.

This helped me to conclude that I am facing an intermittent misbehaviour.
The kind of software pb. I hate.

My context :
- MacOS 10.13.5 in pretty good health : usual uptime 30 days,
- Subsurface version 5.0.8,
- Aqualung i770R
  firmware V 2A.04

Here included 2 files :
- one in case of successful connection,
- one in case of failed connexion.

And between the 2, nothing changed:

- File > New logbook

- Import > Import from dive computer

        Download from dive computer
        - Vendor : Aqualung
        - Dive computer : i770R
        - √ Choose Bluetooth download mode […]
            - Bluetooth mode :  Auto
                [Scan]

                2 entries appears for the same ID :
                FQ010747 ({c7d52420-5e99-4800-a1bc-e5b07b2d0770})
                select the 1st one
                [Save]
                [Quit]

                [Download] or [Retry download]
                [Cancel]

After something like about ten tries, Subsurface crashes upon quiting the
        Download from dive computer
window.

Would a "-vv" help more?
What else may I do to diagnose and help to fix?
-- 
    « The only thing necessary for the triumph of evil
    is for good men to do nothing. »
                                                Edmund Burke
--------
daniel Azuelos
INFO: dev_info: Connecting to BLE device 
LE:{c7d52420-5e99-4800-a1bc-e5b07b2d0770}                                       
                       

INFO: dev_info: Connecting ...                                                  
                                                                

[2.579409] ERROR: Failed to receive the answer. [in 
/Users/hohndel/src/subsurface/libdivecomputer/src/oceanic_atom2.c:681 
(oceanic_atom2        _packet)]                                                 
                                                                                
      
[3.683789] ERROR: Failed to receive the answer. [in 
/Users/hohndel/src/subsurface/libdivecomputer/src/oceanic_atom2.c:681 
(oceanic_atom2        _packet)]                                                 
                                                                                
      
INFO: dc_device_open error value of 0                                           
                                                                
INFO: dev_info: Starting import ...                                             
                                                                

me("11:49:54.619") packet RECV "cdd00303ffe8e0"                                 
                                                                
QTime("11:49:54.619") packet READ "cdef0310ffffffffffffffffffffffffffffffff"    
                                                                
QTime("11:49:54.619") packet READ "cdd00303ffe8e0"                              
                                                                
QTime("11:49:54.622") packet SEND "cd400403f60001"                              
                                                                
QTime("11:49:54.622") packet WAIT                                               
                                                                
QTime("11:49:54.678") packet RECV "cde004105a0000020000002c0107000502010100"    
                                                                
QTime("11:49:54.678") packet RECV "cde10410020000000000000000001e0000000104"    
                                                                
QTime("11:49:54.678") packet READ "cde004105a0000020000002c0107000502010100"    
                                                                
QTime("11:49:54.678") packet READ "cde10410020000000000000000001e0000000104"    
                                                                
QTime("11:49:54.679") packet WAIT                                               
                                                                
QTime("11:49:54.691") packet RECV "cde2041000008c008c008c008c00000000000000"    
                                                                
QTime("11:49:54.691") packet RECV "cde304100000000000008c008c00001000000a4e"    
                                                                
QTime("11:49:54.691") packet RECV "cde404106400005d00000057025712004e000000"    
                                                                
QTime("11:49:54.691") packet RECV "cde5041000bb021900000000004e000000000000"    
                                                                
QTime("11:49:54.691") packet READ "cde2041000008c008c008c008c00000000000000"    
                                                                
turning off further BT debug output                                             
                                                                
Deleting BLE object                                                             
                                                                
Finishing download thread: 1 dives downloaded                                   
                                                                
restarting discovery agent                                                      
                                                                
Starting download from  "BLE"                                                   
                                                                
downloading only new dives                                                      
                                                                
---> stopping the discovery agent                                               
                                                                
-stop, success (waiting for 'inquiryComplete')                                  
                                                                
BT/BLE finished discovery                                                       
                                                                
qt_ble_open( {c7d52420-5e99-4800-a1bc-e5b07b2d0770} )                           
                                                                
trying to connect                                                               
                                                                
connected to the controller for device {c7d52420-5e99-4800-a1bc-e5b07b2d0770}   
                                                                
finished service discovery, start discovering characteristics                   
                                                                
Found service "{0000180a-0000-1000-8000-00805f9b34fb}"                          
                                                                
 .. ignoring standard service                                                   
                                                                
Found service "{0000180f-0000-1000-8000-00805f9b34fb}"                          
                                                                
 .. ignoring standard service                                                   
                                                                
Found service "{9e5d1e47-5c13-43a0-8635-82ad38a1386f}"                          
                                                                
 .. ignoring service Broadcom Upgrade #1                                        
                                                                
Found service "{cb3c4555-d670-4670-bc20-b61dbc851e9a}"                          
                                                                
 .. recognized service Pelagic (i770R, i200C, Pro Plus X, Geo 4.0)              
                                                                
starting service characteristics discovery                                      
                                                                
   .. service state changed to QLowEnergyService::DiscoveringServices           
                                                                
 .. done discovering services                                                   
                                                                
   .. service state changed to QLowEnergyService::ServiceDiscovered             
                                                                
Found service "{cb3c4555-d670-4670-bc20-b61dbc851e9a}" "Unknown Service"        
                                                                
   c: "{5ee30931-ccaa-4870-ab32-6b87ef1f78ed}"                                  
                                                                
   c: "{17738114-18db-467c-b15f-a5bdb84025be}"                                  
                                                                
   c: "{6606ab42-89d5-4a00-a8ce-4eb5e1414ee0}"                                  
                                                                
   c: "{a60b8e5c-b267-44d7-9764-837caf96489e}"                                  
                                                                
        d: "{00002902-0000-1000-8000-00805f9b34fb}"                             
                                                                
   c: "{a60b8e5c-b267-44d7-9d65-857bad95479f}"                                  
                                                                
Using service "{cb3c4555-d670-4670-bc20-b61dbc851e9a}" as preferred service     
                                                                
 .. enabling notifications                                                      
                                                                
Using read characteristic "{a60b8e5c-b267-44d7-9764-837caf96489e}"              
                                                                
now writing "0x0100" to the descriptor "{00002902-0000-1000-8000-00805f9b34fb}" 
                                                                
BLE write completed                                                             
                                                                
QTime("11:50:49.627") packet SEND "cd40000184"                                  
                                                                
QTime("11:50:49.627") packet WAIT                                               
                                                                
QTime("11:50:50.735") packet SEND "cd40000184"                                  
                                                                
QTime("11:50:50.735") packet WAIT                                               
                                                                
QTime("11:50:51.846") packet SEND "cd40000184"                                  
                                                                
QTime("11:50:51.846") packet WAIT                                               
                                                                
QTime("11:50:51.890") packet RECV "cde000105a415155413737305220324120303030"    
                                                                
QTime("11:50:51.890") packet RECV "cdc10002348f"                                
                                                                
QTime("11:50:51.890") packet READ "cde000105a415155413737305220324120303030"    
                                                                
QTime("11:50:51.890") packet READ "cdc10002348f"                                
                                                                
QTime("11:50:51.893") packet SEND "cd40010ae5000100070407000013"                
                                                                
QTime("11:50:51.893") packet WAIT                                               
                                                                
QTime("11:50:51.917") packet RECV "cdc001015a"                                  
                                                                
QTime("11:50:51.917") packet READ "cdc001015a"                                  
                                                                
QTime("11:50:51.919") packet SEND "cd400203b80000"                              
                                                                
QTime("11:50:51.919") packet WAIT                                               
                                                                
QTime("11:50:51.980") packet RECV "cde002105a000000100421000046510107470000"    
                                                                
QTime("11:50:51.980") packet RECV "cde10210000b01f204e202eb04c904ea04ff0faa"    
                                                                
QTime("11:50:51.980") packet READ "cde002105a000000100421000046510107470000"    
                                                                
QTime("11:50:51.980") packet READ "cde10210000b01f204e202eb04c904ea04ff0faa"    
                                                                
QTime("11:50:51.980") packet WAIT                                               
                                                                
QTime("11:50:51.991") packet RECV "cde2021048000000000000000000000000d400aa"    
                                                                
QTime("11:50:51.991") packet RECV "cde302107eea083d080000240869034d050250aa"    
                                                                
QTime("11:50:51.991") packet READ "cde2021048000000000000000000000000d400aa"    
                                                                
QTime("11:50:51.991") packetINFO: dev_info: modèle=i770R firmware=12865 
série=10747                                                             

INFO: dev_info: Looking for fingerprint in '/Users/dan/Library/Application 
Support/Subsurface/fingerprints/4b35c170.10747'                      

INFO: dev_info:  ... got 24 bytes                                               
                                                                

INFO: dev_info:  ... fingerprinted dive bbc578c1:b22ba15f                       
                                                                

INFO: dev_info:  ... dive not found                                             
                                                                

 READ "cde302107eea083d080000240869034d050250aa"                                
                                                                
QTime("11:50:51.991") packet WAIT                                               
                                                                
QTime("11:50:52.004") packet RECV "cde402101dc01f00070020002000000100132b00"    
                                                                
QTime("11:50:52.004") packet RECV "cde50210000000020000002c015f000502010100"
QTime("11:50:52.004") packet RECV "cde60210010000010001004e0081000100810000"
QTime("11:50:52.004") packet RECV "cde70210000000000000000000001e000000011e"
QTime("11:50:52.004") packet READ "cde402101dc01f00070020002000000100132b00"
QTime("11:50:52.004") packet READ "cde50210000000020000002c015f000502010100"
QTime("11:50:52.004") packet READ "cde60210010000010001004e0081000100810000"
QTime("11:50:52.004") packet READ "cde70210000000000000000000001e000000011e"
QTime("11:50:52.004") packet WAIT
QTime("11:50:52.014") packet RECV "cde8021000008c008c008c008c00000000000000"
QTime("11:50:52.015") packet RECV "cde90210e5000000000000000001000000000000"
QTime("11:50:52.015") packet RECV "cdea021000000000000000000000001400000064"
QTime("11:50:52.015") packet RECV "cdeb021064ffffffffffffffffffffffffffffff"
QTime("11:50:52.015") packet READ "cde8021000008c008c008c008c00000000000000"
QTime("11:50:52.015") packet READ "cde90210e5000000000000000001000000000000"
QTime("11:50:52.015") packet READ "cdea021000000000000000000000001400000064"
QTime("11:50:52.015") packet READ "cdeb021064ffffffffffffffffffffffffffffff"
QTime("11:50:52.015") packet WAIT
QTime("11:50:52.027") packet RECV "cdec0210ffffffffffffffffffffffffffffffff"
QTime("11:50:52.028") packet RECV "cded0210ffffffffffffffffffffffffffffffff"
QTime("11:50:52.028") packet READ "cdec0210ffffffffffffffffffffffffffffffff"
QTime("11:50:52.028") packet READ "cded0210ffffffffffffffffffffffffffffffff"
QTime("11:50:52.028") packet WAIT
QTime("11:50:52.041") packet RECV "cdee0210ffffffffffffffffffffffffffffffff"
QTime("11:50:52.041") packet RECV "cdef0210ff401122202705000200120000ffffff"
QTime("11:50:52.041") packet RECV "cdd00203ffef58"
QTime("11:50:52.041") packet READ "cdee0210ffffffffffffffffffffffffffffffff"
QTime("11:50:52.041") packet READ "cdef0210ff401122202705000200120000ffffff"
QTime("11:50:52.041") packet READ "cdd00203ffef58"
QTime("11:50:52.044") packet SEND "cd400303b80200"
QTime("11:50:52.044") packet WAIT
QTime("11:50:52.105") packet RECV "cde003105a248901000100010005141610081000"
QTime("11:50:52.105") packet READ "cde003105a248901000100010005141610081000"
QTime("11:50:52.105") packet WAIT
QTime("11:50:52.105") packet RECV "cde103100059080101080008000a071510081000"
QTime("11:50:52.105") packet READ "cde103100059080101080008000a071510081000"
QTime("11:50:52.105") packet WAIT
QTime("11:50:52.116") packet RECV "cde2031000ffffffffffffffffffffffffffffff"
QTime("11:50:52.116") packet RECV "cde30310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.116") packet READ "cde2031000ffffffffffffffffffffffffffffff"
QTime("11:50:52.116") packet READ "cde30310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.116") packet WAIT
QTime("11:50:52.127") packet RECV "cde40310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.127") packet RECV "cde50310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.127") packet RECV "cde60310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.128") packet RECV "cde70310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.128") packet READ "cde40310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.128") packet READ "cde50310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.128") packet READ "cde60310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.128") packet READ "cde70310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.128") packet WAIT
QTime("11:50:52.138") packet RECV "cde80310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.138") packet RECV "cde90310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.139") packet READ "cde80310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.139") packet READ "cde90310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.139") packet WAIT
QTime("11:50:52.149") packet RECV "cdea0310ffffffffffffffffffffffffffffffff"
QTime("11:50:52.149") packet RECV "cdeb0310ffffffffffffffffffffffffffffffff"
QTime("11:50INFO: dev_info: Plongée 1 : 20/05/2022 21:24

INFO: dev_info: Saving fingerprint for bbc578c1:b22ba15f to 
'/Users/dan/Library/Application Support/Subsurface/fingerprints/4b35c170.10747'

INFO: dev_info: Connecting to BLE device 
LE:{c7d52420-5e99-4800-a1bc-e5b07b2d0770}

INFO: dev_info: Connecting ...

[4.007558] ERROR: Failed to receive the answer. [in 
/Users/hohndel/src/subsurface/libdivecomputer/src/oceanic_atom2.c:681 
(oceanic_atom2_packet)]
[5.114483] ERROR: Failed to receive the answer. [in 
/Users/hohndel/src/subsurface/libdivecomputer/src/oceanic_atom2.c:681 
(oceanic_atom2_packet)]
[6.227366] ERROR: Failed to receive the answer. [in 
/Users/hohndel/src/subsurface/libdivecomputer/src/oceanic_atom2.c:681 
(oceanic_atom2_packet)]
INFO: dc_device_open error value of -7
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to