Unable to save preferences

The place to discuss linux version of MakeMKV
Post Reply
selfie
Posts: 2
Joined: Sat Jul 20, 2013 11:07 pm

Unable to save preferences

Post by selfie » Sat Jul 20, 2013 11:16 pm

I get a seg fault every time I try to save my preference.

This happens on Fedora 17, 18 and 19 with versions 1.7.4, 1.8.3 and 1.8.4.

Whilst I would love to have a fix for this, if anyone can tell me how to manually set up the min title length that would make me happy.

Back trace from the sigsev is as follows.

#0 0x0000000000419b13 in ?? ()
#1 0x000000000041b90e in ?? ()
#2 0x000000000041c22b in ?? ()
#3 0x000000375bb8dadc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#4 0x000000375c80dcb2 in QAbstractButton::clicked(bool) () from /lib64/libQtGui.so.4
#5 0x000000375c573b33 in QAbstractButtonPrivate::emitClicked() () from /lib64/libQtGui.so.4
#6 0x000000375c574d33 in QAbstractButtonPrivate::click() () from /lib64/libQtGui.so.4
#7 0x000000375c574e1c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQtGui.so.4
#8 0x000000375c2178be in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#9 0x000000375c1c846c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#10 0x000000375c1ceb6d in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#11 0x000000375bb79f7d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#12 0x000000375c1ce323 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4
#13 0x000000375c23f6bb in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#14 0x000000375c23e12c in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#15 0x000000375c264be4 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#16 0x000000302e447e06 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#17 0x000000302e448158 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#18 0x000000302e4481fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#19 0x000000375bba6cb5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#20 0x000000375c264d56 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#21 0x000000375bb78bdf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#22 0x000000375bb78ed5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#23 0x000000375c667b7c in QDialog::exec() () from /lib64/libQtGui.so.4
#24 0x00000000004161bd in ?? ()
#25 0x000000375bb8dadc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#26 0x000000375c1c2352 in QAction::triggered(bool) () from /lib64/libQtGui.so.4
#27 0x000000375c1c3d23 in QAction::activate(QAction::ActionEvent) () from /lib64/libQtGui.so.4
#28 0x000000375c574cf2 in QAbstractButtonPrivate::click() () from /lib64/libQtGui.so.4
#29 0x000000375c574e1c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQtGui.so.4
#30 0x000000375c62b81a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQtGui.so.4
#31 0x000000375c2178be in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#32 0x000000375c1c846c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#33 0x000000375c1ceb6d in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#34 0x000000375bb79f7d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#35 0x000000375c1ce323 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4
#36 0x000000375c23f6bb in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#37 0x000000375c23e12c in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#38 0x000000375c264be4 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#39 0x000000302e447e06 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#40 0x000000302e448158 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#41 0x000000302e4481fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#42 0x000000375bba6cb5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#43 0x000000375c264d56 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#44 0x000000375bb78bdf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#45 0x000000375bb78ed5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#46 0x000000375bb7dfbb in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#47 0x00000000004105ec in ?? ()
#48 0x000000302b821b75 in __libc_start_main () from /lib64/libc.so.6
#49 0x000000000040e539 in ?? ()

mike admin
Posts: 3900
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Unable to save preferences

Post by mike admin » Wed Jul 24, 2013 12:41 pm

Code: Select all

nano ~/.MakeMKV/settings.conf
add/edit the line

Code: Select all

dvd_MinimumTitleLength = "5"

selfie
Posts: 2
Joined: Sat Jul 20, 2013 11:07 pm

Re: Unable to save preferences

Post by selfie » Wed Jul 24, 2013 8:40 pm

Fabulous, that gets me the workaround I need.

Thanks.

austingrd
Posts: 49
Joined: Wed Jun 05, 2013 7:14 pm

Re: Unable to save preferences

Post by austingrd » Sat Jul 27, 2013 3:01 pm

Thanks for the work around and I can confirm that it's good. Will this be fixed though in the next version release?
Mistakes are learning tools. Image

TheDavii
Posts: 2
Joined: Fri Aug 16, 2013 1:42 am

Re: Unable to save preferences

Post by TheDavii » Fri Aug 16, 2013 1:55 am

I had similar problems (segfault on attempting to save preferences) on Fedora. I thought it was SELinux or any variety of other things.

By any chance, are you using an RPM package that you may have made from someone else's .spec file? I had tried all sorts of things short of compiling directly on my target machine. Same results until I noticed that there were a few files that were not getting placed "correctly" compared to the install from source (on Ubuntu). So I updated an earlier (1.7.9?) .spec file and started with that and updated it for 1.8.4 and it compiles cleanly on both Fedora 18 and 19. rpmlint is also clean.

I can't say my updated .spec is perfect (it was really my first attempt at packaging), but I do not have segfaults any more. I am willing to share it. (Since this is my first post, I don't know the etiquette here. Is it post .spec in a public message or in a PM?)

Post Reply