rip crashed with TaskException in run(): (QueryError('query failed',), 'exception QueryError at morituri/common/checksum.py:93: start(): query failed')

Bug #735053 reported by Stian Jordet
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
morituri (Ubuntu)
New
Medium
Unassigned

Bug Description

Binary package hint: morituri

Whatever cd I try to rip, I get this error. Worked just fine with Maverick. Just a heads up before the release :)

Regards,
Stian

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: morituri 0.1.1-1
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
Architecture: amd64
Date: Mon Mar 14 20:54:54 2011
ExecutablePath: /usr/bin/rip
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110302)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: python /usr/bin/rip cd rip --offset=48
ProcEnviron:
 SHELL=/bin/bash
 LANG=nb_NO.UTF-8
 LANGUAGE=nb_NO:en
PythonArgs: ['/usr/bin/rip', 'cd', 'rip', '--offset=48']
SourcePackage: morituri
Title: rip crashed with TaskException in run(): (QueryError('query failed',), 'exception QueryError at morituri/common/checksum.py:93: start(): query failed')
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Stian Jordet (stian-web) wrote :
Stian Jordet (stian-web)
visibility: private → public
Revision history for this message
Thomas Vander Stichele (thomasvs) wrote :

Can you run again with RIP_DEBUG=5 and capture output ?

Revision history for this message
Stian Jordet (stian-web) wrote :

Hi!

Thanks for your reply. Attached is output from RIP_DEBUG=5. Hope this helps :)

Regards,
Stian

Revision history for this message
Thomas Vander Stichele (thomasvs) wrote :

I commited some extra debug code and some general GStreamer error raising that should tell us more.

Are you able to check out from svn and run the svn version ?

 Can you re-run with RIP_DEBUG=5 ?

Additionally, can you create a second log with RIP_DEBUG=5 GST_DEBUG=*:4 ?

Revision history for this message
Stian Jordet (stian-web) wrote :

Hi!

Attached is output from svn version with RIP_DEBUG=5.

Revision history for this message
Stian Jordet (stian-web) wrote :

I had to compress this file because of size. This is output with GST_DEBUG=*:4 RIP_DEBUG=5.

Thanks!

Regards,
Stian

tags: removed: need-duplicate-check
Revision history for this message
Stian Jordet (stian-web) wrote :

Well, it seems I'm the only one using morituri on Ubuntu 11.04 64 bit. I just tested with 32 bit ubuntu, and it works ok there...

Revision history for this message
Thomas Vander Stichele (thomasvs) wrote :

Ok, I think I have this fixed now, works for me on Fedora 15.

Can you update to trunk and try again ?

I'm doing a prerelease today and hopefully a real release tomorrow or asap.

Revision history for this message
Stian Jordet (stian-web) wrote :

Thanks! But this didn't seem to help. Or, it helped in a way, since I no longer get a stack trace, just an error message: rip: error: Could not create encoded file.

I'll attach debug output with both GST_DEBUG=*:4 RIP_DEBUG=5 and RIP_DEBUG=5 in case it matters...

Thanks.

Revision history for this message
Stian Jordet (stian-web) wrote :
Revision history for this message
Thomas Vander Stichele (thomasvs) wrote :

Ok, I added a hack to remove audioparsers under certain conditions, and this might not be done right for you.

Can you show me output of gst-inspect flacparse ? My guess is that yours is in -bad, not in -good, and I should remove it for your case as well.

Revision history for this message
Thomas Vander Stichele (thomasvs) wrote :

And feel free to test trunk, if I was right then that last commit should do the trick.

Revision history for this message
Stian Jordet (stian-web) wrote :
Download full text (3.2 KiB)

Well, you were correct about the assumption that my flacparse is in bad (see below). But your fix didn't seem to make any difference... I have double-checked that I'm running with latest SVN (and I see the changeset)...

Regards,
Stian

stianj@chevrolet:~$ gst-inspect-0.10 flacparse
Factory Details:
  Long name: FLAC audio parser
  Class: Codec/Parser/Audio
  Description: Parses audio with the FLAC lossless audio codec
  Author(s): Sebastian Dröge <email address hidden>
  Rank: primary + 1 (257)

Plugin Details:
  Name: audioparsersbad
  Description: audioparsers
  Filename: /usr/lib/gstreamer-0.10/libgstaudioparsersbad.so
  Version: 0.10.21
  License: LGPL
  Source module: gst-plugins-bad
  Source release date: 2011-01-21
  Binary package: GStreamer Bad Plugins (Ubuntu)
  Origin URL: https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad0.10

