[WINDOWS] librtmp.dll bug!
#1
Hi All,

I am using a nightly that I downloaded on Saturday evening, and since I have had problems using TVCatchup and other RTMP:// streams.

Log as follows:

Code:
19:55:48 T:4556  NOTICE: -->Python Interpreter Initialized<--
19:55:48 T:4556  NOTICE: Encoded
19:55:49 T:3472  NOTICE: -->Python Interpreter Initialized<--
19:55:50 T:3472   ERROR:  XFILE::CPluginDirectory::EndOfDirectory - called with an invalid handle.
19:55:50 T:2560  NOTICE: DVDPlayer: Opening: rtmp://<<URL REMOVED BY ME AS IT HAS MY USER ID/ETC IN!>>
19:55:50 T:2560 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:55:50 T:4612  NOTICE: Creating InputStream
19:55:50 T:4612   ERROR: Win32DllLoader::Load: Unable to load special://xbmcbin/system/players/dvdplayer/librtmp.dll (127)
19:55:50 T:4612   ERROR: CThread::staticThread : Access violation at 0x23fd2d24: Reading location 0x23fd2d24
19:55:50 T:4612  NOTICE: CDVDPlayer::OnExit()
19:55:50 T:4612  NOTICE: DVDPlayer: eof, waiting for queues to empty
19:55:50 T:4612  NOTICE: CDVDPlayer::OnExit() deleting input stream
19:55:50 T:4612   ERROR: CDVDPlayer::OnExit - Exception thrown when trying to close down player, memory leak will follow
19:55:50 T:2560  NOTICE: CDVDPlayer::CloseFile()
19:55:50 T:2560  NOTICE: DVDPlayer: waiting for threads to exit
19:55:50 T:2560  NOTICE: DVDPlayer: finished waiting
19:55:53 T:2560   ERROR: Control 1 in window 10099 has been asked to focus, but it can't

I managed to fix this by using a different version of librtmp.dll downloaded from http://rtmpdump.mplayerhq.hu/librtmp.3.html

Really really sorry if this is already known or even fixed. I just wanted to share it in case it has not been picked up yet!

Cheers all for an awesome program!
Reply
#2
rlees85 Wrote:Hi All,

I am using a nightly that I downloaded on Saturday evening, and since I have had problems using TVCatchup and other RTMP:// streams.

Log as follows:

Code:
19:55:48 T:4556  NOTICE: -->Python Interpreter Initialized<--
19:55:48 T:4556  NOTICE: Encoded
19:55:49 T:3472  NOTICE: -->Python Interpreter Initialized<--
19:55:50 T:3472   ERROR:  XFILE::CPluginDirectory::EndOfDirectory - called with an invalid handle.
19:55:50 T:2560  NOTICE: DVDPlayer: Opening: rtmp://<<URL REMOVED BY ME AS IT HAS MY USER ID/ETC IN!>>
19:55:50 T:2560 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:55:50 T:4612  NOTICE: Creating InputStream
19:55:50 T:4612   ERROR: Win32DllLoader::Load: Unable to load special://xbmcbin/system/players/dvdplayer/librtmp.dll (127)
19:55:50 T:4612   ERROR: CThread::staticThread : Access violation at 0x23fd2d24: Reading location 0x23fd2d24
19:55:50 T:4612  NOTICE: CDVDPlayer::OnExit()
19:55:50 T:4612  NOTICE: DVDPlayer: eof, waiting for queues to empty
19:55:50 T:4612  NOTICE: CDVDPlayer::OnExit() deleting input stream
19:55:50 T:4612   ERROR: CDVDPlayer::OnExit - Exception thrown when trying to close down player, memory leak will follow
19:55:50 T:2560  NOTICE: CDVDPlayer::CloseFile()
19:55:50 T:2560  NOTICE: DVDPlayer: waiting for threads to exit
19:55:50 T:2560  NOTICE: DVDPlayer: finished waiting
19:55:53 T:2560   ERROR: Control 1 in window 10099 has been asked to focus, but it can't

I managed to fix this by using a different version of librtmp.dll downloaded from http://rtmpdump.mplayerhq.hu/librtmp.3.html

Really really sorry if this is already known or even fixed. I just wanted to share it in case it has not been picked up yet!

