Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Application exit #11

Open
hcw70 opened this issue Jan 5, 2020 · 1 comment
Open

Crash on Application exit #11

hcw70 opened this issue Jan 5, 2020 · 1 comment

Comments

@hcw70
Copy link
Contributor

hcw70 commented Jan 5, 2020

There is a crash on closing the camera (application exit).

Tested with fafb9ac .
Backtrace:

1   ??                                                                                                                                                                                                                                                                                                                                                                                 0x7fffd036e570 
2   ??                                                                                                                                                                                                                                                                                                                                                                                 0x7fffc9ef7098 
3   gp_camera_wait_for_event                                                                                                                                                                                                                                                                                                                                                           0x7fffda29e850 
4   GPhotoCamera::waitForOperationCompleted                                                                                                                                                                                                                                                                                                                      gphotocamera.cpp 676  0x7fffda3a2401 
5   GPhotoCamera::setParameter                                                                                                                                                                                                                                                                                                                                   gphotocamera.cpp 394  0x7fffda3a0380 
6   GPhotoCamera::setMirrorPosition                                                                                                                                                                                                                                                                                                                              gphotocamera.cpp 609  0x7fffda3a1ae5 
7   GPhotoCamera::stopViewFinder                                                                                                                                                                                                                                                                                                                                 gphotocamera.cpp 601  0x7fffda3a19e3 
8   GPhotoCamera::closeCamera                                                                                                                                                                                                                                                                                                                                    gphotocamera.cpp 568  0x7fffda3a1899 
9   GPhotoCamera::~GPhotoCamera                                                                                                                                                                                                                                                                                                                                  gphotocamera.cpp 65   0x7fffda39e102 
10  GPhotoCamera::~GPhotoCamera                                                                                                                                                                                                                                                                                                                                  gphotocamera.cpp 66   0x7fffda39e152 
11  std::default_delete<GPhotoCamera>::operator()                                                                                                                                                                                                                                                                                                                unique_ptr.h     81   0x7fffda3c3935 
12  std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>::~unique_ptr                                                                                                                                                                                                                                                                                unique_ptr.h     284  0x7fffda3c2cd2 
13  std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>::~pair                                                                                                                                                                                                                                                                stl_pair.h       208  0x7fffda3c2474 
14  __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>>::destroy<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>                                                                                                                        new_allocator.h  153  0x7fffda3c2498 
15  std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>>>::destroy<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>                                                                                                           alloc_traits.h   497  0x7fffda3c1973 
16  std::_Rb_tree<int, std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>, std::_Select1st<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>, std::less<int>, std::allocator<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>>::_M_destroy_node stl_tree.h       642  0x7fffda3c0bb3 
17  std::_Rb_tree<int, std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>, std::_Select1st<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>, std::less<int>, std::allocator<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>>::_M_drop_node    stl_tree.h       650  0x7fffda3bf75d 
18  std::_Rb_tree<int, std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>, std::_Select1st<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>, std::less<int>, std::allocator<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>>::_M_erase        stl_tree.h       1915 0x7fffda3bddea 
19  std::_Rb_tree<int, std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>, std::_Select1st<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>, std::less<int>, std::allocator<std::pair<int const, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>>>::~_Rb_tree       stl_tree.h       995  0x7fffda3bbf8e 
20  std::map<int, std::unique_ptr<GPhotoCamera, std::default_delete<GPhotoCamera>>>::~map                                                                                                                                                                                                                                                                        stl_map.h        300  0x7fffda3bbd90 
... <Mehr>                                                                                                                                                                                                                                                                                                                                                                                            

@IvanPinezhaninov
Copy link
Collaborator

Could you test commit 5fa083b?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants