Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119541 - dvdrip 0.97.5 and 0.97.6 crash
Summary: dvdrip 0.97.5 and 0.97.6 crash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Disenchanted (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 05:56 UTC by Simon Thabuteau
Modified: 2006-02-14 22:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Thabuteau 2006-01-19 05:56:49 UTC
here is a bug report about dvdrip 0.97.6.
This bug is always reproductible and appens after creation of a new project.
When I try to choose titles in the DVD table of content here is what appens.
It is the same as v 0.97.5.

I also had to change transcode libs because dvdrip crash when I remove $HOME/.dvdrip/. It got stuck on [filterlist] scanning transcode libs
I removed /usr/lib/transcode/filter_logo.so and filter_compare.so in order to launch the program.

Very tricky.

Simon Thabuteau


$ dvdrip -d 2
--- START ------------------------------------
22240: Thu Jan 19 14:42:40 2006 - DEBUG LEVEL 2
22240: TRACE IN : Video::DVDRip::GUI::Main::start (-> )
22240: TRACE IN : Video::DVDRip::GUI::Main::build (-> Video::DVDRip::GUI::Main::start)
22240: TRACE IN : Video::DVDRip::GUI::Main::build_menu_factory (-> Video::DVDRip::GUI::Main::build)
22240: TRACE IN : Video::DVDRip::Project::save (-> Video::DVDRip::GUI::Main::save_project)
22240: TRACE IN : Video::DVDRip::Project::get_save_data (-> Video::DVDRip::Project::save)
22240: TRACE IN : Video::DVDRip::GUI::Project::Title::ask_read_dvd_toc (-> Video::DVDRip::GUI::Project::Title::__ANON__)
22240: TRACE IN : Video::DVDRip::GUI::Project::Title::read_dvd_toc (-> Video::DVDRip::GUI::Project::Title::ask_read_dvd_toc)
22240: TRACE IN : Video::DVDRip::GUI::Project::Title::clear_content_list (-> Video::DVDRip::GUI::Project::Title::read_dvd_toc)
22240: TRACE IN : Video::DVDRip::GUI::Progress::open (-> Video::DVDRip::Task::start)
22240: TRACE IN : Video::DVDRip::Title::suggest_transcode_options (-> Video::DVDRip::Probe::analyze_lsdvd)
22240: TRACE IN : Video::DVDRip::GUI::Project::Title::append_content_list (-> Video::DVDRip::GUI::Project::Title::__ANON__)
22240: TRACE IN : Video::DVDRip::Title::suggest_transcode_options (-> Video::DVDRip::Probe::analyze_lsdvd)
22240: TRACE IN : Video::DVDRip::GUI::Project::Title::append_content_list (-> Video::DVDRip::GUI::Project::Title::__ANON__)
22240: TRACE IN : Video::DVDRip::Title::suggest_transcode_options (-> Video::DVDRip::Probe::analyze_lsdvd)
22240: TRACE IN : Video::DVDRip::GUI::Project::Title::append_content_list (-> Video::DVDRip::GUI::Project::Title::__ANON__)
22240: TRACE IN : Video::DVDRip::Title::suggest_transcode_options (-> Video::DVDRip::Probe::analyze_lsdvd)
22240: TRACE IN : Video::DVDRip::GUI::Project::Title::append_content_list (-> Video::DVDRip::GUI::Project::Title::__ANON__)
22240: TRACE IN : Video::DVDRip::Title::suggest_transcode_options (-> Video::DVDRip::Probe::analyze_lsdvd)
22240: TRACE IN : Video::DVDRip::GUI::Project::Title::append_content_list (-> Video::DVDRip::GUI::Project::Title::__ANON__)
22240: TRACE IN : Video::DVDRip::Title::suggest_transcode_options (-> Video::DVDRip::Probe::analyze_lsdvd)
22240: TRACE IN : Video::DVDRip::GUI::Project::Title::append_content_list (-> Video::DVDRip::GUI::Project::Title::__ANON__)
22240: TRACE IN : Video::DVDRip::GUI::Progress::close (-> Video::DVDRip::Task::next_job)
22240: TRACE IN : Video::DVDRip::GUI::Progress::set_idle_label (-> Video::DVDRip::GUI::Progress::close)
22240: TRACE IN : Video::DVDRip::Project::dvd_mount_dir (-> Video::DVDRip::Project::copy_ifo_files)
22240: TRACE IN : Video::DVDRip::Project::backup_copy (-> Video::DVDRip::Task::ReadTOC::__ANON__)
22240: TRACE IN : Video::DVDRip::Project::save (-> Video::DVDRip::Project::backup_copy)
22240: TRACE IN : Video::DVDRip::Project::get_save_data (-> Video::DVDRip::Project::save)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_orig)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_clip1)
22240: TRACE IN : Video::DVDRip::Title::preview_label (-> Video::DVDRip::Title::preview_label_zoom)
22240: TRACE IN : Video::DVDRip::Title::preview_label (-> Video::DVDRip::Title::preview_label_clip2)
22240: TRACE IN : Video::DVDRip::Title::preview_label (-> Video::DVDRip::Title::preview_label_clip1)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_zoom)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_clip2)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_clip1)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_zoom)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_orig)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_clip1)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_clip1)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_zoom)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_zoom)
22240: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_clip2)
Segmentation fault

