/usr/bin/mediascanner-service-2.0:6:__gnu_cxx::__verbose_terminate_handler:__cxxabiv1::__terminate:std::terminate:__cxxabiv1::__cxa_throw:std::__throw_logic_error
Bug #1536832 reported by
errors.ubuntu.com bug bridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediascanner2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The Ubuntu Error Tracker has been receiving reports about a problem regarding mediascanner2. This problem was most recently seen with version 0.105+15.
Related branches
lp:~jamesh/mediascanner2/taglib-extractor
- Michi Henning (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 1670 lines (+1034/-409)15 files modifiedCMakeLists.txt (+1/-0)
HACKING (+22/-0)
debian/control (+1/-0)
debian/control.in (+1/-0)
src/extractor/CMakeLists.txt (+5/-1)
src/extractor/ExtractorBackend.cc (+15/-340)
src/extractor/GStreamerExtractor.cc (+178/-0)
src/extractor/GStreamerExtractor.hh (+48/-0)
src/extractor/ImageExtractor.cc (+241/-0)
src/extractor/ImageExtractor.hh (+47/-0)
src/extractor/TaglibExtractor.cc (+295/-0)
src/extractor/TaglibExtractor.hh (+42/-0)
test/CMakeLists.txt (+1/-1)
test/test_extractorbackend.cc (+137/-1)
test/test_metadataextractor.cc (+0/-66)
To post a comment you must log in.
This is caused by a nullptr -> std::string conversion somewhere in extract_tag_info (the only match for the missing stack frame). But it is difficult to tell which conversion is the cause. There are two places where this could occur: (1) the tag name passed to the callback is NULL, or (2) a string tag value is NULL.
The second case seems more likely, so I've modified this code path in my taglib-extractor branch to add an extra NULL check. Lets see how that goes.