Cheers all for an awesome program!
I had the same issue: http://trac.xbmc.org/ticket/11796

I fixed it by deleting my profile! And then it worked. I got it twice after using a new XBMC version. My ticket was closed, but I guess it should be reopened. Please also post your comment in that TRAC issue.
Reply
#3
people with problems should try with a fresh profile. librtmp now depends on some other dll as it is handmade. the path to this was added in the code. dunno why this may cause problems with profiles as it worked fine for me without cleaning anything.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#4
rlees85 Wrote:Hi All,

I am using a nightly that I downloaded on Saturday evening, and since I have had problems using TVCatchup and other RTMP:// streams.

Log as follows:

Code:
19:55:48 T:4556  NOTICE: -->Python Interpreter Initialized<--
19:55:48 T:4556  NOTICE: Encoded
19:55:49 T:3472  NOTICE: -->Python Interpreter Initialized<--
19:55:50 T:3472   ERROR:  XFILE::CPluginDirectory::EndOfDirectory - called with an invalid handle.
19:55:50 T:2560  NOTICE: DVDPlayer: Opening: rtmp://<<URL REMOVED BY ME AS IT HAS MY USER ID/ETC IN!>>
19:55:50 T:2560 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:55:50 T:4612  NOTICE: Creating InputStream
19:55:50 T:4612   ERROR: Win32DllLoader::Load: Unable to load special://xbmcbin/system/players/dvdplayer/librtmp.dll (127)
19:55:50 T:4612   ERROR: CThread::staticThread : Access violation at 0x23fd2d24: Reading location 0x23fd2d24
19:55:50 T:4612  NOTICE: CDVDPlayer::OnExit()
19:55:50 T:4612  NOTICE: DVDPlayer: eof, waiting for queues to empty
19:55:50 T:4612  NOTICE: CDVDPlayer::OnExit() deleting input stream
19:55:50 T:4612   ERROR: CDVDPlayer::OnExit - Exception thrown when trying to close down player, memory leak will follow
19:55:50 T:2560  NOTICE: CDVDPlayer::CloseFile()
19:55:50 T:2560  NOTICE: DVDPlayer: waiting for threads to exit
19:55:50 T:2560  NOTICE: DVDPlayer: finished waiting
19:55:53 T:2560   ERROR: Control 1 in window 10099 has been asked to focus, but it can't

I managed to fix this by using a different version of librtmp.dll downloaded from http://rtmpdump.mplayerhq.hu/librtmp.3.html

Really really sorry if this is already known or even fixed. I just wanted to share it in case it has not been picked up yet!

Cheers all for an awesome program!

Same here. Fresh profile. No luck for any RTMP streams!
Someone should look into this. I think the ticket is closed too fast.
Reply
#5
Problem is that I (from Europe) can't test if it works unless someone gives me an open test stream. I didn't get this error but I can repack librtmp to include all dlls. Today we use a dll from libmicrohttpd and it seems to be that even though both have the same name with the version tag the procedures aren't the same
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#6
I've repacked the lib with the different *error dll. It still works for me (at least the loading of the dll) so dunno if this fixes your problem.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
WiSo Wrote:I've repacked the lib with the different *error dll. It still works for me (at least the loading of the dll) so dunno if this fixes your problem.

I live in Germany too. I tried RTMP streams like those from Livestream or Laola1 plugin.
They WORK with dll from mplayerhq, but not with the delivered dll in the xbmc package.
I really don't get this, since got new windows installtion, everything worked fine for a long time (a few weeks now not working), no issues at all at any time with anything!

Need any more details or questions, ask or pm me (german or english, your choice).
THX for your effort.
Reply
#8
rlees85 Wrote:Hi All,

I am using a nightly that I downloaded on Saturday evening, and since I have had problems using TVCatchup and other RTMP:// streams.

Log as follows:

