Re: how to corss compile for windows in Linux
Here is the backtrace.
=======
Starting program: D:\Sharique\win\myMplayer0.9/mymplayer.exe
Program received signal SIGSEGV, Segmentation fault.
0x77c423e4 in _libkernel32_a_iname ()
(gdb) backstrace
Undefined command: "backstrace". Try "help".
(gdb) backtrace
#0 0x77c423e4 in _libkernel32_a_iname ()
#1 0x0022d09c in ?? ()
#2 0x77c3ffb9 in _libkernel32_a_iname ()
#3 0x104e41a3 in qt_mt3_dll_iname ()
#4 0x0040472b in myForm::play_file(QString) ()
#5 0x004065c6 in myForm::stop() ()
#6 0x00402ca5 in myForm::show_playlist() ()
#7 0x00428c63 in mainForm::qt_invoke(int, QUObject*) (this=0x22fdd0, _id=61,
_o=0x22f3fc) at .moc/moc_mainform.cpp:147
#8 0x00426267 in myForm::qt_invoke(int, QUObject*) (this=0x22fdd0, _id=61,
_o=0x22f3fc) at .moc/moc_myform.cpp:175
#9 0x100c3bec in qt_mt3_dll_iname ()
#10 0x100c495f in qt_mt3_dll_iname ()
#11 0x10595120 in qt_mt3_dll_iname ()
#12 0x1011643f in qt_mt3_dll_iname ()
#13 0x1004d381 in qt_mt3_dll_iname ()
#14 0x1004f39d in qt_mt3_dll_iname ()
#15 0x100093e7 in qt_mt3_dll_iname ()
#16 0x1000aa89 in qt_mt3_dll_iname ()
#17 0x77d48709 in _libkernel32_a_iname ()
#18 0x77d487eb in _libkernel32_a_iname ()
#19 0x77d489a5 in _libkernel32_a_iname ()
#20 0x77d489e8 in _libkernel32_a_iname ()
#21 0x100169a7 in qt_mt3_dll_iname ()
#22 0x1006d4f1 in qt_mt3_dll_iname ()
#23 0x1006d446 in qt_mt3_dll_iname ()
#24 0x0040137e in main ()
=========
Re: how to corss compile for windows in Linux
What does myForm::play_file(QString) do?
Re: how to corss compile for windows in Linux
Quote:
Originally Posted by jacek
What does myForm::play_file(QString) do?
Play the file specied as argument in mplayer in slave mode.
Re: how to corss compile for windows in Linux
Quote:
Originally Posted by safknw
Play the file specied as argument in mplayer in slave mode.
It calls some function from Qt which leads to a crash. Do you know which one? If not, compile Qt in debug mode and try again (make sure you have "CONFIG += console" to your .pro file and check whether there are any messages on the console).
Re: how to corss compile for windows in Linux
if it crashes at a point when you are accessing a file, did you make sure to change these filenames to windows format too? or is it a user input/file dialog kinda situation