bugGNUstep Application Project - Bugs: bug #42880, [MPDCon] Random playlist feed...


bug #42880: [MPDCon] Random playlist feed disconnects

Submitter:  adr <adr>
Submitted:  Wed 30 Jul 2014 01:31:25 PM UTC
Category:  Application Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  buzzdee
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Tue 09 Sep 2014 11:48:03 AM UTC, comment #2: 

Found a way to catch a core dump that is reproducible (on 32 and 64 bit hardware).

- Delete MPDCon's configuration (~/GNUstep/Defaults/MPDCon.plist, ~/GNUstep/Library/MPDCon)
- openapp MPDCon
- Click Apply in Preferences window to default settings (localhost, 6600, 1500, etc.)
- In menu: Collection > Browse by tag, then add a song
- In menu: Inspectors > Playlist, enable Random playlist feed
- Press Play in Player window
- Segfault

$ gdb MPDCon /var/log/dumps/core.MPDCon.8999
GNU gdb (Gentoo 7.6.2 p1) 7.6.2
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/lib64/GNUstep/Applications/MPDCon.app/MPDCon...(no debugging symbols found)...done.
[New LWP 9063]
[New LWP 8999]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/lib64/GNUstep/Applications/MPDCon.app/MPDCon'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f139403bfc0 in mpd_connection_get_error () from /usr/lib64/libmpdclient.so.2
(gdb) q

adr <adr>
Wed 30 Jul 2014 09:27:12 PM UTC, comment #1: 

MPDCon and the MPD server are running on the same machine. The songs are on a NFS share on the home network. The size of the collection doesn't seem to matter. I already tried to downgrade MPD. The verbose logging of MPD mention a client disconnect, but no error or reason.

adr <adr>
Wed 30 Jul 2014 01:31:25 PM UTC, original submission:  

I like the `Random playlist feed' option of MPDCon, but it's causing disconnects from the server most of the time unfortunately. It happens when compiling MPDCon with GCC or Clang.

$ openapp MPDCon
2014-07-30 13:48:27.822 MPDCon[1371] File NSAlert.m: 1333. In GSAlertPanel getSomePanel(GSAlertPanel *, NSString , NSString , NSString , NSString , NSString , NSString ) Alert Panel functionality called from a thread other than the main one, this may not work on MacOS-X and could therefore be a portability problem in your code
2014-07-30 13:49:03.076 MPDCon[1371] unable to get allSongs from the Collection!!!

I'll attach the build info, and 2 screenshots to start with. Please let me know what information would be helpful, or to test a patch.

Other packages used: libbsd-0.6.0; libmpdclient-2.9; mpd-0.18.10-r1

Kind regards!

adr <adr>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #32107:  mpdcon-clang-32-debug.gdb added by adr (2KiB - application/octet-stream - backtrace)
file #32108:  mpdcon-gcc-64.gdb added by adr (2KiB - application/octet-stream - backtrace)
file #31797:  build.log added by adr (39KiB - application/octet-stream - Bug and system info)
file #31798:  Error.png added by adr (3KiB - image/png - Bug and system info)
file #31799:  system-info.txt added by adr (7KiB - text/plain - Bug and system info)
file #31800:  Inspector.png added by adr (10KiB - image/png - Bug and system info)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rmottola (Updated the item)
  • -email is unavailable- added by adr (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-01 rmottola Assigned toNone buzzdee
    2014-09-15 adr Attached File- Added mpdcon-clang-32-debug.gdb, #32107
        Attached File- Added mpdcon-gcc-64.gdb, #32108
    2014-07-30 adr Attached File- Added build.log, #31797
        Attached File- Added Error.png, #31798
        Attached File- Added system-info.txt, #31799
        Attached File- Added Inspector.png, #31800

    Back to the top

    Powered by Savane 3.13-f762.
    Corresponding source code