$ dvdrip --version
0.97.6
Comment 1 Will Briggs 2006-01-22 02:46:24 UTC
I'm also getting similar segfaults in 0.97.5 although not just after creation of a project but even after just opening it.

with -d 2

22991: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_orig)
22991: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::Title::preview_filename_clip1)
22991: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::GUI::Project::ClipZoom::get_max_preview_image_size)
22991: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::GUI::Project::ClipZoom::get_max_preview_image_size)
22991: TRACE IN : Video::DVDRip::Title::preview_filename (-> Video::DVDRip::GUI::Project::ClipZoom::get_max_preview_image_size)

preview_filename seems to be in common.

N.B. Both myself and reporter are AMD64.  And I also had those transcode lib issues.

W.
Comment 2 Disenchanted (RETIRED) gentoo-dev 2006-01-29 16:44:41 UTC
i do not get crashes thus far with 0.97.6
i added a use flag without which transcode 1.0.2-r2 will not install the two filters that keeps dvdrip from starting, it is not yet marked ~x86, but ~ppc and ~amd64 as of today, i tested dvdrip only on amd64 after this change, and it SEEMS to work w/o the crash

can you try 'LC_ALL=C dvdrip' and see if the crash still happens?

i will torture it some more and see if i can get it to crash on amd64
Comment 3 Disenchanted (RETIRED) gentoo-dev 2006-01-29 19:11:45 UTC
might be seeing something now, trying some larger files and i see transcode just die off, nothing in the logs, dvdrip itself does not segfault for me though, i will see if i find something on that
Comment 4 Will Briggs 2006-01-29 22:00:49 UTC
(In reply to comment #2)
> 
> can you try 'LC_ALL=C dvdrip' and see if the crash still happens?
> 

I rebuilt transcode and dvdrip (0.97.5) and removed .dvdrip.  The startup problems have gone away.  After having to rebuild imagemagick which had lost a dependency somewhere dvdrip started with no problem.

However the segfault still happens:

Start, Open Project, Read DVD TOC, click on the chapter and segfault happens.  Any other info I can provide?

I'll try again after my next sync tonight just in case.
Comment 5 Will Briggs 2006-01-31 23:52:44 UTC
(In reply to comment #4)
> 
> I'll try again after my next sync tonight just in case.
>
I tried and it still segfaults
Comment 6 Disenchanted (RETIRED) gentoo-dev 2006-02-13 16:52:33 UTC
'emerge info' should always be submitted,  not saying i will find it that way, but maybe something sticks out, often something in CFLAGS can be identified and the subsequently filtered unless a fix can be found
Comment 7 Will Briggs 2006-02-13 18:24:17 UTC
(In reply to comment #6)
> 'emerge info' should always be submitted,  not saying i will find it that way,
> but maybe something sticks out, often something in CFLAGS can be identified and
> the subsequently filtered unless a fix can be found
> 

emerge info
Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ftracer -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -ftracer -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://batman/gentoo-portage"
USE="amd64 X aac aalib alsa arts avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl divx4linux dvd dvdr eds emboss encode esd ffmpeg foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal idn imagemagick imlib java javascript jpeg kde lcms ldap lirc lzw lzw-tiff mbox mozilla mp3 mpeg ncurses network nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline real sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vcd vorbis wmf xcomposite xine xml xmms xpm xrandr xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 8 Disenchanted (RETIRED) gentoo-dev 2006-02-13 19:22:11 UTC
please recompile and retest w/o -ftracer, this flag has caused problems in other packages and i filtered it there too, so i would like to eliminate that flag first, might be necessary to retest the deps w/o -ftracer too

thanks

Comment 9 Will Briggs 2006-02-13 22:12:39 UTC
(In reply to comment #8)
> please recompile and retest w/o -ftracer, this flag has caused problems in
> other packages and i filtered it there too, so i would like to eliminate that
> flag first, might be necessary to retest the deps w/o -ftracer too
> 
> thanks
> 

re-merged dvdrip and transcode withotu -ftracer and things are a lot more stable.  Seemed to have found the fix - can we make the ebuild over-ride -ftracer if it's set?
Comment 10 Disenchanted (RETIRED) gentoo-dev 2006-02-14 22:00:19 UTC
this is now filtering -ftracer
reopen if you have any issues

thanks for reporting this