clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.73k stars 674 forks source link

Segfault in fftw_execute() when filling tags automatically from musicbrainz #2736

Closed Clementine-Issue-Importer closed 10 years ago

Clementine-Issue-Importer commented 10 years ago

From incredible.angst on February 22, 2012 10:51:00

Maybe this is problem in chromaprint, not clementine What steps will reproduce the problem? 1. Select some tracks in playlist

  1. Press Ctrl+T (Or select "Fill tags automatically" from right-click menu)
  2. Wait until crash (repeat if not crashes, occurs not always for me, on the same files) What version of the product are you using? On what operating system? Clementine 1.0.1 Clementine 1.0.1-199-g10af3fe (debug version) (occurs on both versions) Windows XP 32-bit SP3 Please provide any additional information below. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 4144.0x121c] 0x7073817c in libfftw3-3!fftw_execute () from C:\Program Files\Clementine\libfftw3-3.dll

Thread 10 (Thread 4144.0x121c):

0 0x7073817c in libfftw3-3!fftw_execute () from C:\Program Files\Clementine\libfftw3-3.dll

1 0x007a3fee in Chromaprint::FFTLib::ComputeFrame (this=0x1917b5a0, input=..., output=0x192860d0)

at /home/buildbot/bot/clementine_mingw_debug/build/3rdparty/chromaprint/src/fft_lib_fftw3.cpp:46

Backtrace stopped: frame did not save the PC

(Stacktrace of all threads attached)

Attachment: clementine-crash-log-musicbrainz-2012-02-22.txt

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=2736

Clementine-Issue-Importer commented 10 years ago

From incredible.angst on February 22, 2012 02:34:45

Tried to scan files causing crash multiple times with acoustid-fingerprinter-0.5, and fpcalc-0.6 (also using chromaprint), these utils don't crash.

Also, tried to reproduce again, it crashed in RtlpNtMakeTemporaryKey() after fftw_plan_awake():

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 4000.0xa64] 0x7c96d811 in ntdll!RtlpNtMakeTemporaryKey () from C:\WINDOWS\system32\ntdll.dll

0 0x7c96d811 in ntdll!RtlpNtMakeTemporaryKey () from C:\WINDOWS\system32\ntdll.dll

No symbol table info available.

1 0x7c949e1c in ntdll!LdrFindEntryForAddress () from C:\WINDOWS\system32\ntdll.dll

No symbol table info available.

2 0x003f0000 in ?? ()

No symbol table info available.

3 0x7c927553 in ntdll!RtlPcToFileHeader () from C:\WINDOWS\system32\ntdll.dll

No symbol table info available.

4 0x77c2c2de in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll

No symbol table info available.

5 0x003f0000 in ?? ()

No symbol table info available.

6 0x70685b0f in libfftw3-3!fftw_plan_awake () from C:\Program Files\Clementine\libfftw3-3.dll

No symbol table info available.

7 0x77c2c2e3 in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll

No symbol table info available.

8 0x706866e0 in libfftw3-3!fftw_plan_awake () from C:\Program Files\Clementine\libfftw3-3.dll

No symbol table info available.

9 0x19410680 in ?? ()

No symbol table info available.

10 0xfeeefeee in ?? ()

No symbol table info available.

11 0xfeeefeee in ?? ()

No symbol table info available.

12 0xfeeefeee in ?? ()

No symbol table info available.

13 0x000e0007 in ?? ()

No symbol table info available.

14 0x04180757 in ?? ()

No symbol table info available. Cannot access memory at address 0xfeeefef2

Attachment: clementine-crash-log-musicbrainz-2012-02-22_2.txt

Clementine-Issue-Importer commented 10 years ago

From incredible.angst on February 22, 2012 08:32:32

Tried to reproduce the same on Clementine 1.0.1 for Mac OS (10.7.3), on the same audio files, crash not occurs. On Windows version it occurs almost every time.

Clementine-Issue-Importer commented 10 years ago

From arnaud.bienner on November 13, 2012 09:33:45

I think this has been fixed in 1.1, as we now use a new release of fftw, and we have deactivated some optimizations which were causing crashes.

Could you please confirm it works with the last release?

Clementine-Issue-Importer commented 10 years ago

From incredible.angst on November 13, 2012 10:11:44

Not able to reproduce this crash in 1.1 (Mac Os), tried fingerprinting multiple times, on different files. Maybe fixed.

Clementine-Issue-Importer commented 10 years ago

From john.maguire on November 13, 2012 11:21:50

Status: Obsolete

Clementine-Issue-Importer commented 10 years ago

From incredible.angst on January 14, 2013 05:26:06

Occured again now in Clementine 1.1.1 on Windows 7.

libfftw3-3.dll!7073c227()
[Frames below may be incorrect and/or missing, no symbols loaded for libfftw3-3.dll]
clementine.exe!008f3532()
clementine.exe!008f1ed5()
clementine.exe!008f2956()
clementine.exe!008f3029()
msvcrt.dll!768c9d45()
QtCore4.dll!6e11f702()
...

(only had visual studio debugger than showed no further information)