juha pahkala - 2009-05-07

Hello,

Just compiled r636 on an amd64 system. It compiled fine (unlike some of the earlier revisions, but segfaults when my ps3 tries to connect.  Below is log, hope somebody can help me out:

bash:# fuppes --config-dir /etc/fuppes/ --database-file /var/lib/fuppes/fuppes.db --log-level 3

            FUPPES - 0.636

    the Free UPnP Entertainment Service

      http://fuppes.ulrich-voelkel.de

== lib/Plugins/Plugin.cpp (138) :: Thu May  7 19:22:45 2009 ==
registered metadata plugin "taglib"

== lib/Plugins/Plugin.cpp (124) :: Thu May  7 19:22:45 2009 ==
registered dlna profile plugin

== lib/Plugins/Plugin.cpp (145) :: Thu May  7 19:22:45 2009 ==
registered audio decoder plugin "musepack"

== lib/Plugins/Plugin.cpp (160) :: Thu May  7 19:22:45 2009 ==
registered transcoder plugin "ffmpeg"

== lib/Plugins/Plugin.cpp (138) :: Thu May  7 19:22:45 2009 ==
registered metadata plugin "simage"

== lib/Plugins/Plugin.cpp (160) :: Thu May  7 19:22:45 2009 ==
registered transcoder plugin "magickWand"

== lib/Plugins/Plugin.cpp (138) :: Thu May  7 19:22:45 2009 ==
registered metadata plugin "libavformat"

== lib/Plugins/Plugin.cpp (138) :: Thu May  7 19:22:45 2009 ==
registered metadata plugin "magickWand"

== lib/Plugins/Plugin.cpp (145) :: Thu May  7 19:22:45 2009 ==
registered audio decoder plugin "vorbis"

== lib/Plugins/Plugin.cpp (145) :: Thu May  7 19:22:45 2009 ==
registered audio decoder plugin "FLAC"

== lib/Plugins/Plugin.cpp (138) :: Thu May  7 19:22:45 2009 ==
registered metadata plugin "exiv2"

== lib/Plugins/Plugin.cpp (131) :: Thu May  7 19:22:45 2009 ==
registered presentation plugin

== lib/Plugins/Plugin.cpp (138) :: Thu May  7 19:22:45 2009 ==
registered metadata plugin "mp4v2"

== lib/Plugins/Plugin.cpp (167) :: Thu May  7 19:22:45 2009 ==
registered database plugin "sqlite3"

== lib/Fuppes.cpp (49) :: Thu May  7 19:22:45 2009 ==
starting UPnP subsystem

== lib/HTTP/HTTPServer.cpp (287) :: Thu May  7 19:22:46 2009 ==
listening on 192.168.0.1:12345

== lib/HTTP/HTTPServer.cpp (166) :: Thu May  7 19:22:46 2009 ==
HTTPServer started

== lib/SSDP/UDPSocket.cpp (276) :: Thu May  7 19:22:46 2009 ==
listening on 0.0.0.0:1900

== lib/SSDP/SSDPCtrl.cpp (67) :: Thu May  7 19:22:46 2009 ==
SSDPController started

== lib/GENA/SubscriptionMgr.cpp (285) :: Thu May  7 19:22:46 2009 ==
start CSubscriptionMgr MainLoop

== lib/Fuppes.cpp (134) :: Thu May  7 19:22:46 2009 ==
UPnP subsystem started

== lib/ContentDirectory/VirtualContainerMgr.cpp (56) :: Thu May  7 19:22:46 2009 ==
no vfolder.cfg file available

== lib/Fuppes.cpp (141) :: Thu May  7 19:22:46 2009 ==
multicasting alive messages

== lib/SSDP/SSDPCtrl.cpp (84) :: Thu May  7 19:22:46 2009 ==
CleanupSessions

== lib/Fuppes.cpp (143) :: Thu May  7 19:22:46 2009 ==
multicasting m-search

== lib/SSDP/UDPSocket.cpp (276) :: Thu May  7 19:22:46 2009 ==
listening on 192.168.0.1:40048

== lib/DeviceSettings/DeviceIdentificationMgr.cpp (117) :: Thu May  7 19:22:46 2009 ==
device settings "default"
    ip: 192.168.0.12
    user agent: UPnP/1.0

== lib/HTTP/HTTPServer.cpp (369) :: Thu May  7 19:22:46 2009 ==
REQUEST GET /description.xml HTTP/1.1

Host: 192.168.0.1:12345

Date: Thu, 07 May 2009 16:27:59 GMT

User-Agent: UPnP/1.0

X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";

== lib/HTTP/HTTPRequestHandler.cpp (85) :: Thu May  7 19:22:46 2009 ==
HandleHTTPRequest() :: /description.xml

== lib/HTTP/HTTPServer.cpp (603) :: Thu May  7 19:22:46 2009 ==
send response HTTP/1.1 200 OK

Content-Type: text/xml

Content-Length: 1549

Accept-Ranges: bytes

Connection: close

DATE: Thu, 07 May 2009 16:22:46 GMT

contentFeatures.dlna.org:

EXT:

Server: Linux/2.6.28-11-server, UPnP/1.0, Free UPnP Entertainment Service/0.636

<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><URLBase>http://192.168.0.1:12345/</URLBase><device><UDN>uuid:c659fd10-944d-4767-8a84-c9ede2811e8b</UDN><friendlyName>FUPPES 0.636 (server.veehoo.net)</friendlyName><manufacturer>Ulrich Voelkel</manufacturer><manufacturerURL>http://www.ulrich-voelkel.de</manufacturerURL><modelDescription>Free UPnP Media Server licensed under the terms of the GPL</modelDescription><modelName>Free UPnP Entertainment Service 0.636</modelName><modelNumber>0.636</modelNumber><modelURL>http://fuppes.ulrich-voelkel.de</modelURL><serialNumber>0123456789</serialNumber><deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType><serviceList><service><serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType><serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId><SCPDURL>/UPnPServices/ContentDirectory/description.xml</SCPDURL><controlURL>/UPnPServices/ContentDirectory/control/</controlURL><eventSubURL>/UPnPServices/ContentDirectory/event/</eventSubURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><SCPDURL>/UPnPServices/ConnectionManager/description.xml</SCPDURL><controlURL>/UPnPServices/ConnectionManager/control/</controlURL><eventSubURL>/UPnPServices/ConnectionManager/event/</eventSubURL></service></serviceList><presentationURL>index.html</presentationURL></device></root>

== lib/DeviceSettings/DeviceIdentificationMgr.cpp (117) :: Thu May  7 19:22:46 2009 ==
device settings "default"
    ip: 192.168.0.12
    user agent: UPnP/1.0

== lib/HTTP/HTTPServer.cpp (369) :: Thu May  7 19:22:46 2009 ==
REQUEST GET /UPnPServices/ContentDirectory/description.xml HTTP/1.1

Host: 192.168.0.1:12345

Date: Thu, 07 May 2009 16:27:59 GMT

User-Agent: UPnP/1.0

X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";

== lib/HTTP/HTTPRequestHandler.cpp (85) :: Thu May  7 19:22:46 2009 ==
HandleHTTPRequest() :: /UPnPServices/ContentDirectory/description.xml

== lib/HTTP/HTTPServer.cpp (603) :: Thu May  7 19:22:46 2009 ==
send response HTTP/1.1 200 OK

Content-Type: text/xml

Content-Length: 9871

Accept-Ranges: bytes

Connection: close

DATE: Thu, 07 May 2009 16:22:46 GMT

contentFeatures.dlna.org:

EXT:

Server: Linux/2.6.28-11-server, UPnP/1.0, Free UPnP Entertainment Service/0.636

<?xml version="1.0"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion>    <actionList>    <action><name>GetSearchCapabilities</name>    <argumentList>    <argument><name>SearchCaps</name><direction>out</direction><relatedStateVariable>SearchCapabilities</relatedStateVariable></argument></argumentList></action>    <action><name>GetSortCapabilities</name>    <argumentList>    <argument><name>SortCaps</name><direction>out</direction><relatedStateVariable>SortCapabilities</relatedStateVariable></argument></argumentList></action>    <action><name>GetSystemUpdateID</name>    <argumentList>    <argument><name>Id</name><direction>out</direction><relatedStateVariable>SystemUpdateID</relatedStateVariable></argument></argumentList></action>    <action><name>Browse</name>    <argumentList>    <argument><name>ObjectID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument>    <argument><name>BrowseFlag</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_BrowseFlag</relatedStateVariable></argument>    <argument><name>Filter</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Filter</relatedStateVariable></argument>    <argument><name>StartingIndex</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Index</relatedStateVariable></argument>    <argument><name>RequestedCount</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument>    <argument><name>SortCriteria</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_SortCriteria</relatedStateVariable></argument>    <argument><name>Result</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable></argument>    <argument><name>NumberReturned</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument>    <argument><name>TotalMatches</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument>    <argument><name>UpdateID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_UpdateID</relatedStateVariable></argument></argumentList></action>    <action><name>Search</name>    <argumentList>    <argument><name>ContainerID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument>    <argument><name>SearchCriteria</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_SearchCriteria</relatedStateVariable></argument>    <argument><name>Filter</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Filter</relatedStateVariable></argument>    <argument><name>StartingIndex</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Index</relatedStateVariable></argument>    <argument><name>RequestedCount</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument>    <argument><name>SortCriteria</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_SortCriteria</relatedStateVariable></argument>    <argument><name>Result</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable></argument>    <argument><name>NumberReturned</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument>    <argument><name>TotalMatches</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument>    <argument><name>UpdateID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_UpdateID</relatedStateVariable></argument></argumentList></action>    <action><name>CreateObject</name>    <argumentList>    <argument><name>ContainerID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument>    <argument><name>Elements</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable></argument>    <argument><name>ObjectID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument>    <argument><name>Result</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable></argument></argumentList></action>    <action><name>DestroyObject</name>    <argumentList>    <argument><name>ObjectID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument></argumentList></action>    <action><name>UpdateObject</name>    <argumentList>    <argument><name>ObjectID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument>    <argument><name>CurrentTagValue</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_TagValueList</relatedStateVariable></argument>    <argument><name>NewTagValue</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_TagValueList</relatedStateVariable></argument></argumentList></action>    <action><name>ImportResource</name>    <argumentList>    <argument><name>SourceURI</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_URI</relatedStateVariable></argument>    <argument><name>DestinationURI</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_URI</relatedStateVariable></argument>    <argument><name>TransferID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_TransferID</relatedStateVariable></argument></argumentList></action>    <action><name>ExportResource</name>    <argumentList>    <argument><name>SourceURI</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_URI</relatedStateVariable></argument>    <argument><name>DestinationURI</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_URI</relatedStateVariable></argument>    <argument><name>TransferID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_TransferID</relatedStateVariable></argument></argumentList></action>    <action><name>StopTransferResource</name>    <argumentList>    <argument><name>TransferID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_TransferID</relatedStateVariable></argument></argumentList></action>    <action><name>GetTransferProgress</name>    <argumentList>    <argument><name>TransferID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_TransferID</relatedStateVariable></argument>    <argument><name>TransferStatus</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_TransferStatus</relatedStateVariable></argument>    <argument><name>TransferLength</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_TransferLength</relatedStateVariable></argument>    <argument><name>TransferTotal</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_TransferTotal</relatedStateVariable></argument></argumentList></action>    <action><name>DeleteResource</name>    <argumentList>    <argument><name>ResourceURI</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_URI</relatedStateVariable></argument></argumentList></action>    <action><name>CreateReference</name>    <argumentList>    <argument><name>ContainerID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument>    <argument><name>ObjectID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument>    <argument><name>NewID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument></argumentList></action></actionList>    <serviceStateTable>    <stateVariable sendEvents="yes"><name>TransferIDs</name><dataType>string</dataType></stateVariable>    <stateVariable sendEvents="no"><name>A_ARG_TYPE_ObjectID</name><dataType>string</dataType></stateVariable>    <stateVariable sendEvents="no"><name>A_ARG_TYPE_Result</name><dataType>string</dataType></stateVariable>    <stateVariable sendEvents="no"><name>A_ARG_TYPE_SearchCriteria</name><dataType>string</dataType></stateVariable>    <stateVariable sendEvents="no"><name>A_ARG_TYPE_BrowseFlag</name><dataType>string</dataType

== lib/DeviceSettings/DeviceIdentificationMgr.cpp (117) :: Thu May  7 19:22:46 2009 ==
device settings "default"
    ip: 192.168.0.12
    user agent: UPnP/1.0 DLNADOC/1.50

== lib/HTTP/HTTPServer.cpp (369) :: Thu May  7 19:22:46 2009 ==
REQUEST POST /UPnPServices/ContentDirectory/control/ HTTP/1.1

X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";

Host: 192.168.0.1:12345

User-Agent: UPnP/1.0 DLNADOC/1.50

Content-Length: 276

Content-Type: text/xml; charset="utf-8"

SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#GetSystemUpdateID"

<?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetSystemUpdateID xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"></u:GetSystemUpdateID></s:Body></s:Envelope>

== lib/HTTP/HTTPServer.cpp (603) :: Thu May  7 19:22:46 2009 ==
send response HTTP/1.1 200 OK

Content-Type: text/xml; charset="utf-8"

Content-Length: 337

Accept-Ranges: bytes

Connection: close

DATE: Thu, 07 May 2009 16:22:46 GMT

contentFeatures.dlna.org:

EXT:

Server: Linux/2.6.28-11-server, UPnP/1.0, Free UPnP Entertainment Service/0.636

<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">  <s:Body>    <u:GetSystemUpdateIDResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">      <Id>1</Id>    </u:GetSystemUpdateIDResponse>  </s:Body></s:Envelope>

== lib/DeviceSettings/DeviceIdentificationMgr.cpp (117) :: Thu May  7 19:22:46 2009 ==
device settings "default"
    ip: 192.168.0.12
    user agent: UPnP/1.0 DLNADOC/1.50

== lib/HTTP/HTTPServer.cpp (369) :: Thu May  7 19:22:46 2009 ==
REQUEST POST /UPnPServices/ContentDirectory/control/ HTTP/1.1

X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";

Host: 192.168.0.1:12345

User-Agent: UPnP/1.0 DLNADOC/1.50

Content-Length: 901

Content-Type: text/xml; charset="utf-8"

SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"

<?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>0</ObjectID><BrowseFlag>BrowseMetadata</BrowseFlag><Filter>@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtURI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample,res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:genre,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:language,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID</Filter><StartingIndex>0</StartingIndex><RequestedCount>1</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>

Segmentation fault