x11max wrote: 
> Just test it with your bin file: The result is a little bit different to
> mine. The bin file crashes immedeately after starting an is restarting
> in a loop afterwards.
> 
> In the trace i see the same message comparing to trace regarding the
> uuid : #1  0x000000000042ddd1 in uuid_compare ()
> 
> root@freebsd:/Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin
> # gdb --args
> /Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-bsd-x64
> -Z -I -b 192.168.10.33 -d all=debug -x
> /Library/LMS/slimserver/prefs/upnpbridge.xml
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "amd64-marcel-freebsd"...(no debugging
> symbols found)...
> (gdb) run
> Starting program:
> /Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-bsd-x64
> -Z -I -b 192.168.10.33 -d all=debug -x
> /Library/LMS/slimserver/prefs/upnpbridge.xml
> (no debugging symbols found)...(no debugging symbols found)...(no
> debugging symbols found)...(no debugging symbols found)...(no debugging
> symbols found)...[08:46:32.900378] main:1569 Starting squeeze2upnp
> version: v0.3.0.0.2 (Jan 29 2018 @ 20:38:28)
> [08:46:32.900782] uPNPInitialize:1317 UPnP initialized
> [08:46:33.007734] AddMRDevice:1194 [0x6ac840]: adding renderer
> ([TV]Samsung LED40)
> [08:46:33.007749] GetProtocolInfo:336 uPNP
> http://192.168.10.81:7676/smp_20_ GetProtocolInfo
> [08:46:33.203154] GetProtocolInfo:347 [0x6ac840]: ProtocolInfo
> http-get:*:.......
> ......
> 08:46:33.203413] sq_run_device:1153 Buffer path /tmp/
> [08:46:33.203441] stream_thread_init:296 [0x64d730] streambuf size:
> 2457600
> [08:46:33.204212] output_mr_thread_init:810 [0x64d730] init output media
> renderer
> [08:46:33.204243] UpdateThread:1054 Updating configuration
> /Library/LMS/slimserver/prefs/upnpbridge.xml
> [08:46:33.204274] discover_server:782 [0x64d730] sending discovery
> [08:46:33.204389] discover_server:811 [0x64d730] got response from:
> 192.168.10.33:3483
> [08:46:33.204397] slimproto:837 squeezelite [0x64d730] <=> player
> [0x6ac840]
> [08:46:33.204399] slimproto:838 [0x64d730] connecting to
> 192.168.10.33:3483
> [08:46:33.204425] slimproto:869 [0x64d730] connected
> [08:46:33.204429] sendHELO:109 [0x64d730] mac: 90:f1:aa:2a:11:fa
> [08:46:33.204432] sendHELO:110 [0x64d730] cap:
> Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=48000,pcm,flc,mp3
> [08:46:33.254940] UpdateThread:991 [0x6ac840] UPnP keep alive:
> [TV]Samsung LED40
> [08:46:33.254951] UpdateThread:1001 [0x6ac840] UPnP keep alive:
> [TV]Samsung LED40
> [08:46:33.306255] process:530 [0x64d730] strm
> [08:46:33.306265] process_strm:219 [0x64d730] strm command q
> [08:46:33.306267] output_flush:843 [0x64d730]: flush output buffer
> [08:46:33.306287] sq_callback:325 [0x6ac840]: device off or not
> controlled by LMS
> [08:46:33.306356] process:530 [0x64d730] strm
> [08:46:33.306360] process_strm:219 [0x64d730] strm command q
> [08:46:33.306362] output_flush:843 [0x64d730]: flush output buffer
> [08:46:33.306370] sq_callback:325 [0x6ac840]: device off or not
> controlled by LMS
> [08:46:33.306413] process:530 [0x64d730] setd
> [08:46:33.306416] sendSETDName:204 set playername: [TV]Samsung LED40
> [08:46:33.306425] process:530 [0x64d730] setd
> [08:46:33.306486] process:530 [0x64d730] aude
> [08:46:33.306489] process_aude:422 [0x64d730] on/off using aude 1
> [08:46:33.306491] sq_callback:321 [0x6ac840]: device set on/off 1
> [08:46:33.306539] process:530 [0x64d730] audg
> [08:46:33.306542] process_audg:436 [0x64d730] (old) audg gainL: 46
> gainR: 46
> [08:46:33.354967] CheckAndLock:468 device is NULL
> [08:46:33.354978] CheckAndLock:468 device is NULL
> [08:46:33.354980] CheckAndLock:468 device is NULL
> [...
> [08:46:33.361987] MasterHandler:888 [0x6ac840]: subscribe success
> [08:46:33.362280] _ProcessVolume:629 [0x6ac840]: UPnP Volume local
> change 8
> 
> Program received signal SIGFPE, Arithmetic exception.
> 0x000000000041361b in MasterHandler ()
> (gdb) bt
> #0  0x000000000041361b in MasterHandler ()
> #1  0x000000000042ddd1 in uuid_compare ()
> #2  0x0000000000000000 in ?? ()
> (gdb) q
> The program is running.  Exit anyway? (y or n) y
> root@freebsd:/Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin
> # 
> 
> My system environment:
> 
> root@freebsd:/Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin
> # bsdinfo
> 
> OS: FreeBSD amd64
> Hostname: freebsd
> Kernel: 11.1-RELEASE-p4
> RAM: 4007M / 16193M
> Processes: 114
> CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
> 
> root@freebsd:/Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin
> # uname -UK
> 1101001 1101001
> root@freebsd:/Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin
> # uname -a
> FreeBSD freebsd 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14
> 06:12:40 UTC 2017    
> [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64
> root@freebsd:/Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin
> # 
> changed.
> 
> Further i have installed 4 additional upnp ports i need for other
> applications. I will go to delete them to see whether or not the pattern
> will be changed.
> 
> root@freebsd:/Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin
> # pkg info | grep -u upnp
> gupnp-1.0.2_2                  Framework for UPnP devices
> hupnp-1.0.0_1                  Library for building UPnP devices and
> control points
> kio-upnp-ms-1.0.0.g20110808_7  KIO slave to access UPnP MediaServers
> upnp-1.6.22,1                  Universal Plug and Play Software
> Development Kit

Hi philippe_44,

I got it working. I recompiled LMS-to-uPnP with the new version
(squeeze2upnp version: v0.3.0.0.2) and it is working fine now on my
hardware. Pls. see attachment.
If you would like to have the bin files let me know, pls.

Now i will do the same for freebsd 12 running on RPI3, where i have the
same issue.


+-------------------------------------------------------------------+
|Filename: gdb-LMS-to-UPNP-working-trace.txt                        |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=24461|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
x11max's Profile: http://forums.slimdevices.com/member.php?userid=30554
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to