http://bugs.winehq.org/show_bug.cgi?id=18006
Summary: Mp3tag: Crash when using Tag Sources feature Product: Wine Version: 1.1.18 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: the_unknown@gmx.net
Mp3Tag v2.43 under wine 1.1.18 crashes while displaying the tracks found using the Tag Sources feature.
Steps to reproduce:
0. Download and install Mp3Tag v2.43 from http://download.mp3tag.de/mp3tagv243setup.exe 1. Open a directory with some mp3 files 2. Select one file in the file view 3. In main menu, click on "Tag Sources -> Amazon.com" 4. Enter "Avril" 5. Select album "X-Posed" 6. Click "Next" 7. The results windows pops up and Mp3Tag crashes right afterwards
Tested on Gentoo Linux with both wine from repository and the current git version built with default settings.
Quoting Mp3Tag author: http://forums.mp3tag.de/index.php?s=&showtopic=3646&view=findpost&am...
Mp3tag uses the Listview control in callback mode where items are not initialized with the actual item text but with a hint to the control that it should ask back if it wants the text for a given item/subitem combination (text set to LPSTR_TEXTCALLBACK and mask to LVIF_TEXT | LVIF_PARAM when adding items). The application then handles the LVN_GETDISPINFO message and provides the text only if necessary.
On native Windows this message is only sent, when there is at least one column to display text. This is not the case in Wine where the message is also sent for Listviews which have no columns at all. Since the album you've used for testing doesn't contain any title information on Amazon side, no column was added to the tracks list -- but Wine asked Mp3tag to display text for the item in the list.
I think it's somewhere in dlls/comctl32/listview.c at LISTVIEW_GetItemT but this is only a vague guess.