Code:
19:55:48 T:4556  NOTICE: -->Python Interpreter Initialized<--
19:55:48 T:4556  NOTICE: Encoded
19:55:49 T:3472  NOTICE: -->Python Interpreter Initialized<--
19:55:50 T:3472   ERROR:  XFILE::CPluginDirectory::EndOfDirectory - called with an invalid handle.
19:55:50 T:2560  NOTICE: DVDPlayer: Opening: rtmp://<<URL REMOVED BY ME AS IT HAS MY USER ID/ETC IN!>>
19:55:50 T:2560 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:55:50 T:4612  NOTICE: Creating InputStream
19:55:50 T:4612   ERROR: Win32DllLoader::Load: Unable to load special://xbmcbin/system/players/dvdplayer/librtmp.dll (127)
19:55:50 T:4612   ERROR: CThread::staticThread : Access violation at 0x23fd2d24: Reading location 0x23fd2d24
19:55:50 T:4612  NOTICE: CDVDPlayer::OnExit()
19:55:50 T:4612  NOTICE: DVDPlayer: eof, waiting for queues to empty
19:55:50 T:4612  NOTICE: CDVDPlayer::OnExit() deleting input stream
19:55:50 T:4612   ERROR: CDVDPlayer::OnExit - Exception thrown when trying to close down player, memory leak will follow
19:55:50 T:2560  NOTICE: CDVDPlayer::CloseFile()
19:55:50 T:2560  NOTICE: DVDPlayer: waiting for threads to exit
19:55:50 T:2560  NOTICE: DVDPlayer: finished waiting
19:55:53 T:2560   ERROR: Control 1 in window 10099 has been asked to focus, but it can't

I managed to fix this by using a different version of librtmp.dll downloaded from http://rtmpdump.mplayerhq.hu/librtmp.3.html

Really really sorry if this is already known or even fixed. I just wanted to share it in case it has not been picked up yet!

Cheers all for an awesome program!

By the way: seems like we are not the only one with the same problem:
http://forum.xbmc.org/showpost.php?p=864...tcount=191
Reply
#9
WiSo Wrote:I've repacked the lib with the different *error dll. It still works for me (at least the loading of the dll) so dunno if this fixes your problem.

Another thing, Why are you still using 2.3. I looked into the xbmc code und it generates an librtmp.dll from the 2.3 svn of maplyerhq. Why not using the latest one (which doesn't make any problems)?
Reply
#10
So u're using the latest nightly and still get the 127 error? please provide me with a stream url for testing. Maybe its a release thing only because I can load the dll without problems. The rest of the errors are just related.
ABout the version: search for the ticket on trac and follow the discussion.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#11
WiSo Wrote:So u're using the latest nightly and still get the 127 error? please provide me with a stream url for testing. Maybe its a release thing only because I can load the dll without problems. The rest of the errors are just related.
ABout the version: search for the ticket on trac and follow the discussion.

Sorry, could not follow:
What you need?

- Streams that don't work, example: Laola1 plugin, latest version, lot of RTMP streams, none of them work, another example: lot of "livestream plugin" streams

- debug log is the same failed to load message, should i post the log?

- version used in xbmc makefile (2.3), version on site of mplayerhq is 2.4 (replacing the xbmc dll with mplayerhq => streams work

- http://trac.xbmc.org/ticket/11796 is closed (invalid). Only trac I found, Just three comments there!

Is it just us with the problem? no one else or do the most people don't use rtmp streams? Have you tried this streams, which i told you about? Do they work for you? As i said: i am from germany und they broadcast in germany, legally!
Hope i could clear up a few things.
Reply
#12
a stream url would be a rtmp:// url which i could use for testing. maybe i try the plugins. and yes please post a full debug log file via pastebin.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#13
WiSo Wrote:a stream url would be a rtmp:// url which i could use for testing. maybe i try the plugins. and yes please post a full debug log file via pastebin.

1st thing in the morning!
In the meantime you cold tray the two plugins, thereare tons of streams there!

PS: (in german):
laola1 (die Archive z.b. aus deutschland/fussball/La Liga als beispiel)
Reply
#14
WiSo Wrote:a stream url would be a rtmp:// url which i could use for testing. maybe i try the plugins. and yes please post a full debug log file via pastebin.

http://pastebin.com/8Qz8ZA2F
Tis iy ma log, a full debug log! Trioed to play 3 streams.
Like mentioned this is just ONE plugin and this one plays usually RTMPs.
Reply
#15
Works fine for me. Wonder if this is a 64 vs 32 bit issue. My systems are Win7 64bit and the lib is compiled on those. No problems with other libs but librtmp seems special.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
[WINDOWS] librtmp.dll bug!0