Bug 538382

Summary: [abrt] crash detected in subtitleeditor-0.30.0-5.fc12
Product: [Fedora] Fedora Reporter: Konstantin Ryabitsev <icon>
Component: subtitleeditorAssignee: Martin Sourada <martin.sourada>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: cristionciu, davor.racic, denis, franzman72, igor.redhat, martin.sourada, pankaj86, sandmann, topke63
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: abrt_hash:43430a770f781248f01e43b31b7651593d52dcbb
Fixed In Version: 0.35.1-1.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-19 00:58:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
backtrace with --sync (only of the thread in which the crash occurs)
none
bug is subtitle an it is been fixed upstream none

Description Konstantin Ryabitsev 2009-11-18 12:57:38 UTC
abrt detected a crash.

How to reproduce
-----
1. Open subtitle editor
2. Video->Open
3. Select file
4. Crash

Comment: Segfault trying to load a video.
Attached file: backtrace
cmdline: subtitleeditor
component: subtitleeditor
executable: /usr/bin/subtitleeditor
kernel: 2.6.31.5-127.fc12.x86_64
package: subtitleeditor-0.30.0-5.fc12
rating: 4
reason: Process was terminated by signal 6

Comment 1 Konstantin Ryabitsev 2009-11-18 12:57:41 UTC
Created attachment 370071 [details]
File: backtrace

Comment 2 Martin Sourada 2009-11-18 14:53:12 UTC
I can reproduce it on i386, so it looks platform independent. Not sure yet about the cause, but I'm seeing some XError in the backtrace...

Comment 3 Martin Sourada 2009-11-19 23:32:06 UTC
*** Bug 539040 has been marked as a duplicate of this bug. ***

Comment 4 Martin Sourada 2009-11-22 18:12:19 UTC
*** Bug 540180 has been marked as a duplicate of this bug. ***

Comment 5 Martin Sourada 2009-11-22 20:20:57 UTC
So apparently this was filled in upstream as 
http://gna.org/bugs/?14386
and from the comments there it looks like the problem is with gstreamermm (plus, the last call I see in backtrace [when run with --sync] before the X lines is:
#12 0x0806e456 in GStreamerPlayer::on_element_msg_sync(_GstBus*, _GstMessage*)
    ()
),

so reassigning there.
gstreamermm version: gstreamermm-0.10.5-1.fc12.i686

Comment 6 Martin Sourada 2009-11-22 20:23:28 UTC
Created attachment 372955 [details]
backtrace with --sync (only of the thread in which the crash occurs)

Comment 7 Martin Sourada 2009-11-25 10:21:21 UTC
So apparently (https://www.redhat.com/archives/fedora-devel-list/2009-November/msg01676.html) this is a bug in libX11 or in the server itself, so reassigning again...

Comment 8 Sergio Basto 2009-12-06 20:11:57 UTC
Created attachment 376506 [details]
bug is subtitle an it is been fixed upstream

subtitleeditor: xcb_io.c:242: process_responses: Assertion `(((long)
(dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.
Aborted (core dumped)

search about that, find an upstream bug:
http://gna.org/bugs/?14386

The problem is with video-player , --debug-video-player helps on this.
The last patch suggest on upstream bug, works on subtitleeditor-0.34 after 
switch this code (line 590) :

bin->add_pad( Gst::GhostPad::create("sink", pad));

to :

bin->add_pad( Gst::GhostPad::create(pad, "sink")); 

I attach, the final patch result. 
Please try, apply and build news subtitleeditor rpms , based on
subtitleeditor-0.34.0-1.fc13.src.rpm 

Thanks,

Comment 9 Martin Sourada 2009-12-06 23:48:11 UTC
Ugh, the patch is rather long... And furthermore, while it makes the Xerror disappear, it still crashes on me... Anyway reassigning back to subtitledownloader for now.

Comment 10 Martin Sourada 2009-12-06 23:48:55 UTC
(In reply to comment #9)
> Ugh, the patch is rather long... And furthermore, while it makes the Xerror
> disappear, it still crashes on me... Anyway reassigning back to
> subtitledownloader for now.  
    ^^^ subtitleeditor, of course...

Comment 11 franzman72 2009-12-08 23:57:32 UTC
I confirm: with the patch subtitleeditor don't crash, but don't work

Video --> Play Selection

Comment 12 Martin Sourada 2009-12-28 18:37:26 UTC
*** Bug 551053 has been marked as a duplicate of this bug. ***

Comment 13 Fedora Update System 2009-12-31 14:40:57 UTC
subtitleeditor-0.35.1-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/subtitleeditor-0.35.1-1.fc12

Comment 14 Fedora Update System 2010-01-02 03:36:34 UTC
subtitleeditor-0.35.1-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update subtitleeditor'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0050

Comment 15 Martin Sourada 2010-01-17 10:12:07 UTC
*** Bug 556154 has been marked as a duplicate of this bug. ***

Comment 16 Martin Sourada 2010-01-17 10:12:54 UTC
*** Bug 552063 has been marked as a duplicate of this bug. ***

Comment 17 Davor Racic 2010-01-17 11:33:54 UTC
subtitleeditor-0.35.1-1.fc12 works.

Comment 18 Fedora Update System 2010-01-19 00:58:24 UTC
subtitleeditor-0.35.1-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.