rupeshs / ExMplayer

Play any media files,convert,extract and more
GNU General Public License v2.0
51 stars 22 forks source link

openSUSE | Segmentation fault #3

Closed DAP-DarkneSS closed 10 years ago

DAP-DarkneSS commented 10 years ago

Hello. 3.2.0.

%gdb exmplayer GNU gdb (GDB) SUSE (7.5.1-2.5.1) Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/bin/exmplayer...Reading symbols from /usr/lib/debug/usr/bin/exmplayer.debug...done. done. (gdb) run Starting program: /usr/bin/exmplayer [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Debug: Checking for MPlayer binary... Debug: Starting mplayer process... Warning: QMetaObject::connectSlotsByName: No matching signal for on_sliderSeekFullSc_actionTriggered(int) Debug: "/tmp" Debug: Config path : "/home/da/.config/exmplayer" Debug: Checking for user short cut bindings... false Debug: Loading shortcut file : "/etc/exmplayer/sc_default.xml" Debug: Checking for deault short cut bindings... true [New Thread 0x7fffecf1d700 (LWP 27594)] Detaching after fork from child process 27595. Debug: KDE detected Debug: System Type "1" Detaching after fork from child process 27596. Detaching after fork from child process 27597. Debug: QDBusError("org.freedesktop.DBus.Error.UnknownMethod", "No such method 'Inhibit' in interface 'org.freedesktop.ScreenSaver' at object path '/ScreenSaver' (signature 'susu')") Debug: w_width: 600, w_height: 371 Debug: w: 600, h: 371

Program received signal SIGSEGV, Segmentation fault. 0x00007ffff674ed66 in QString::operator==(QString const&) const () from /usr/lib64/libQtCore.so.4

(gdb) bt full

0 0x00007ffff674ed66 in QString::operator==(QString const&) const () from /usr/lib64/libQtCore.so.4

No symbol table info available.

1 0x00007ffff74cabec in QProgressBar::setFormat (this=0x1437ee0, format=...) at widgets/qprogressbar.cpp:588

    d = <optimized out>

2 0x000000000044bf39 in Ui_PlayerWindow::retranslateUi (this=0x133fdb0, PlayerWindow=0x7fffffffda20) at ./ui_playerwindow.h:2537

No locals.

3 0x00007ffff70d4b29 in QWidget::event (this=0x7fffffffda20, event=0x1ebde00) at kernel/qwidget.cpp:8656

    d = 0x1265e00

4 0x00007ffff749955b in QMainWindow::event (this=0x7fffffffda20, event=0x1ebde00) at widgets/qmainwindow.cpp:1478

    d = 0x1265e00

5 0x00007ffff708585c in QApplicationPrivate::notify_helper (this=this@entry=0x118c940, receiver=receiver@entry=0x7fffffffda20,

e=e@entry=0x1ebde00) at kernel/qapplication.cpp:4562
    consumed = <optimized out>

6 0x00007ffff7089cda in QApplication::notify (this=0x7fffffffda00, receiver=0x7fffffffda20, e=0x1ebde00)

at kernel/qapplication.cpp:4423
    d = 0x118c940
    res = false

7 0x00007ffff6805bfe in QCoreApplication::notifyInternal(QObject, QEvent) () from /usr/lib64/libQtCore.so.4

No symbol table info available.

8 0x00007ffff6809561 in QCoreApplicationPrivate::sendPostedEvents(QObject, int, QThreadData) () from /usr/lib64/libQtCore.so.4

No symbol table info available.

9 0x00007ffff6833f83 in ?? () from /usr/lib64/libQtCore.so.4

No symbol table info available.

10 0x00007ffff54743b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

11 0x00007ffff54746e8 in ?? () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

12 0x00007ffff54747a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

13 0x00007ffff6834116 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/libQtCore.so.4

No symbol table info available.

14 0x00007ffff7125bee in QGuiEventDispatcherGlib::processEvents (this=, flags=...)

---Type to continue, or q to quit--- at kernel/qguieventdispatcher_glib.cpp:204 d = 0x1192c20 saved_flags = {i = 0} returnValue = false

15 0x00007ffff680494f in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/libQtCore.so.4

No symbol table info available.

16 0x00007ffff6804bd8 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/libQtCore.so.4

No symbol table info available.

17 0x00007ffff6809878 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4

No symbol table info available.

18 0x0000000000420553 in main (argc=1, argv=) at src/main.cpp:72

    instance = {<QApplication> = {<QCoreApplication> = {<No data fields>}, static staticMetaObject = {d = {
            superdata = 0x7ffff6b61780 <QCoreApplication::staticMetaObject>, 
            stringdata = 0x7ffff76f6b60 <qt_meta_stringdata_QApplication> "QApplication", 
            data = 0x7ffff76f6da0 <qt_meta_data_QApplication>, 
            extradata = 0x7ffff7b1e560 <QApplication::staticMetaObjectExtraData>}}, static staticMetaObjectExtraData = {
          objects = 0x0, 
          static_metacall = 0x7ffff7088f80 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}}, 
      static staticMetaObject = {d = {superdata = 0x116f460 <QApplication::staticMetaObject>, 
          stringdata = 0x51fa40 <qt_meta_stringdata_QtSingleApplication> "QtSingleApplication", 
          data = 0x51fae0 <qt_meta_data_QtSingleApplication>, 
          extradata = 0x51fa20 <QtSingleApplication::staticMetaObjectExtraData>}}, static staticMetaObjectExtraData = {
        objects = 0x0, 
        static_metacall = 0x4f9460 <QtSingleApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, peer = 
0x12bd420, actWin = 0x7fffffffda20}
    w = {<QMainWindow> = {<QWidget> = {<QObject> = {<No data fields>}, <QPaintDevice> = {
            _vptr.QPaintDevice = 0x516e98 <vtable for PlayerWindow+472>, painters = 0}, static staticMetaObject = {d = {
              superdata = 0x116f6e0 <QObject::staticMetaObject>, 
              stringdata = 0x7ffff76fa980 <qt_meta_stringdata_QWidget> "QWidget", data = 0x7ffff76faec0 <qt_meta_data_QWidget>, 
              extradata = 0x7ffff7b205c0 <QWidget::staticMetaObjectExtraData>}}, static staticMetaObjectExtraData = {
            objects = 0x0, 
            static_metacall = 0x7ffff70d6420 <QWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, 

---Type to continue, or q to quit--- data = 0x1265f48}, static staticMetaObject = {d = {superdata = 0x116f3e0 QWidget::staticMetaObject, stringdata = 0x7ffff77534a0 "QMainWindow", data = 0x7ffff7753640 , extradata = 0x7ffff7b49fc0 QMainWindow::staticMetaObjectExtraData}}, static staticMetaObjectExtraData = { objects = 0x7ffff7b59e60 , static_metacall = 0x7ffff76edd50 <QMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void*)>}}, static staticMetaObject = {d = {superdata = 0x116f780 QMainWindow::staticMetaObject, stringdata = 0x513ba0 "PlayerWindow", data = 0x515860 , extradata = 0x513b80 PlayerWindow::staticMetaObjectExtraData}}, static staticMetaObjectExtraData = {objects = 0x0, static_metacall = 0x4f2330 <PlayerWindow::qt_static_metacall(QObject, QMetaObject::Call, int, void**)>}, mp = { o = 0x1342bf0}, fr = {o = 0x0}, settings = {o = 0x12c8920}, mediaduration = 0, mediaposition = 0, ui = 0x133fdb0, dragPosition = {xp = 0, yp = 0}, basicmetainfo = {<QList> = {{p = {static shared_null = {ref = {_q_value = 4822}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x116f680 QListData::shared_null}, d = 0x116f680 QListData::shared_null}}, }, starting = false, socket = 0x118dff0, currentCmd = { static null = {}, static shared_null = {ref = {_q_value = 8007}, alloc = 0, size = 0, data = 0x116f55a QString::shared_null+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 52}, alloc = 0, size = 0, data = 0x7ffff6b638da QString::shared_empty+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x116f540 QString::shared_null, static codecForCStrings = 0x0}, blockSize = 22264, idleTimer = 0x1ea6a70, menuLoadSavepl = {o = 0x1420610}, mxdlg = {o = 0x0}, axdlg = {o = 0x0}, aucdlg = { o = 0x0}, svindlg = {o = 0x0}, screensaverInhibit = {o = 0x1689660}, labstr = 0x40c107, testlab = 0x7ffff66af048, lab = { o = 0x0}, w = {o = 0x162aae0}, picflow = {o = 0x0}, myplaylist = {o = 0x13d7940}, videoWin = 0x1608120, myconfig = 0x142b5a0, xpos = 0, ypos = 0, tmpxpos = 0, tmpypos = 0, prevpos = -1.03802956e+34, streamingDur = 4.59163468e-41, clientTimer = 0x7ffff7ffe188, windowTimer = {o = 0x1403270}, coreTimer = {o = 0x1ed7720}, playerTimer = {o = 0x0}, frameTimer = {o = 0x0}, disptimer = {o = 0x0}, hidetimer = {o = 0x0}, actiongroupSubtitleAlignment = {o = 0x1ed35e0}, actiongroupSubtitleTrack = {o = 0x0}, actiongroupAudioTrack = {o = 0x0}, actiongroupVideoTrack = {o = 0x0}, actiongroupChannels = {o = 0x1443b70}, actiongroupResample = {o = 0x1e7c990}, actiongroupStereoMode = {o = 0x1e7c9b0}, actiongroupRotate = {o = 0x1e79d80}, actiongroupAspectRatio = {o = 0x1e7cd30}, framedropGroup = {o = 0x1ed43f0}, osdGroup = {o = 0x1ed3d30}, actiongroupInFormatStereo = {o = 0x1ed4970}, actiongroupOutFormatStereo = {o = 0x1ed5520}, panel = 0x13648f0, mpwindow = 0x1186030, usingfidx = false, forceplay = 131, bfbvis = true, bplvis = false, blogvis = 255, bfilvis = 127, bplay = false, brotate = false, bedlenable = false, bstop = true, iseof = false, crossfade = 247, useidx = false, videoHeight = 2147483647, videoWidth = 6, ---Type to continue, or q to quit--- osdlevel = 18403184, framedroplevel = 0, metadispcount = 18404800, tmp = {static null = {}, static shared_null = {ref = {_q_value = 8007}, alloc = 0, size = 0, data = 0x116f55a QString::shared_null+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 52}, alloc = 0, size = 0, data = 0x7ffff6b638da QString::shared_empty+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x116f540 QString::shared_null, static codecForCStrings = 0x0}, currentFile = {static null = {}, static shared_null = {ref = {_q_value = 8007}, alloc = 0, size = 0, data = 0x116f55a QString::shared_null+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 52}, alloc = 0, size = 0, data = 0x7ffff6b638da QString::shared_empty+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x116f540 QString::shared_null, static codecForCStrings = 0x0}, pi = {o = 0x12e2080}, piv = {o = 0x1ea7690}, cdlg = {o = 0x0}, optionDlg = {o = 0x0}, midlg = {o = 0x0}, abtDlg = {o = 0x0}, mainhlpDlg = {o = 0x0}, urldlg = {o = 0x0}, radiodlg = {o = 0x0}, shortcut = {o = 0x13878f0}, recentFilesMenu = 0x14142b0, mousewheelrole = 0, isfullscreen = false, hascover = false, cover = 0x5202e0 , frpos = {static null = {}, static shared_null = { ref = {_q_value = 8007}, alloc = 0, size = 0, data = 0x116f55a QString::shared_null+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = { _q_value = 52}, alloc = 0, size = 0, data = 0x7ffff6b638da QString::shared_empty+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x116f540 QString::shared_null, static codecForCStrings = 0x0}, Title = {static null = {}, static shared_null = {ref = {_q_value = 8007}, alloc = 0, size = 0, data = 0x116f55a QString::shared_null+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 52}, alloc = 0, size = 0, data = 0x7ffff6b638da QString::shared_empty+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x116f540 QString::shared_null, static codecForCStrings = 0x0}, lavf = true, fileType = 0, sharedMemory = , fmnu = 0x1403de0, rmnu = 0x161b1f0, pbmnu = 0x1463020, wget = 0x116cd50, isdownloading = false, isstreaming = false, zoomfact = 0, movie = 0x520d80 , artisttext = {static null = {}, static shared_null = {ref = {_q_value = 8007}, alloc = 0, size = 0, data = 0x116f55a QString::shared_null+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 52}, alloc = 0, size = 0, data = 0x7ffff6b638da QString::shared_empty+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x116f540 QString::shared_null, static codecForCStrings = 0x0}, albumtext = {static null = {}, static shared_null = {ref = {_q_value = 8007}, alloc = 0, size = 0, data = 0x116f55a QString::shared_null+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, ---Type to continue, or q to quit--- reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 52}, alloc = 0, size = 0, data = 0x7ffff6b638da QString::shared_empty+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x116f540 QString::shared_null, static codecForCStrings = 0x0}, yeartext = {static null = {}, static shared_null = {ref = {_q_value = 8007}, alloc = 0, size = 0, data = 0x116f55a QString::shared_null+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 52}, alloc = 0, size = 0, data = 0x7ffff6b638da QString::shared_empty+26, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x116f540 QString::shared_null, static codecForCStrings = 0x0}, labanim = 0x6, mpseekView = 0x1344c00, currentFilePos = 2.577236129915945e-317, fullScreenControls = {o = 0x0}, leftSide = 140737316264740, fullScreenControlWidth = 5, toolButtonForwardAction = 0x139bed0, lcdCurPosFullSc = {o = 0x0}, lcdDurationFullSc = {o = 0x0}, sliderSeekFullSc = {o = 0x0}, sliderVolumeFullSc = {o = 0x0}, advInfoDlg = {o = 0x0}} (gdb) quit A debugging session is active.

    Inferior 1 [process 27526] will be killed.

Quit anyway? (y or n) y

PS Can ffmpeg not be bundled?

DAP-DarkneSS commented 10 years ago

PPS Could you add #include <unistd.h> to qtlocalpeer.cpp to prevent build issue please?

rupeshs commented 10 years ago

Added

rupeshs commented 10 years ago

Added unistd.h

DAP-DarkneSS commented 10 years ago

Hi.

[ 70s] g++ -c -m64 -pipe -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -Isrc -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtDBus -I/usr/include -Isrc/qtsingleapplication -I. -I. -Isrc -I. -o playerwindow.o src/playerwindow.cpp [ 72s] In file included from src/main.cpp:20:0: [ 72s] src/playerwindow.h:64:23: fatal error: languages.h: No such file or directory [ 72s] compilation terminated. [ 72s] make: * [main.o] Error 1 [ 72s] make: * Waiting for unfinished jobs....

You forgot to commit some files ;)

DAP-DarkneSS commented 10 years ago

And what about ffmpeg bundling?