[Fwd: Re: road to 4.9]

Steve stevewilliams at internode.on.net
Mon Jul 15 06:03:43 PDT 2019


On Mon, 2019-07-15 at 14:59 +1000, Steve wrote:
> -------- Forwarded Message --------
> From: Steve <
> stevewilliams at internode.on.net
> >
> Reply-To: 
> stevewilliams at internode.on.net
> 
> To: Berthold Stoeger <
> bstoeger at mail.tuwien.ac.at
> >
> Cc: 
> subsurface at subsurface-divelog.org
> , Dirk Hohndel <
> dirk at hohndel.org
> >
> Subject: Re: road to 4.9
> Date: Mon, 15 Jul 2019 14:55:36 +1000
> 
> On Mon, 2019-07-15 at 00:11 +0200, Berthold Stoeger wrote:
> > Hi Steve,
> >  
> > > Cheers, output below:
> > 
> >  
> > Many thanks. Just for my peace of mind, would you please provide
> > the
> > output of the following gdb commands after it hits the crash:
> >  
> > (gdb) print i
> > (gdb) print nr
> > (gdb) print cylinder
> > (gdb) print *cylinder
> > (gdb) print dive->cylinder
> > (gdb) print &dive->cylinder
> > 
> > Berthold
> 
> Didn't have any luck with that, see below:
> 
> (gdb) print i
> No symbol "i" in current context.
> (gdb) print nr
> No symbol "nr" in current context.
> (gdb) print cylinder
> No symbol "cylinder" in current context.
> (gdb) print *cylinder
> No symbol "cylinder" in current context.
> 
> Figured it was pointless to continue any further
> 
> Steve
> 
> 
> 
> Sorry ignore that my bad I didn't revert the patches when I did that
> and it wasn't after the crash it was after I was testing Linus patch
> to
> output the error to the window.
> 
> Steve


Reverted the patches and recent commits, load cloud, save as  local
file, crashed:


(gdb) print i
$1 = <optimized out>
(gdb) print nr
$2 = <optimized out>
(gdb) print cylinder
$3 = (cylinder_t *) 0x80b5288
(gdb) print *cylinder
$4 = {type = {size = {mliter = 8500}, workingpressure = {mbar =
232000}, description = 0x808e7c0 "ECS 8.5ℓ 232bar (70cuft std.)"},
gasmix = {o2 = {permille = 210}, he = {permille = 200}}, start = {mbar
= 250000}, end = {
    mbar = 230000}, sample_start = {mbar = 0}, sample_end = {mbar = 0},
depth = {mm = 0}, manually_added = false, gas_used = {mliter = 0},
deco_gas_used = {mliter = 0}, cylinder_use = 4294967295, bestmix_o2 =
false, 
  bestmix_he = false}
(gdb) print dive->cylinder
$5 = {{type = {size = {mliter = 8500}, workingpressure = {mbar =
232000}, description = 0x808e7c0 "ECS 8.5ℓ 232bar (70cuft std.)"},
gasmix = {o2 = {permille = 210}, he = {permille = 200}}, start = {mbar
= 250000}, end = {
      mbar = 230000}, sample_start = {mbar = 0}, sample_end = {mbar =
0}, depth = {mm = 0}, manually_added = false, gas_used = {mliter = 0},
deco_gas_used = {mliter = 0}, cylinder_use = 4294967295, bestmix_o2 =
false, 
    bestmix_he = false}, {type = {size = {mliter = 8500},
workingpressure = {mbar = 232000}, description = 0x6a33f00 "ECS 8.5ℓ
232bar (70cuft std.)"}, gasmix = {o2 = {permille = 210}, he = {permille
= 200}}, start = {
      mbar = 250000}, end = {mbar = 220000}, sample_start = {mbar = 0},
sample_end = {mbar = 0}, depth = {mm = 0}, manually_added = false,
gas_used = {mliter = 0}, deco_gas_used = {mliter = 0}, cylinder_use =
4294967295, 
    bestmix_o2 = false, bestmix_he = false}, {type = {size = {mliter =
2000}, workingpressure = {mbar = 232000}, description = 0x808d2b0
"Faber 2ℓ 232 bar (15 cuft std.)"}, gasmix = {o2 = {permille = 1000},
he = {permille = 0}}, 
    start = {mbar = 220000}, end = {mbar = 170000}, sample_start =
{mbar = 0}, sample_end = {mbar = 0}, depth = {mm = 0}, manually_added =
false, gas_used = {mliter = 0}, deco_gas_used = {mliter = 0},
cylinder_use = 4294967295, 
    bestmix_o2 = false, bestmix_he = false}, {type = {size = {mliter =
0}, workingpressure = {mbar = 0}, description = 0x0}, gasmix = {o2 =
{permille = 0}, he = {permille = 0}}, start = {mbar = 0}, end = {mbar =
0}, 
    sample_start = {mbar = 0}, sample_end = {mbar = 0}, depth = {mm =
0}, manually_added = false, gas_used = {mliter = 0}, deco_gas_used =
{mliter = 0}, cylinder_use = OC_GAS, bestmix_o2 = false, 
    bestmix_he = false} <repeats 17 times>}
(gdb) print &dive->cylinder
$6 = (cylinder_t (*)[20]) 0x80b5288
(gdb) 


Steve

> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> 
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
> 



More information about the subsurface mailing list