Bug 1248

Summary: Crash when acquiring from Hantek 4032L
Product: PulseView Reporter: silverdr
Component: AcquisitionAssignee: Nobody <nobody>
Severity: blocker CC: andy, soeren, umerali199659, uwe
Priority: Normal    
Version: 0.5.0   
Target Milestone: ---   
Hardware: x86   
OS: Mac OS X   
Attachments: Crash report

Description silverdr 2018-07-18 17:04:41 CEST
Created attachment 445 [details]
Crash report

Acquisition Settings: Samples: 20G @ 10M/s
Shortly after trigger initialises the acquisition, the program crashes. Seems that acquisition of small number of samples is unaffected. Memory allocation? Crash report attached below.
Comment 1 Soeren Apel 2018-07-18 17:14:29 CEST
Well, do you have 20GB of memory to hold 20G samples?

Also, do you have a pre-trigger ratio set?
Comment 2 silverdr 2018-07-19 13:38:59 CEST
Depends on what you mean by "have" and "memory". The machine in question has 64GiB of RAM and lots of swap space. If 20GiB physical RAM is available at given point in time I can't tell, obviously. That should not be a reason good enough for crashing, though as allocation is optimistic anyway. So to answer the question - I surely have more than enough "available" memory. As to answer the second question I tried lowering the pre-trigger to minimum (5% AFAIR) with no difference.
Comment 3 silverdr 2018-07-19 13:44:22 CEST
To add to the previous answer - I eventually sampled the required waveforms at the same settings using "Hantek" software running on virtual machine with only one (1) GiB of RAM allocated to it.
Comment 4 Andrej Valek 2018-08-08 19:29:26 CEST
Could you please provide a log with debug mode enabled?
I am thinking about 4032l's FW version.
Comment 5 silverdr 2018-08-08 19:35:52 CEST
I'll be glad to help, of course but I would need to ask you to guide me through the process of obtaining the debug log you are asking about.
Comment 6 Andrej Valek 2018-08-08 20:07:24 CEST
(In reply to silverdr from comment #5)
> I'll be glad to help, of course but I would need to ask you to guide me
> through the process of obtaining the debug log you are asking about.

There is multiple ways how to get the log. You can get it over sigrok-cli or pulseview.
1. $ sigrok-cli -l 5 -d hantek-4032l --show > sigrok-cli.log 2>&1
 There should be line like this:
>sr: [00:00.014059] device: hantek-4032l: Opening device instance.
>sr: [00:00.082527] hantek-4032l: FPGA version: 0x4303.
>Channel groups:
2. $ pulseview -l 5 &
 Open settings(gear with wrench) > Logging > Save to File
Comment 7 Andrej Valek 2018-08-10 08:51:17 CEST
Could you please reproduce it with "demo" device? After that, we can confirm/refuse if it's related to 4032l (also change title).
Comment 8 silverdr 2018-08-10 13:03:00 CEST
I need to get back to the place where I have the equipment. Then I'll follow your guidelines and attach the results here if successful.
Comment 9 Soeren Apel 2018-09-28 22:34:49 CEST
Have you been able to reproduce this with demo?
Comment 10 Uwe Hermann 2018-10-03 17:27:55 CEST
I've been able to reproduce on 4032L and demo. I'm pretty convinced now that this is a duplicate of #1284, marking as such.

*** This bug has been marked as a duplicate of bug 1284 ***
Comment 11 Rock12 2023-06-20 07:56:09 CEST
At Car Seat Daily, we provide you with the latest news, reviews, and tips on child car seat safety. Our team of experts is dedicated to researching and testing various car seat models to bring you unbiased and informative reviews. https://carseatdaily.com/best-car-seat-cushion-for-sciatica/