RSATom / QmlVlc

[ABANDONED] libvlc wrapper for Qt Quick 2/Qml
Other
139 stars 56 forks source link

new crash on vlc_player::stop #6

Closed pincopallopino closed 10 years ago

pincopallopino commented 10 years ago

this the result of the file dump (i'm using QT 5.1.1):

0 linux-gate.so + 0x424 eip = 0xb779e424 esp = 0xbf886d00 ebp = 0xad8ffb40 ebx = 0xad8ffba8 esi = 0x00000000 edi = 0xb662f000 eax = 0xfffffe00 ecx = 0x00000000 edx = 0x00001542 efl = 0x00000206 Found by: given as instruction pointer in context 1 libpthread-2.17.so + 0x7e1c eip = 0xb661ee1c esp = 0xbf886d10 ebp = 0xad8ffb40 Found by: stack scanning 2 libpthread-2.17.so + 0x7d40 eip = 0xb661ed40 esp = 0xbf886d18 ebp = 0xbf886d30 Found by: stack scanning 3 0xad8ffd64 eip = 0xad8ffd64 esp = 0xbf886d38 ebp = 0xb661ed40 Found by: previous frame's frame pointer 4 libvlccore.so.7.0.0 + 0xf3000 eip = 0xb635b000 esp = 0xbf886d4c ebp = 0xb661ed40 Found by: stack scanning 5 libvlccore.so.7.0.0 + 0xf3000 eip = 0xb635b000 esp = 0xbf886d50 ebp = 0xb661ed40 Found by: stack scanning 6 libvlc.so.5.4.0 + 0xf310 eip = 0xb7775310 esp = 0xbf886d58 ebp = 0xb661ed40 Found by: stack scanning 7 libvlccore.so.7.0.0 + 0xa1d13 eip = 0xb6309d13 esp = 0xbf886d60 ebp = 0xb661ed40 Found by: stack scanning 8 libvlccore.so.7.0.0 + 0x759d0 eip = 0xb62dd9d0 esp = 0xbf886d6c ebp = 0xb661ed40 Found by: stack scanning 9 libvlccore.so.7.0.0 + 0xf3000 eip = 0xb635b000 esp = 0xbf886d70 ebp = 0xb661ed40 Found by: stack scanning 10 libvlccore.so.7.0.0 + 0xf3000 eip = 0xb635b000 esp = 0xbf886d74 ebp = 0xb661ed40 Found by: stack scanning 11 libvlccore.so.7.0.0 + 0xf3000 eip = 0xb635b000 esp = 0xbf886d7c ebp = 0xb661ed40 Found by: stack scanning 12 libvlccore.so.7.0.0 + 0x4ac35 eip = 0xb62b2c35 esp = 0xbf886d80 ebp = 0xb661ed40 Found by: stack scanning 13 libvlccore.so.7.0.0 + 0xf3000 eip = 0xb635b000 esp = 0xbf886d90 ebp = 0xb661ed40 Found by: stack scanning 14 libvlccore.so.7.0.0 + 0xf3000 eip = 0xb635b000 esp = 0xbf886d9c ebp = 0xb661ed40 Found by: stack scanning 15 libvlccore.so.7.0.0 + 0x4ac82 eip = 0xb62b2c82 esp = 0xbf886da0 ebp = 0xb661ed40 Found by: stack scanning 16 libvlc.so.5.4.0 + 0x1c000 eip = 0xb7782000 esp = 0xbf886db0 ebp = 0xb661ed40 Found by: stack scanning 17 libvlc.so.5.4.0 + 0x1c000 eip = 0xb7782000 esp = 0xbf886db4 ebp = 0xb661ed40 Found by: stack scanning 18 libvlc.so.5.4.0 + 0x1c000 eip = 0xb7782000 esp = 0xbf886db8 ebp = 0xb661ed40 Found by: stack scanning 19 libvlc.so.5.4.0 + 0xf23e eip = 0xb777523e esp = 0xbf886dc0 ebp = 0xb661ed40 Found by: stack scanning 20 libvlc.so.5.4.0 + 0xf310 eip = 0xb7775310 esp = 0xbf886dcc ebp = 0xb661ed40 Found by: stack scanning 21 libvlc.so.5.4.0 + 0x1c000 eip = 0xb7782000 esp = 0xbf886de0 ebp = 0xb661ed40 Found by: stack scanning 22 libvlc.so.5.4.0 + 0x11773 eip = 0xb7777773 esp = 0xbf886df0 ebp = 0xb661ed40 Found by: stack scanning 23 libQt5V8.so.5 + 0x18796f eip = 0xb5f8396f esp = 0xbf886e10 ebp = 0xbf886e60 Found by: stack scanning 24 0x1a eip = 0x0000001a esp = 0xbf886e68 ebp = 0x081e0ff4 Found by: previous frame's frame pointer 25 MyApp!vlc::player::stop(bool) [vlc_player.cpp : 238 + 0x16] eip = 0x080595c8 esp = 0xbf886e70 ebp = 0xbf886e98 Found by: stack scanning 26 MyApp!QmlVlcPlayerProxy::stop() [QmlVlcPlayerProxy.cpp : 184 + 0x1b] eip = 0x08062f7d esp = 0xbf886ea0 ebp = 0xbf886eb8 ebx = 0x081e0ff4 Found by: call frame info 27 MyApp!QmlVlcPlayerProxy::qt_staticmetacall(QObject, QMetaObject::Call, int, void) [moc_QmlVlcPlayerProxy.cpp : 266 + 0xb] eip = 0x08075045 esp = 0xbf886ec0 ebp = 0xbf886ee8 ebx = 0x081e0ff4 Found by: call frame info 28 MyApp!QmlVlcPlayerProxy::qt_metacall(QMetaObject::Call, int, void) [moc_QmlVlcPlayerProxy.cpp : 428 + 0x20] eip = 0x0807556c esp = 0xbf886ef0 ebp = 0xbf886f18 ebx = 0x081e0ff4 esi = 0x0000001a Found by: call frame info 29 MyApp!QmlVlcSurfacePlayerProxy::qt_metacall(QMetaObject::Call, int, void__) [moc_QmlVlcSurfacePlayerProxy.cpp : 83 + 0x20] eip = 0x080772fa esp = 0xbf886f20 ebp = 0xbf886f38 ebx = 0x081e0ff4 esi = 0x0000001a Found by: call frame info 30 MyApp!QmlVlcPlayer::qtmetacall(QMetaObject::Call, int, void*) [moc_QmlVlcPlayer.cpp : 83 + 0x20] eip = 0x080773ee esp = 0xbf886f40 ebp = 0xbf886f58 ebx = 0x081e0ff4 esi = 0x0000001a Found by: call frame info

pincopallopino commented 10 years ago

i'm using async = false

void QmlVlcPlayerProxy::stop() { //use async stop to avoid freeze (on network timeout for example). player().stop( false ); }

RSATom commented 10 years ago

yes, I see. but crush is deep inside libvlc, and even not libvlc itself but in pthread call of some kernel function (if I understand right what is linux-gate.so). It's looks like some compatibility issue between libraries. Did you get this crash on every stop() or time to time?

pincopallopino commented 10 years ago

it's a random crash

RSATom commented 10 years ago

does it still crash?

pincopallopino commented 10 years ago

no, i haven't seen this crash anymore

RSATom commented 10 years ago

then it seems it some OS related issue