INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: MC Crashing - Android Phone is causing it (DLNA?)  (Read 13947 times)

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
MC Crashing - Android Phone is causing it (DLNA?)
« on: December 10, 2017, 12:07:19 am »

100% reproducible.  On my Android 7.0 Phone when I take a photo and go to share it (to upload to NextCloud), MC Crashes.  Looking at the log (attached), you see a heap of activity from 192.168.1.67 which is my phone.  This happens with prior versions as well but I'm on V90 at present.  I'm not doing anything with MC at the time.
Logged
JRiver CEO Elect

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72548
  • Where did I put my teeth?
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #1 on: December 10, 2017, 01:16:13 am »

That's interesting!
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #2 on: December 10, 2017, 02:24:26 am »

I know - I feel like a hacker able bringing down systems with the power of my phone  8) ... except it is my system  :-\
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #3 on: December 10, 2017, 02:27:49 am »

I'm thinking it is DLNA related both from the Log and also when you bring up sharing in the Phone I see MC's DLNA zones.  Anyway, it's not as if Bob has anything better to do!
Logged
JRiver CEO Elect

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72548
  • Where did I put my teeth?
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #4 on: December 10, 2017, 02:46:59 am »

Did you try turning off Media Network? 
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #5 on: December 10, 2017, 03:09:44 am »

