Bug 90057 - Crash after inserting a video or audio
Summary: Crash after inserting a video or audio
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: Other All
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: mab5.0
  Show dependency treegraph
 
Reported: 2015-03-17 12:21 UTC by Yousuf Philips (jay) (retired)
Modified: 2015-12-15 11:03 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2015-03-17 12:21:09 UTC
Inserting a video into impress with master crashes LibreOffice. Tested this on Linux Mint 17 XFCE 64-bit and Xubuntu 14.04 32-bit. I let LO run for 5 minutes before forcing it to quit.

Version: 4.5.0.0.alpha0+
Build ID: de145fb467f2a168261915d63b47d3cd3b03d732
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2015-03-15_09:51:29

Version: 4.5.0.0.alpha0+
Build ID: e3167924fd28c8b854f23139dbf49f53e6282ef7
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-03-17_03:10:47
Comment 1 Julien Nabet 2015-03-17 20:57:45 UTC
Which type of video? (I mean which format video and audio codec)?
Would it be possible you attach or put it available somewhere?
Comment 2 Yousuf Philips (jay) (retired) 2015-03-17 21:11:50 UTC
It will happen with any media file, but i was using the avi file found at ( https://wiki.documentfoundation.org/Media_Support/Test_Media ).

@Qubit: did this happen to you when you were testing on Ubuntu?
Comment 3 Julien Nabet 2015-03-17 21:24:12 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed these console logs:
warn:sd.core:23142:1:sd/source/core/PageListWatcher.cxx:95: ImpPageListWatcher::GetSdPage(PK_STANDARD): page number 1 >= 1
warn:avmedia:23142:1:avmedia/source/viewer/mediawindow_impl.cxx:277: failed to create media player service com.sun.star.comp.avmedia.Manager_VLC

Michael: thought you might be interested in this one since it concerns including video.
Comment 4 Julien Nabet 2015-03-17 21:50:36 UTC
In fact, it fails with com.sun.star.comp.avmedia.Manager_VLC but it succeeds with com.sun.star.comp.avmedia.Manager_GStreamer

So I've kept on with gdb + ctrl-C at random and, seeing the bts, I wonder if it could be due to idle/timer last changes.
Comment 5 Yousuf Philips (jay) (retired) 2015-03-18 02:04:43 UTC
I believe bug 90077 (simply enabling the media playback toolbar) may also be effected by this issue.
Comment 6 Robinson Tryon (qubit) 2015-03-18 16:47:05 UTC
(In reply to Jay Philips from comment #2)
> It will happen with any media file, but i was using the avi file found at (
> https://wiki.documentfoundation.org/Media_Support/Test_Media ).
> 
> @Qubit: did this happen to you when you were testing on Ubuntu?

No crashes for me with the test media when I did my initial tests. What's the specific file url?
Comment 7 Yousuf Philips (jay) (retired) 2015-03-18 20:39:16 UTC
(In reply to Robinson Tryon (qubit) from comment #6)
> No crashes for me with the test media when I did my initial tests. What's
> the specific file url?

It crashes with any of the test files in master. Also noticed the wiki link to the owncloud of the test files doesnt work. :D
Comment 8 Robinson Tryon (qubit) 2015-03-19 04:59:39 UTC
(In reply to Jay Philips from comment #7)
> (In reply to Robinson Tryon (qubit) from comment #6)
> > No crashes for me with the test media when I did my initial tests. What's
> > the specific file url?
> 
> It crashes with any of the test files in master.

Weird. I'll grab a master build and try it myself.

> Also noticed the wiki link
> to the owncloud of the test files doesnt work. :D

Uggh. Yeah, our ownCloud integration keeps on getting broken. I'll poke infra to fix that straightaway.
Comment 9 Robinson Tryon (qubit) 2015-03-19 05:07:38 UTC
TESTING on Ubuntu 14.04 with LibreOffice master (daily):

Version: 4.5.0.0.alpha0+
Build ID: bdad6d0fe492a2334cb27ef54fc5d1cba17d1970
TinderBox: Linux-rpm_deb-x86_64@46-TDF,
Branch:master,
Time: 2015-03-19_00:36:37
Locale: en_US

(In reply to Jay Philips from comment #0)
> Inserting a video into impress with master crashes LibreOffice. Tested this
> on Linux Mint 17 XFCE 64-bit and Xubuntu 14.04 32-bit. I let LO run for 5
> minutes before forcing it to quit.

REPRO Steps:
1) Open Impress
2) Insert -> Media -> Audio or Video 
  (dialog opens up)
3) I selected and inserted big_buck_bunny_480p_stereo_avidemux_30sec.avi from the set of test media (https://wiki.documentfoundation.org/Media_Support/Test_Media#Generated_Audio_and_Video)

RESULT: LibreOffice hangs 

----

Testing on the same machine, but with LO 4.2.6.3:
1) Open Impress
2) Insert -> Movie and Sound
  (dialog opens up)
3) I selected and inserted big_buck_bunny_480p_stereo_avidemux_30sec.avi from the set of test media (https://wiki.documentfoundation.org/Media_Support/Test_Media#Generated_Audio_and_Video)

RESULT: No hang/no crash

Keywords -> regression
Whiteboard -> bibisectRequest
Comment 10 Matthew Francis 2015-03-19 10:55:34 UTC
This started on the same date as bug 90077, which is to say
  2015-03-07: source-hash-333f8a76341f5b4921e89012d133007503e49612
in the 4.5 dbgutil bibisect tree - and I think that is going to turn out to be the more relevant report. Most likely inserting a video hangs too because that automatically selects the inserted object, which in turn shows the media toolbar
Comment 11 Michael Meeks 2015-03-19 11:36:28 UTC
Tobias - potentially linked to the idle/timer work =)
Comment 12 Matthew Francis 2015-04-13 10:32:53 UTC
Bisected to the same range as bug 90077 - see bug 90077 comment 3
Comment 13 raal 2015-04-25 17:55:40 UTC
mp3 crashes LO too.
Comment 14 Yousuf Philips (jay) (retired) 2015-06-14 00:20:27 UTC
Its fixed now that bug 90077 has been fixed.
Comment 15 Robinson Tryon (qubit) 2015-12-15 11:03:36 UTC
Migrating Whiteboard tags to Keywords: (bibisected)
[NinjaEdit]