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

 
 

bug #42880: [MPDCon] Random playlist feed disconnects

Submitted by:  adr <adr>
Submitted on:  Wed Jul 30 13:31:25 2014  
 
Category: ApplicationSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue Sep 9 11:48:03 2014, 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:
<http://bugs.gentoo.org/>...
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 Jul 30 21:27:12 2014, 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 Jul 30 13:31:25 2014, original submission:

Hi,
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 File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by adr (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Sep 15 08:25:50 2014adrAttached File-=>Added mpdcon-clang-32-debug.gdb, #32107
      Attached File-=>Added mpdcon-gcc-64.gdb, #32108
    Wed Jul 30 13:31:25 2014adrAttached 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.1-cleanup1