Modify ↓
Opened 12 years ago
Closed 12 years ago
#158 closed defect (fixed)
Current driver crashes with segmentation fault when recording with GUI
Reported by: | Matthias Vogelgesang | Owned by: | Matthias Vogelgesang |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | libuca | Version: | |
Keywords: | Cc: | Uros Stevanovic, Matthias Vogelgesang |
Description
Steps to reproduce
- Login to
ipecamera
- Run
control
- Press record button
- Stop recording
Behaviour
Everything crashes with a segmentation fault. A quick look with gdb
suggests that the last frame is corrupt and cannot be decoded properly with libufodecode
. When using a debug build of libufodecode
, recording does not crash that often.
This behaviour must have been introduced with the recent changes to the driver as this was not a problem last Friday.
Attachments (0)
Change History (4)
comment:1 Changed 12 years ago by
Component: | pcilib → libuca |
---|---|
Owner: | changed from Suren A. Chilingaryan to Matthias Vogelgesang |
Status: | new → assigned |
comment:2 Changed 12 years ago by
I made a temporary fix in the /root/libuca, but probably it should be properly fixed with mutexes.
comment:3 Changed 12 years ago by
- Could we please agree on one place to checkout all the sources?
- Could you please document such pitfalls?
- Your temporary fix is duplicating all the work that is already done in the base class (including proper synchronisation with mutexes) and breaking streaming fast-reject.
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
pcilib_get_data (and other event API functions) should not be called after pcilib_stop.