Not yet.  I'm not sure that if turning off and on again will re-issue the key.  I'll hold fire till Bob has had a look at the logs.  From what I can see my phone gives MC a bunch of traffic then at the end of the Log you see a bunch stuff stopping:
Code: [Select]
061922: 12640: Sharing Plugins: CHTTPListenerWorker::HandleRequest: TCP: 192.168.1.67: POST: http://192.168.1.10:52100/ContentDirectory/control
0061922: 12640: Sharing Plugins: CDLNADeviceServerWorker::ProcessPost: Start
0061922: 20224: Sharing Plugins: VHTTPMessage::Write: Wrote 0 bytes
0061922: 21496: Sharing Plugins: JRWebService::Process: Start
0061922: 21496: Sharing Plugins: JRWebService::Process: URL: /MCWS/v1/Library/GetRevision
0061922: 12640: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Start
0061922: 21496: Sharing Plugins: JRWebService::Process: Finish (0 ms)
0061922: 12640: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Action: Search
0061922: 12640: Sharing Plugins: CContentDirectoryService::Search: Start
0061922: 12640: Sharing Plugins: CContentDirectoryService::Search: Search: upnp:class derivedfrom "object.item.imageItem"
0061922: 12640: Sharing Plugins: CContentDirectoryService::Search: 1
0061922: 12640: Sharing Plugins: CContentDirectoryService::Search: 2
0061922: 12640: Sharing Plugins: CContentDirectoryService::Search: 3a
0061922: 12640: Sharing Plugins: CMCViewInfoTree::GetSearchFilesItem: Start
0061922: 12640: Sharing Plugins: CMCViewInfoTree::GetSearchFilesItem: Hash: 8690193089776076918
0061922: 21496: Sharing Plugins: VHTTPMessage::Write: Wrote 200 bytes
0061922: 12640: Sharing Plugins: CMCViewInfoTree::GetSearchFilesItem: Finish (0 ms)
0061922: 12640: Sharing Plugins: CContentDirectoryService::Search: 3d
0061922: 12640: Sharing Plugins: CContentDirectoryService::Search: 4
0061672: 16552: General: JRWebApp::Destroy: Start
0061672: 16552: General: JRWebApp::Destroy: Finish (0 ms)
0061672: 16552: General: JRWebApp::Run: Finish (61641 ms)
0061672: 16552: General: JRWebApp::ExitInstance: Start
0061672: 16552: General: JRWebApp::ExitInstance: Stopping web engine
0061547: 19316: General: JRWebApp::Destroy: Start
0061547: 19316: General: JRWebApp::Destroy: Finish (0 ms)
0061547: 19316: General: JRWebApp::Run: Finish (61532 ms)
0061547: 19316: General: JRWebApp::ExitInstance: Start
0061547: 19316: General: JRWebApp::ExitInstance: Stopping web engine
0061703: 16552: General: JRWebApp::ExitInstance: Stopping callback server
0061703: 16552: General: JRWebApp::ExitInstance: Stopping interface server
0061703: 16552: General: JRIpcServerThreaded::ServerStop: Start
0061703: 16552: General: JRIpcServerThreaded::ServerStop: Canceling thread
0061703: 16552: General: JRIpcServerThreaded::ServerStop: Canceling pending run
0061703: 16552: General: JRIpcServerThreaded::ServerStop: Stopping thread
0061703: 7976: General: JRIpcServerThreaded::Thread: Thread finishing (cancel: 1; errors: 1)
0061703: 7976: General: JRIpcServerThreaded::Thread: Finish (61688 ms)
0061593: 19316: General: JRWebApp::ExitInstance: Stopping callback server
0061593: 19316: General: JRWebApp::ExitInstance: Stopping interface server
0061593: 19316: General: JRIpcServerThreaded::ServerStop: Start
0061593: 19316: General: JRIpcServerThreaded::ServerStop: Canceling thread
0061593: 19316: General: JRIpcServerThreaded::ServerStop: Canceling pending run
0061593: 19316: General: JRIpcServerThreaded::ServerStop: Stopping thread
0061593: 8904: General: JRIpcServerThreaded::Thread: Thread finishing (cancel: 1; errors: 1)
0061593: 8904: General: JRIpcServerThreaded::Thread: Finish (61578 ms)
0061734: 16552: General: JRIpcServerThreaded::ServerStop: Canceling response threads
0061734: 16552: General: JRIpcServerThreaded::ServerStop: Deleting response threads
0061734: 16552: General: JRIpcServerThreaded::ServerStop: Closing notification window
0061734: 16552: General: JRIpcServerThreaded::ServerStop: Finish (31 ms)
0061734: 16552: General: JRWebApp::ExitInstance: Finishing
0061609: 19316: General: JRIpcServerThreaded::ServerStop: Canceling response threads
0061609: 19316: General: JRIpcServerThreaded::ServerStop: Deleting response threads
0061609: 19316: General: JRIpcServerThreaded::ServerStop: Closing notification window
0061609: 19316: General: JRIpcServerThreaded::ServerStop: Finish (16 ms)
0061609: 19316: General: JRWebApp::ExitInstance: Finishing
Logged
JRiver CEO Elect

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #6 on: December 10, 2017, 08:01:40 am »

The MC server supports the UPNP ContentDirectory Service.

CDS comprises four required actions (methods) GetSortCapabilities, GetSearchCapabilities, GetSystemUpdateId, and Browse. MC supports all those required methods. It also supports one of the CDS optional methods (Search).

The CDS:Search method is notorious for allowing very sophisticated search filters (things like Search for A, or B, and C, and not D, ..) and most servers only support a rudimentary subset of the syntax.

CDS also defines other optional methods CreateObject, DestroyObject, UpdateObject, ImportResource, ExportResource, DeleteResource, CreateReference and a couple more. The purpose of these being to allow external control points to add or modify media in the server’s media library. These methods are seldom used as most servers tend to supply their media libraries in read only format only.

So I am guessing that your crash is due to one or other of the following..

1. The phone is calling CDS:Search with an unexpected syntax (unlikely to cause a crash), or

2. The phone is trying to add its picture to MCs library via one of the CDS:CreateXX, ImportXX, or UpdateXX methods. This seems more likely, as MC probably has an entry point that accepts incoming CDS calls which probably dispatches the supported methods properly, but results in an unhandled exception for method names that it does not support..

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #7 on: December 11, 2017, 04:46:31 pm »