GObject
 +----GstObject
       +----GstElement
             +----GstAudioBaseParseBad
                   +----GstFlacParse

Pad Templates:
  SRC template: 'src'
    Availability: Always
    Capabilities:
      audio/x-flac
                 framed: true
               channels: [ 1, 8 ]
                   rate: [ 1, 655350 ]

  SINK template: 'sink'
    Availability: Always
    Capabilities:
      audio/x-flac
                 framed: false

Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: gst_base_parse_change_state
  Has custom save_thyself() function: gst_element_save_thyself
  Has custom restore_thyself() function: gst_element_restore_thyself

Element has no clocking capabilities.
Indexing capabilities:
  element can do indexing
Element has no URI handling capabilities.

Pads:
  SRC: 'src'
    Implementation:
      Has custom eventfunc(): gst_base_parse_src_event
      Has custom queryfunc(): gst_base_parse_query
        Provides query types:
                (1): position (Current position)
                (2): duration (Total duration)
                (9): formats (Supported formats for conversion)
                (6): seeking (Seeking capabilities and parameters)
                (8): convert (Converting between formats)
      Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
      Has getcapsfunc(): gst_pad_get_fixed_caps_func
      Has acceptcapsfunc(): gst_pad_acceptcaps_default
    Pad Template: 'src'
  SINK: 'sink'
    Implementation:
      Has chainfunc(): gst_base_parse_chain
      Has custom eventfunc(): gst_base_parse_sink_event
      Has custom queryfunc(): gst_pad_query_default
      Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
      Has setcapsfunc(): gst_base_parse_sink_setcaps
      Has acceptcapsfunc(): gst_pad_acceptcaps_default
    Pad Template: 'sink'

Element Properties:
  name : The name of the object
                        flags: lesbar, skrivbar
                        String. Default: null Current: "flacparse0"
  check-frame-checksums: Check the overall checksums of every frame
                        flags: lesbar, skrivbar
              ...

Read more...

Revision history for this message
Thomas Vander Stichele (thomasvs) wrote :

Thanks for your patience and sorry this is proving to be such a problem.

Can you update and get me a log this time, so I can see if it actually removes audioparsers from the registry (which works around the bug I think you run into) ?

Could you also run 'trial morituri' from an svn checkout and show me which tests are failing, if any ?

Revision history for this message
Stian Jordet (stian-web) wrote :

Hi!

No need to excuse, I've used Linux for 11 years, and know how busy developers are :)

I will attach three files, trial.txt with results from the "trial morituri". Lots of fun there, I guess... Then there is rip.log which is with RIP_DEBUG=5 and rip2.log.gz which is GST_DEBUG=*:4 RIP_DEBUG=5.

BUT, I did uninstall gstreamer0.10-plugins-bad, and now it works :D I don't seem to be needing the plugins from bad, so for me it is kind of solved. I'm not sure how it got installed, since it's priority: optional.

Thanks for great software!

-Stian

Revision history for this message
Stian Jordet (stian-web) wrote :
Revision history for this message
Stian Jordet (stian-web) wrote :
Revision history for this message
Thomas Vander Stichele (thomasvs) wrote :

Thanks for those logs!

The problem was that when the plugin was still in -bad, it was called audioparsersbad.

Current trunk should probably remove it. If you could reinstall -bad and try again, that would be excellent.

About the errors I saw in trial, some of them seem related to special characters. What language do you run your system in ? Can you paste output of set | grep LANG and set | grep LC ?

Thanks!

Revision history for this message
Stian Jordet (stian-web) wrote :

Yup, I can confirm that it's now fixed, with -bad reinstalled.

Thank you very much for fixing this issue!

My system is set to run in Norwegian, output below.

Thanks again!

Regards,
Stian

stianj@chevrolet:~$ set | grep LANG
LANG=nb_NO.UTF-8
LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en
    LANG=C LC_MESSAGES=C svn info --non-interactive 2> /dev/null | while read line; do
stianj@chevrolet:~$

stianj@chevrolet:~$ set | grep LC
MAILCHECK=60
    for i in $(LC_ALL=C $prog --help);
    for i in $(LC_ALL=C $prog --usage);
    local LC_CTYPE=C;
            __grubcomp "$(LC_ALL=C $prog --help | awk -F ":" '/available formats/ { print $2 }' | sed 's/, / /g')";
            __grubcomp "$(LC_ALL=C $prog --help | awk -F "[()]" '/--target=/ { print $2 }' | sed 's/|/ /g')";
    LANG=C LC_MESSAGES=C svn info --non-interactive 2> /dev/null | while read line; do
stianj@chevrolet:~$

Changed in morituri (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.