Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177587 - app-misc/lcd-stuff-0.1.2 dies using mpd
Summary: app-misc/lcd-stuff-0.1.2 dies using mpd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: LCD Herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 177184
  Show dependency tree
 
Reported: 2007-05-08 07:42 UTC by Torsten Veller (RETIRED)
Modified: 2007-05-17 09:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lcd-stuff output and bt (lcd-stuff.txt,5.15 KB, text/plain)
2007-05-08 07:44 UTC, Torsten Veller (RETIRED)
Details
emerge --info (emerge.info,2.64 KB, text/plain)
2007-05-08 07:44 UTC, Torsten Veller (RETIRED)
Details
Patch to fix mpd-related crashes (0.1.2-mpd-fix.diff,739 bytes, patch)
2007-05-10 21:36 UTC, Andrej Kacian (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Veller (RETIRED) gentoo-dev 2007-05-08 07:42:46 UTC
See attachments.

I am adding a blocker to the stabilization bug but this happens on a not-stable system. I can't test on a stable x86 atm. So please remove the blocker if it is none.


My /etc/lcd-stuff.conf:

[rss]
interval=300
number_of_feeds=1

url1=http://www.tagesschau.de/newsticker.rdf
items1=10
name1=Tagesschau

[weather]
name=Wetter
interval=3600
citycode=GMXX0069

[mpd]
name=Music
server=localhost
port=6600
timeout=30

After removing the mpd section lcd-stuff works.
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2007-05-08 07:44:02 UTC
Created attachment 118524 [details]
lcd-stuff output and bt
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2007-05-08 07:44:29 UTC
Created attachment 118526 [details]
emerge --info
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2007-05-10 21:17:16 UTC
This seems to be a libmpd bug.
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2007-05-10 21:36:18 UTC
Created attachment 118805 [details, diff]
Patch to fix mpd-related crashes

Ok, turns out it is NOT a bug in libmpd. lcd-stuff is freeing some internal members of a libmpd struct without NULLing appropriate pointers. Patch attached.
Comment 5 Torsten Veller (RETIRED) gentoo-dev 2007-05-10 22:03:03 UTC
(In reply to comment #4)
> Ok, turns out it is NOT a bug in libmpd. lcd-stuff is freeing some internal
> members of a libmpd struct without NULLing appropriate pointers. Patch
> attached.

The patch works for me.
Comment 6 Robert Buchholz (RETIRED) gentoo-dev 2007-05-12 11:25:50 UTC
Thanks a lot for the help, Andrej.
Fixed in 0.1.2-r1.
Comment 7 Bernhard Walle 2007-05-17 09:02:28 UTC
Patch applied mainline, will be fixed in next version. Thanks!