home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
MP crashes on resume after long/overnight sleep
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 1223259" data-attributes="member: 82144"><p>(Response to private replies from joecrow after I showed him how to attach IDA...)</p><p></p><p>It seems that you didn't understand what I showed you.</p><p>Before I left I asked whether you wanted me to restart MP and attach the debugger again for you, but you didn't respond.</p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>Please read carefully...</p><p></p><p></p><p>This means MP is "paused" and the debugger has control.</p><p></p><p>As I tried to show you, when you attach a debugger - IDA in this case - the debugger normally sits in the background waiting for exceptions/errors to occur. When an exception/error occurs, the debugger takes control. The attached program - MP in this case - will become unusable until you deal with the exception/error in the debugger.</p><p></p><p></p><p>No... but I showed you how to attach IDA. Hopefully you remember.</p><p></p><p></p><p>Reboot was unnecessary. IDA had control because an exception/error occurred. All you had to do was deal with the exception in IDA (pass to program) and MP would have unlocked. I showed you how to do this. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>By the way, "lockup" is exactly what you should expect to see when MP crashes on resume with IDA attached. That's when I need to be able to connect and gather information. If you reboot, the information will be lost. So in general: please don't reboot again when you think MP is locked.</p><p></p><p></p><p>That's expected. You have to restart and reattach IDA each time you restart MP.</p><p></p><p></p><p>There's no auto process.</p><p></p><p></p><p>If you expected me to connect, attach/configure IDA, and then leave you to use MP until the crash happened then your expectations were not realistic. Maybe that's partially my fault for not explaining all of this in such detail earlier. In my defence, I honestly didn't think you'd have such trouble using IDA if I showed you how to do it.</p><p></p><p>It's not possible to attach/configure IDA and have it "survive" MP restarts let alone Windows restarts.</p><p></p><p>I connected to show you how to use IDA [a little!] yourself, not to do everything for you.</p><p></p><p>It comes down to this: if you want a solution for the problem, you're going to have to learn a few things about IDA. I already tried to show you once. I'm willing to show you again. However, if you're not willing to learn, there's nothing I can do... and of course, there'll be no solution to the crash on resume.</p><p></p><p></p><p>Again, this is 100% expected and normal for default IDA config.</p><p>It's exactly what happened when I attached IDA in the TeamViewer session.</p><p></p><p>When you attach a debugger, it's normal for the debugger to get control and the program (MP in this case) to be "paused". All you have to do to give the control back to MP is press the "play" button in the top left corner of IDA. I know I explained that to you. Maybe you didn't understand.</p><p></p><p></p><p>Where we go from here is completely up to you.</p><p></p><p>It is possible to use MP with IDA running... but you'll have to learn how. I tried to show you once. As I said above: I'm willing to try to show you again. However, there's no point if you aren't willing to try again.</p><p></p><p>IDA is very powerful and complicated. However you only need to know minimal information in order to be able to use it effectively. I feel like I showed you everything that you needed to see/know during our 5 minute TeamViewer session. It's essentially 3 things:</p><p>1. How to attach IDA to MP.</p><p>Select: Debugger -> Attach -> Local Windows debugger => select MediaPortal.exe -> click OK => click the play button in the top left corner.</p><p></p><p>2. How to give control back to MP when an error/exception occurs.</p><p>This one is more difficult for me to give instructions because I use a different version of IDA (=> different dialogs/buttons/text).</p><p>In general, if an error/exception - especially "managed" ones...</p><p>[ATTACH=full]190603[/ATTACH]</p><p></p><p>Click OK.</p><p>Click the play button in the top left corner.</p><p>[ATTACH=full]190604[/ATTACH]</p><p></p><p>Click "change exception definition".</p><p></p><p>[ATTACH=full]190606[/ATTACH]</p><p></p><p>Configure the settings as shown above, then click OK, and "yes (pass to app)".</p><p></p><p>Now MP is "unlocked".</p><p></p><p>I repeat: <strong>the dialogs and text will be slightly different for you</strong>, but the principle is the same.</p><p></p><p>3. How to capture the information needed after the target error (ie. crash on resume in this case) has occurred.</p><p>Again, this is more difficult for me to give instructions because of the difference in IDA versions.</p><p>I need screenshots of the stack trace (try pressing CTRL + ALT + S after the exception/error - hopefully that will bring it up) and modules list.</p><p></p><p>I can't do any better than this.</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1223259, member: 82144"] (Response to private replies from joecrow after I showed him how to attach IDA...) It seems that you didn't understand what I showed you. Before I left I asked whether you wanted me to restart MP and attach the debugger again for you, but you didn't respond. :( Please read carefully... This means MP is "paused" and the debugger has control. As I tried to show you, when you attach a debugger - IDA in this case - the debugger normally sits in the background waiting for exceptions/errors to occur. When an exception/error occurs, the debugger takes control. The attached program - MP in this case - will become unusable until you deal with the exception/error in the debugger. No... but I showed you how to attach IDA. Hopefully you remember. Reboot was unnecessary. IDA had control because an exception/error occurred. All you had to do was deal with the exception in IDA (pass to program) and MP would have unlocked. I showed you how to do this. :( By the way, "lockup" is exactly what you should expect to see when MP crashes on resume with IDA attached. That's when I need to be able to connect and gather information. If you reboot, the information will be lost. So in general: please don't reboot again when you think MP is locked. That's expected. You have to restart and reattach IDA each time you restart MP. There's no auto process. If you expected me to connect, attach/configure IDA, and then leave you to use MP until the crash happened then your expectations were not realistic. Maybe that's partially my fault for not explaining all of this in such detail earlier. In my defence, I honestly didn't think you'd have such trouble using IDA if I showed you how to do it. It's not possible to attach/configure IDA and have it "survive" MP restarts let alone Windows restarts. I connected to show you how to use IDA [a little!] yourself, not to do everything for you. It comes down to this: if you want a solution for the problem, you're going to have to learn a few things about IDA. I already tried to show you once. I'm willing to show you again. However, if you're not willing to learn, there's nothing I can do... and of course, there'll be no solution to the crash on resume. Again, this is 100% expected and normal for default IDA config. It's exactly what happened when I attached IDA in the TeamViewer session. When you attach a debugger, it's normal for the debugger to get control and the program (MP in this case) to be "paused". All you have to do to give the control back to MP is press the "play" button in the top left corner of IDA. I know I explained that to you. Maybe you didn't understand. Where we go from here is completely up to you. It is possible to use MP with IDA running... but you'll have to learn how. I tried to show you once. As I said above: I'm willing to try to show you again. However, there's no point if you aren't willing to try again. IDA is very powerful and complicated. However you only need to know minimal information in order to be able to use it effectively. I feel like I showed you everything that you needed to see/know during our 5 minute TeamViewer session. It's essentially 3 things: 1. How to attach IDA to MP. Select: Debugger -> Attach -> Local Windows debugger => select MediaPortal.exe -> click OK => click the play button in the top left corner. 2. How to give control back to MP when an error/exception occurs. This one is more difficult for me to give instructions because I use a different version of IDA (=> different dialogs/buttons/text). In general, if an error/exception - especially "managed" ones... [ATTACH=full]190603[/ATTACH] Click OK. Click the play button in the top left corner. [ATTACH=full]190604[/ATTACH] Click "change exception definition". [ATTACH=full]190606[/ATTACH] Configure the settings as shown above, then click OK, and "yes (pass to app)". Now MP is "unlocked". I repeat: [B]the dialogs and text will be slightly different for you[/B], but the principle is the same. 3. How to capture the information needed after the target error (ie. crash on resume in this case) has occurred. Again, this is more difficult for me to give instructions because of the difference in IDA versions. I need screenshots of the stack trace (try pressing CTRL + ALT + S after the exception/error - hopefully that will bring it up) and modules list. I can't do any better than this. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
MP crashes on resume after long/overnight sleep
Contact us
RSS
Top
Bottom