Segmentation fault in CvBoost train (Bug #3193)


Added by antonella cascitelli over 11 years ago. Updated over 9 years ago.


Status:Open Start date:2013-08-05
Priority:Normal Due date:
Assignee:Maria Dimashova % Done:

0%

Category:ml
Target version:2.4.10
Affected version:2.4.0 - 2.4.6 Operating System:Linux
Difficulty: HW Platform:x64
Pull request:

Description

When I use train method of CvBoost with update flag equals to true, there is a segmentation fault. I'm on debian and I'm on the master branch.
Try my example (in attachment) to see this issue.
Seems that CvMat data->counts and others structures are not allocated.


boost.cpp (1.9 kB) antonella cascitelli, 2013-08-05 04:24 pm


History

Updated by Victor Kocheganov over 11 years ago

Hello Antonella,

thank you for submitting the ticket. We will try to include fix into one of our next releases. But unfortunately we have limited resources at the moment and it would be great and appreciated if you can propose your own solution for this issue. (please see http://code.opencv.org/projects/opencv/wiki/How_to_contribute for detail)

Thank you in advance,
Victor

  • Status changed from New to Open
  • Target version set to 2.4.7

Updated by Maria Dimashova over 11 years ago

Antonella, thanks for the report. I reproduced the problem, but when I was fixing it, I found that the algorithm of CvBoost updating looks strange and opened #3208. Your problem will be fixed together with #3208 (in 3.0 probably).

Updated by Alexander Smorkalov over 11 years ago

  • Target version changed from 2.4.7 to 2.4.8
  • Affected version changed from branch 'master' (2.9) to 2.4.0 - 2.4.6

Updated by Alexander Smorkalov about 11 years ago

  • Target version changed from 2.4.8 to 2.4.9

Updated by Alexander Smorkalov almost 11 years ago

  • Target version changed from 2.4.9 to 2.4.10

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4606

Also available in: Atom PDF