Can you give me a step by step to try to reproduce it?
It's easier to catch it in the act in the debugger that way...
I've got a fire android table with a pretty recent OS I could use...
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #8 on: December 11, 2017, 05:05:40 pm »

On the Android 7.0 Phone go to the pictures (Gallery):
1) Press the Share Button it will bring up a list of items you can share to (and you see MC Zones)
2) Don't do anything
3) MC will crash

Logged
JRiver CEO Elect

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4276
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #9 on: December 11, 2017, 05:32:09 pm »

On the Andriod 7.0 Phone go to the pictures (Gallery):
1) Press the Share Button it will bring up a list of items you can share to (and you see MC Zones)
2) Don't do anything
3) MC will crash
how do you get it to share to MC? I don't see this. Do you have some (not stock) app installed doing this?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #10 on: December 11, 2017, 05:47:20 pm »

I don't even try to share with MC.  I just press the share button on the photo on my Phone and it brings up a screen as attached.  Leave it for a few seconds and MC will crash.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #11 on: December 11, 2017, 06:19:08 pm »

The Picture App is Gallery 5.30.32 - Not sure if the sharing button takes you to another app or Andriod Resouces however.  It is only when in the Sharing Screen that MC Crashes
Logged
JRiver CEO Elect

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4276
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #12 on: December 12, 2017, 01:07:56 am »

Fwiw I have never seen such targets for a share intent on any of my android (all Nexus or pixel) devices so I would guess that is contributed by some app (or your MC is configured differently perhaps?)
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #13 on: December 12, 2017, 02:10:39 am »

I don't even try to share with MC.  I just press the share button on the photo on my Phone and it brings up a screen as attached.  Leave it for a few seconds and MC will crash.

Your screenshot shows four icons called DLNA Generic, High Quality, Normal, and Search. These are obviously a DLNA “mirror” into the MC server UPNP AVT and CDS interfaces. Can you please tell us what App on the phone is behind those icons? I assume it must be a DLNA app that you purchased and downloaded from the App Store; I am pretty sure that it is not a native Android built in app.

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #14 on: December 12, 2017, 03:09:56 am »

I think it is just the Stock LG Gallery App that was loaded on my phone (LG V20 only a couple of months old).  I "think" it is this app - https://android-gallery3d.en.aptoide.com/?store_name=tamubcs
Logged
JRiver CEO Elect

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #15 on: December 12, 2017, 09:00:02 am »

I can't install that app on my phone, it fails with "corrupt" every time.  I tried the latest version, the version you mentioned, and several others but none will install.  I've got a Moto G5 Plus with Android 7.  Bob has the same problem on an Android Fire tablet.

I've never seen DLNA zones when sharing from my phone.  Did you double check that you don't have some other third party DLNA app on your phone that is making these zones visible as sharing targets?  Or maybe LG has some special extended sharing capability built in that you could try disabling - just to narrow down the cause.
Logged
John Thompson, JRiver Media Center

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #16 on: December 12, 2017, 09:09:59 am »

A google search showed that some LG phones have a screen in settings called "Share & connect" which has a 'Media Server' option: "Share media content with nearby DLNA-compatible devices".

Maybe try disabling that to see if it's the cause.

http://www.lg.com/uk/support/solutions/tv/smartshare-screen-share
Logged
John Thompson, JRiver Media Center

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #17 on: December 12, 2017, 02:19:02 pm »

I have those settings but they are all off.
Logged
JRiver CEO Elect

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4276
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #18 on: December 12, 2017, 02:28:42 pm »

I suppose a packet capture would help as then you'd see the traffic hitting MC
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #19 on: December 12, 2017, 02:51:40 pm »

I suppose a packet capture would help as then you'd see the traffic hitting MC

Yeah. Look for HTTP SOAP action commands..
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #20 on: December 12, 2017, 03:10:10 pm »

We found one issue that's not directly related to the search but it might be a side effect of it being triggered.
I'm going to make a new beta in a bit. It would be nice to see if that fixes the issue.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #21 on: December 12, 2017, 03:25:37 pm »

Will test and let you know, thanks.
Logged
JRiver CEO Elect

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #22 on: December 12, 2017, 04:58:31 pm »

Will test and let you know, thanks.
It's up..
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #23 on: December 12, 2017, 05:12:36 pm »

Still crashing :(
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #24 on: December 12, 2017, 05:26:58 pm »

To make it more confusing, just tested with MC on a Laptop and it does not crash, only MC on the MAIN-PC
Logged
JRiver CEO Elect

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5242
  • "Linux Merit Badge" Recipient
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #25 on: December 12, 2017, 06:10:13 pm »

I just also discovered by accident that I have the ability to "share photos" to MC in my gallery app on a samsung galaxy note 8.  The gallery app in my case is the stock samsung gallery app, and I ahve no other DLNA type apps.  So this isn't just an LG feature/issue.

When I tried it, it did not trigger any MC crashes, but it doesn't "work" either (it wasn't clear what is supposed to happen in this case).  It would be neat to be able to share things with MC via the phone's sharing api (i.e. videos, etc.), but it sounds like this android feature may still be early on.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #26 on: December 12, 2017, 06:42:16 pm »

To make it more confusing, just tested with MC on a Laptop and it does not crash, only MC on the MAIN-PC
Both 64 bit?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #27 on: December 12, 2017, 06:49:38 pm »

Yup - Same Version as well.  The laptop was what I used to get the captures for the Axiom issue, so I was getting it ready again (in case you wanted captures)
Logged
JRiver CEO Elect

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #28 on: December 12, 2017, 06:54:52 pm »

Yup - Same Version as well.  The laptop was what I used to get the captures for the Axiom issue, so I was getting it ready again (in case you wanted captures)
Big speed difference?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #29 on: December 12, 2017, 07:51:04 pm »

I guess so - this is the MainPC
Code: [Select]
=== Running Benchmarks (please do not interrupt) ===

Running 'Math' benchmark...
    Single-threaded integer math... 3.193 seconds
    Single-threaded floating point math... 2.204 seconds
    Multi-threaded integer math... 0.595 seconds
    Multi-threaded mixed math... 0.428 seconds
Score: 2960

Running 'Image' benchmark...
    Image creation / destruction... 0.140 seconds
    Flood filling... 0.161 seconds
    Direct copying... 0.274 seconds
    Small renders... 0.747 seconds
    Bilinear rendering... 0.583 seconds
    Bicubic rendering... 0.344 seconds
Score: 9783

Running 'Database' benchmark...
    Create database... 0.108 seconds
    Populate database... 0.613 seconds
    Save database... 0.126 seconds
    Reload database... 0.079 seconds
    Search database... 0.826 seconds
    Sort database... 0.818 seconds
    Group database... 0.568 seconds
Score: 6851

JRMark (version 23.0.91 x64): 6531
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #30 on: December 12, 2017, 07:52:36 pm »

and this is the Laptop
Code: [Select]
=== Running Benchmarks (please do not interrupt) ===

Running 'Math' benchmark...
    Single-threaded integer math... 5.328 seconds
    Single-threaded floating point math... 3.676 seconds
    Multi-threaded integer math... 3.015 seconds
    Multi-threaded mixed math... 2.018 seconds
Score: 1354

Running 'Image' benchmark...
    Image creation / destruction... 0.238 seconds
    Flood filling... 0.311 seconds
    Direct copying... 0.487 seconds
    Small renders... 1.335 seconds
    Bilinear rendering... 1.608 seconds
    Bicubic rendering... 0.967 seconds
Score: 4448

Running 'Database' benchmark...
    Create database... 0.204 seconds
    Populate database... 1.035 seconds
    Save database... 0.192 seconds
    Reload database... 0.069 seconds
    Search database... 1.512 seconds
    Sort database... 1.115 seconds
    Group database... 0.682 seconds
Score: 4471

JRMark (version 23.0.91 x64): 3424
Logged
JRiver CEO Elect

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #31 on: December 12, 2017, 10:54:21 pm »

and this is the Laptop
Code: [Select]
=== Running Benchmarks (please do not interrupt) ===

Running 'Math' benchmark...
    Single-threaded integer math... 5.328 seconds
    Single-threaded floating point math... 3.676 seconds
    Multi-threaded integer math... 3.015 seconds
    Multi-threaded mixed math... 2.018 seconds
Score: 1354

Running 'Image' benchmark...
    Image creation / destruction... 0.238 seconds
    Flood filling... 0.311 seconds
    Direct copying... 0.487 seconds
    Small renders... 1.335 seconds
    Bilinear rendering... 1.608 seconds
    Bicubic rendering... 0.967 seconds
Score: 4448

Running 'Database' benchmark...
    Create database... 0.204 seconds
    Populate database... 1.035 seconds
    Save database... 0.192 seconds
    Reload database... 0.069 seconds
    Search database... 1.512 seconds
    Sort database... 1.115 seconds
    Group database... 0.682 seconds
Score: 4471

JRMark (version 23.0.91 x64): 3424
I wouldn't expect that to make a difference.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #32 on: December 12, 2017, 11:23:14 pm »

The only thing I can think of that that MC on MAIN is trying to enumerate something that the LG V20 is after and coming unstuck.  If it is not obvious then don't waste any more time on it.  While it's not good that something can crash MC, if I'm the only one then who cares (...well apart from me). 
Logged
JRiver CEO Elect

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72548
  • Where did I put my teeth?
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #33 on: December 13, 2017, 12:39:52 am »

Network hardware or driver problem on the one that crashes?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #34 on: December 13, 2017, 02:08:42 am »

Doubtful as it looks like the phone polls MC DLNA servers and then MC just then falls over ....but who knows
Logged
JRiver CEO Elect

leezer3

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1589
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #35 on: December 13, 2017, 08:59:19 am »

LG G6, Gallery 6.1.29

Not crashing here, but as others have noted it doesn't work either.

Crashing on only one machine suggests to me that it's something to do with the zone configuration. Anything unusual there?
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #36 on: December 13, 2017, 11:55:50 am »

Somebody needs to do a WireShark capture please.
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #37 on: December 13, 2017, 01:27:34 pm »

I'll do a capture...
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #38 on: December 14, 2017, 01:30:47 am »

Here is the capture.  I'm not sure if it contains sensitive info so I've password protected it and sent a PM to AndrewFG, bob, and JohnT
Logged
JRiver CEO Elect

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #39 on: December 14, 2017, 03:05:46 am »

Thanks for the capture. It looks as though it is indeed a CDS:Search problem in MC. At least I can see no other SOAP actions that might cause problems. Many of the CDS:Search requests are answered properly by MC by providing an HTTP 200 OK response with a respective resource payload. However towards the end of the log there seem to be requests where MC does not respond (or even responds with garbage). I cannot say why MC would crash on such requests. The JRiver guys will need to run the requests through their debugger..

Example of last CDS:Search in the log..

POST /ContentDirectory/control HTTP/1.1
Connection: Keep-Alive
HOST: 192.168.1.10:52101
User-Agent: LGMOBILE/7.0 UPnP/1.0 DLNADOC/1.50 (MS-DeviceCaps/1024) LGUPnP/2.1.022
Content-Type: text/xml; charset="utf-8"
Content-Length: 692
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Search"
DLNADeviceName.lge.com: V20

