Author Topic: 'Minimum sample weight' parameter in DBE's auto sample generator: crash  (Read 5163 times)

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Hi people,

Playing with the sample generator in DBE, I was able to consistently crash the PixInsight application. Just set the "Minimum sample weight" to 0.98 or so, click on "Generate" and watch the main window disappear without warnings (on Linux).

Since the PixInsight components don't include debugging symbols, trying to obtain information from the core file generated is useless; however I attached gdb to a running PixInsight instance and was able to get this:

Code: [Select]
(gdb) cont
Continuing.
<At this point I clicked the "Generate" button in the DBE interface>
[New Thread 0xaebfdb90 (LWP 26063)]
[New Thread 0xadbfdb90 (LWP 26064)]
[New Thread 0xae3fdb90 (LWP 26065)]
[Thread 0xadbfdb90 (LWP 26064) exited]
<... blah blah ...>
[Thread 0xadbfdb90 (LWP 26069) exited]
[Thread 0xaebfdb90 (LWP 26063) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb75386c0 (LWP 25959)]
0xb6b66a8a in pcl::DynamicBackgroundExtractionInterface::GetSample () from /usr/lib/pixinsight/BackgroundModelization-pm32.so


25959 is the PID of the main application, so I guess it's the first thread.
--
 David Serrano

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Also crashed with a lower "Minimum sample weight" parameter but a restrictive tolerance. I'm beginning to think that it happens when no samples are generated.

Tolerance: 0.100
Shadows relaxation: 3.000 (default)
Smoothing factor: 0.250 (default)
Unweighted: off (default)
Default sample radius: 8
Samples per row: 20
Minimum sample weight: 0.800

Same error as before:

Code: [Select]
0xb6b70a8a in pcl::DynamicBackgroundExtractionInterface::GetSample () from /usr/lib/pixinsight/BackgroundModelization-pm32.so
--
 David Serrano