Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QT5, crash when loading a Qt4 Soundsource / Vamp Plug-In #9324

Closed
mixxxbot opened this issue Aug 23, 2022 · 7 comments
Closed

QT5, crash when loading a Qt4 Soundsource / Vamp Plug-In #9324

mixxxbot opened this issue Aug 23, 2022 · 7 comments

Comments

@mixxxbot
Copy link
Collaborator

Reported by: daschuer
Date: 2018-06-01T13:28:05Z
Status: Fix Released
Importance: Critical
Launchpad Issue: lp1774639
Tags: qt5


Unfortunately changing the API version has no effect, because it crashes during resolving the symbols. I propose to change the installation directory to
"/usr/local/lib/mixxx/plugins/soundsourceqt5"

Program received signal SIGSEGV, Segmentation fault.
QList (this=0x7fffca7fa4f8 <QPrinterInfoPrivate::shared_null+24>)
    at ../../include/QtCore/../../src/corelib/tools/qlist.h:121
121	    { qSwap(d, other.d); return *this; }
(gdb) bt
#0  QList (this=0x7fffca7fa4f8 <QPrinterInfoPrivate::shared_null+24>)
    at ../../include/QtCore/../../src/corelib/tools/qlist.h:121
mixxxdj/mixxx#4910  QPrinterInfoPrivate (name="", 
    this=0x7fffca7fa4e0 <QPrinterInfoPrivate::shared_null>)
    at painting/qprinterinfo_p.h:71
mixxxdj/mixxx#4911  __static_initialization_and_destruction_0 (__initialize_p=1, 
    __priority=65535) at painting/qprinterinfo.cpp:35
mixxxdj/mixxx#4912  _GLOBAL__sub_I_qprinterinfo.cpp(void) () at painting/qprinterinfo.cpp:163
mixxxdj/mixxx#4913  0x00007ffff7dea1da in call_init (l=<optimized out>, argc=argc@entry=1, 
    argv=argv@entry=0x7fffffffdff8, env=env@entry=0x7fffffffe008)
    at dl-init.c:78
mixxxdj/mixxx#4914  0x00007ffff7dea2c3 in call_init (env=<optimized out>, 
    argv=<optimized out>, argc=<optimized out>, l=<optimized out>)
    at dl-init.c:36
mixxxdj/mixxx#4915  _dl_init (main_map=main_map@entry=0x167b450, argc=1, argv=0x7fffffffdff8, 
    env=0x7fffffffe008) at dl-init.c:126
mixxxdj/mixxx#4916  0x00007ffff7deed00 in dl_open_worker (a=a@entry=0x7fffffffd378)
    at dl-open.c:577
mixxxdj/mixxx#4917  0x00007ffff7dea094 in _dl_catch_error (
    objname=objname@entry=0x7fffffffd368, 
    errstring=errstring@entry=0x7fffffffd370, 
    mallocedp=mallocedp@entry=0x7fffffffd360, 
    operate=operate@entry=0x7ffff7deea30 <dl_open_worker>, 
---Type <return> to continue, or q <return> to quit---
    args=args@entry=0x7fffffffd378) at dl-error.c:187
mixxxdj/mixxx#4918  0x00007ffff7dee44b in _dl_open (
    file=0x166fe08 "/usr/local/lib/mixxx/plugins/soundsource/libsoundsourcem4a.so_", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=1, 
    argv=0x7fffffffdff8, env=0x7fffffffe008) at dl-open.c:661
mixxxdj/mixxx#4919 0x00007ffff1b2102b in dlopen_doit (a=a@entry=0x7fffffffd590) at dlopen.c:66
mixxxdj/mixxx#4920 0x00007ffff7dea094 in _dl_catch_error (objname=0x145a320, 
    errstring=0x145a328, mallocedp=0x145a318, 
    operate=0x7ffff1b20fd0 <dlopen_doit>, args=0x7fffffffd590)
    at dl-error.c:187
mixxxdj/mixxx#4921 0x00007ffff1b2162d in _dlerror_run (
    operate=operate@entry=0x7ffff1b20fd0 <dlopen_doit>, 
    args=args@entry=0x7fffffffd590) at dlerror.c:163
mixxxdj/mixxx#4922 0x00007ffff1b210c1 in __dlopen (file=<optimized out>, mode=<optimized out>)
    at dlopen.c:87
mixxxdj/mixxx#4923 0x00007ffff497fe3a in QLibraryPrivate::load_sys (this=0x167ab10)
    at plugin/qlibrary_unix.cpp:230
mixxxdj/mixxx#4924 0x00007ffff497b095 in QLibraryPrivate::load (this=0x167ab10)
    at plugin/qlibrary.cpp:514
mixxxdj/mixxx#4925 0x00007ffff497b2bc in QLibrary::load (this=this@entry=0x16707e0)
    at plugin/qlibrary.cpp:765
mixxxdj/mixxx#4926 0x0000000000bd2ae0 in mixxx::SoundSourcePluginLibrary::init (
    this=0x16707d8) at src/sources/soundsourcepluginlibrary.cpp:46
@mixxxbot
Copy link
Collaborator Author

Commented by: Be-ing
Date: 2018-06-01T19:59:08Z


Why would a user still have the Qt4 plugin after upgrading?

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2018-06-01T20:13:41Z


Because we do not distribute for example the m4a plugIn. They may have it from an old build, experience the crash the first time.

@mixxxbot
Copy link
Collaborator Author

Commented by: poelzi
Date: 2018-06-01T23:49:34Z


I had the crash trough vamp which was quite puzzeling. Removing the old installation fixed the problem.

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2018-06-07T19:02:10Z


Related https://bugs.launchpad.net/mixxx/+bug/1711173

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2018-06-07T19:03:07Z


#1698

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2018-11-04T09:10:44Z


This was confirmed in https://bugs.launchpad.net/mixxx/+bug/1711173

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Fix Released.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@mixxxbot mixxxbot added this to the 2.2.0 milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant