| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: May 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
| Hi, I tried to use/debug my own compiled versions of TvService but I get a FatalExecutionEngineError (0xc0000005) at address "0x7f5350c6". The debugger stops at the following line Code: enumMedia.Next(20, mediaTypes, out fetched); Any idea why this happens? I am using VS2005 + SP1 + Vista-Fix for SP1 on Vista AMD64. Regards, Mark Last edited by mjs; 2007-12-22 at 17:55. |
| | |
| |
| | #2 (permalink) |
| Portal Member Join Date: May 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
| I had to change the "Target Platform" from "Any CPU" to "x86" to work around this problem. This has the nice side-effect that I can enable native debugging. Anyway, it seems to be a problem in the .NET runtime for x64 and not a problem of MediaPortal's code because IntPtr members don't automatically get an 8-Byte-Alignment. IOW: The AM_MEDIA_TYPE structure has a size of 88 bytes (instead of 80 bytes) on x64 and 72 bytes on x86. Any idea how to fix this problem? EDIT: I just tried to temporarily add two member variables to this structure but this doesn't help either. There seems to be another problem too. Regards, Mark Last edited by mjs; 2007-12-22 at 19:06. |
| | |
![]() |
| Bookmarks |
| Tags |
| compiled, tuning, tvservice |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tvservice crashes when exiting setupTV. | gibman | pre 1.0 RC1 | 6 | 2008-02-02 13:41 |
| MediaPortal crashes when auto tuning dvb-c | bwuk | Installation, configuration support | 7 | 2007-11-28 16:03 |
| TVService crashes instantly when closing MediaPortal/SetupTV.exe | kolizz | pre 1.0 RC1 | 2 | 2007-04-20 20:11 |
| TVService crashes | MediaTobiPortal | pre 1.0 RC1 | 7 | 2007-01-28 16:43 |
| tvservice.exe crashes when client is connecting | infinityloop | fixed TV-Server / Client Bugs | 2 | 2006-11-21 06:39 |