<?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:Search xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<ContainerID>0</ContainerID>
<SearchCriteria>upnp:class derivedfrom &quot;object.item.imageItem&quot;</SearchCriteria>
<Filter>@id,@parentID,@restricted,@refID,dc:title,upnp:class,upnp:artist,dc:date,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:description,res,res@size,res@resolution,res@importUri</Filter>
<StartingIndex>50</StartingIndex>
<RequestedCount>50</RequestedCount>
<SortCriteria/>
</u:Search>
</s:Body>
</s:Envelope>
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #40 on: December 14, 2017, 09:42:13 am »

Thanks for the capture. It looks as though it is indeed a CDS:Search problem in MC. At least I can see no other SOAP actions that might cause problems. Many of the CDS:Search requests are answered properly by MC by providing an HTTP 200 OK response with a respective resource payload. However towards the end of the log there seem to be requests where MC does not respond (or even responds with garbage). I cannot say why MC would crash on such requests. The JRiver guys will need to run the requests through their debugger..

Example of last CDS:Search in the log..

POST /ContentDirectory/control HTTP/1.1
Connection: Keep-Alive
HOST: 192.168.1.10:52101
User-Agent: LGMOBILE/7.0 UPnP/1.0 DLNADOC/1.50 (MS-DeviceCaps/1024) LGUPnP/2.1.022
Content-Type: text/xml; charset="utf-8"
Content-Length: 692
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Search"
DLNADeviceName.lge.com: V20

<?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:Search xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<ContainerID>0</ContainerID>
<SearchCriteria>upnp:class derivedfrom &quot;object.item.imageItem&quot;</SearchCriteria>
<Filter>@id,@parentID,@restricted,@refID,dc:title,upnp:class,upnp:artist,dc:date,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:description,res,res@size,res@resolution,res@importUri</Filter>
<StartingIndex>50</StartingIndex>
<RequestedCount>50</RequestedCount>
<SortCriteria/>
</u:Search>
</s:Body>
</s:Envelope>
Interesting...
Do you have a particular tool you recommend doing this with Andrew?
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #41 on: December 15, 2017, 12:19:24 pm »

Not really :) I think I would just inject the HTTP SOAP message into MCs server via the debugger and step through the code and see where it takes you..
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #42 on: January 04, 2018, 02:26:54 am »

Actually, this is kind of annoying now.  Every time I look at a photo on my phone if connected to my Home Network, MC crashes. 
Logged
JRiver CEO Elect

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72548
  • Where did I put my teeth?
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #43 on: January 04, 2018, 06:01:50 am »

Actually, this is kind of annoying now.  Every time I look at a photo on my phone if connected to my Home Network, MC crashes.
We'll see what we can find.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #44 on: January 04, 2018, 12:48:28 pm »

Still can't reproduce this.
Would you email me the dump file please?

bob (at) jriver (dot) com

Thanks
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #45 on: January 04, 2018, 04:04:42 pm »

I've emailed the Zip of the Log files... but there is no Dump File in it??  Here is a pic of what I see in Windows.
Logged
JRiver CEO Elect

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #46 on: January 04, 2018, 04:21:48 pm »

I've emailed the Zip of the Log files... but there is no Dump File in it??  Here is a pic of what I see in Windows.
Thanks, checking into it.
Just in case, do you have the resources to try a linux version?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #47 on: January 04, 2018, 04:24:49 pm »

I have an Ubuntu 16 box that runs my Unifi Home Security / Network Infrastructure.  I don't think it is very powerful and while I'm not that skilled on Linux but can muddle through.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #48 on: January 04, 2018, 04:31:04 pm »

FYI - in the Log the Phone IP is 192.168.1.67
Logged
JRiver CEO Elect

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: MC Crashing - Android Phone is causing it (DLNA?)
« Reply #49 on: January 04, 2018, 04:35:11 pm »

FYI - in the Log the Phone IP is 192.168.1.67
Thanks, I hoping we can figure out why you don't have a crash dump.
In this case it would be much easier to figure out that way.
Logged
Pages: [1] 2   Go Up