Project

General

Profile

Bug #156

"seek failed: Argument invalide" on 3.3-beta2 - Quantal AMD64

Added by AO Breysse almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Minor
Assignee:
-
Category:
-
Target version:
-
Start date:
August 01, 2012
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

Using the search tool on Audacious 3.3-beta2 - Quantal AMD64 results in an error message: "lseek failed: Argument invalide."

Audacious 3.3 gdb output (27.3 KB) Audacious 3.3 gdb output AO Breysse, August 06, 2012 18:39

History

#1 Updated by John Lindgren almost 13 years ago

The search tool plugin doesn't access any files directly. Probably you have a corrupted file, or one that is not parsed correctly, somewhere in your playlist/library. When you have found the file, please get back to us.

#2 Updated by John Lindgren almost 13 years ago

  • Subject changed from Search tool gives "seek failed: Argument invalide" on 3.3-beta2 - Quantal AMD64 to "seek failed: Argument invalide" on 3.3-beta2 - Quantal AMD64
  • Category deleted (plugins/search tool)
  • Affects version 3.3-beta2 added
  • Affects version deleted (3.3.1)

#3 Updated by Cristian Ciupitu almost 13 years ago

I'm having the same issue when adding empty MP3 files in audacious-3.2.4-1.fc17.x86_64.

#4 Updated by Ariadne Conill almost 13 years ago

Shocking that an lseek() would be invalid on a 0 byte file...

In all seriousness though, those error messages are created by the VFS layer which has no idea what you want to do. We just added them because people were all like OMG AUDACIOUS JUST DOES NOTHING WHEN I ADD A 0 BYTE FILE!!!oneoneone.

I suppose what you're actually after is enhanced error-messages.

#5 Updated by John Lindgren almost 13 years ago

The lseek error with an empty file is not under our control, it's mpg123's doing. But as nenolod says, it's a very generic error message so there's no reason to suppose that Mr. Breysse is adding empty files to his playlist until he responds. And until then, "me too" comments are not helpful.

#6 Updated by AO Breysse almost 13 years ago

I took John's original answer (thank you) and used Rhythmbox to scan the entire 104 191 items 1.4 Tb Music folder. It found various problems, empty files etc... and they were all deleted so that Rhythmbox wouldn't report any more errors. Then I ran the search tool on Audacious again and it did go a bit further without any error message but after several tries, every time Audacious just locks during the search and has to be killed every. Is there any logs I could attach to help understand what's happening?

#7 Updated by John Lindgren almost 13 years ago

The first thing I would try is this:

When Audacious locks up, instead of killing it, run:

$ gdb -p `pidof audacious`
(gdb) thread apply all bt

This should tell us where (and hopefully why) it's locking up.

#8 Updated by AO Breysse almost 13 years ago

Here is the gdb output file. Please note that Audacious got updated from 3.3-beta2 to 3.3 final.

#9 Updated by John Lindgren almost 13 years ago

This backtrace doesn't show anything abnormal. The main thread is sitting in the GTK+ main loop, so in theory it should be ready to respond to user input.

#10 Updated by AO Breysse almost 13 years ago

OK then so what else can be done? To be a bit more clear, this happen when I scan the whole music folder to update the library. First the "Searching" windows appears and the scan proceeds without problem, then Audacious starts counting the number of minutes (lower right corner) until the counter stops at 0:00/914:00:43, then Audacious becomes dark and doesn't respond anymore.

#11 Updated by John Lindgren almost 13 years ago

AO Breysse wrote:

OK then so what else can be done?

If you run "audacious -V > log.txt" and look at the last few lines of the log after the program locks up, you might be able to narrow the problem down to a particular file.

#12 Updated by John Lindgren almost 13 years ago

  • Status changed from New to Closed

Closing since not enough information is provided to reproduce the problem.

#13 Updated by AO Breysse almost 13 years ago

As a matter of fact, the problem just doesn't happen anymore with the latest updated 3.3.1. I'm not sure why, nothing changed of late in my music folder, maybe the ltest updates got rid of it. It's all OK now.

Also available in: Atom PDF