Mystery segfault when importing from folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KungFu |
New
|
Undecided
|
Unassigned |
Bug Description
Not Fight Club this time, but Cruel Intentions (region 1). I have the video_ts folder for this DVD saved on my hard drive. There are 4 titles; Kung Fu often experiences a segmentation fault while scanning/
I would imagine that it's actually GStreamer that's crashing, rather than Python, but I can't seem to put my finger on why.
The last few entries in the KF log look like this:
INFO kf_gst Title 2 has duration 97:24
INFO kf_gst Title 3 has duration 21:37
INFO kf_gst Title 4 has duration 6:32
Segmentation fault (core dumped)
I've run it with GST_DEBUG=
0:00:11.615822000 25166 0x1051a60 DEBUG pygst gstcaps.
Segmentation fault (core dumped)
From what I can tell, the next step should be to pass the data to pngenc: however, this clearly isn't happening.
Significantly however, this bug only seems to trigger when Kung Fu is first run. If you stop the scanning progress and change sources, then stop again and change back, it works correctly more often than not.
I'll look into it a bit more to see if I can figure out what's going wrong, so that this can be reported upstream and/or you can put a workaround in Kung Fu :)
Attached is the result of running:
$ GST_DEBUG= 3,pngenc: 5,py*:5 kungfu
I forgot to mention that I'm running on AMD64, which might be significant.
If you need any more info, let me know :)