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
Segmentation fault after OS update #196
Comments
Are you using Wayland after updating to 20.10? |
No, I'm still on Xorg |
Hm... Very strange. Could you try to build Crow manually from scratch and launch in debugger? You need to install QtCreator ( |
Thank you very much for replying. |
Feel free to ask me any questions about it.
No problem, always happy to help :) |
This is the output that comes out in the General Messages section as soon as I load the CMakeLists.txt file (without the need to press F5):
|
CMake cannot find Tesseract library. Let's install the dependencies: |
Thank you.
|
It's okay, could you show me QtCreator screenshot with the segfault? |
QMediaPlayer? Hm... Could you click on |
Thanks. it looks like this is not the application issue. |
I did try to look for qt multimedia packages but they seem to be already installed. Strange, crow translate was perfectly working before the OS update yesterday .
|
Yes. Maybe you missing gstreamer plugins (QMediaPlayer use them internally)? |
I did try to install every single gstreamer plugin package I could find in the repo but they all were already installed. |
Strange... I am using ArchLinux so I have latest versions of all packages. Therefore the problem can't be in library update. I think the problem is either in the system configuration or in the installed packages.
You are welcome :) |
I've noticed an error in Qt5 Configuration Tool. |
Worth a try. Set |
Unfortunately setting QT_QPA_PLATFORMTHEME=qt5ct strangely introduced a lot of visual artifacts but didn't solve the segmentation fault. I just hope that the package updates in the following period will fix the qmediaplayer problem |
Hi, Just upgraded Ubuntu 20.04 to 20.10 and got mostly the same problem in the KDE DE. Crow doesn't even start. I'm attaching the strace.log, not sure if it helpful. Thank you. |
@wokawoka even built the project from source and got the same thing. So, the problem not in the compiled binary. |
@hiddenman, could you install |
Similar behavior at Debian 10 xfce #196 (comment) installed new packages but didn't help Feel free to ask for additional information |
Hi, They are already installed: gstreamer1.0-alsa is already the newest version (1.18.0-2). |
@yura04, I think that this is another issue. Try to run in clean environment: env -i XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR DISPLAY=$DISPLAY crow @hiddenman, strange, at the moment I do not know what this may be connected with :( |
Neither do i :( I even tried to remove the config - didn't help. |
I tried Ubuntu 20.10 and Kubuntu 20.10 live images and Crow works from PPA and from the releases page. |
@yura04, It starts in clean environment, so this means that the issue in your system configuration and not related to the app. To enable icons you need to set either |
If i run it as: |
Btw, this in the dmesg: crow[3376]: segfault at 0 ip 00007f9c5fa8abc5 sp 00007ffc666aa800 error 4 in iHD_drv_video.so[7f9c5f971000+348000] |
@Shatur95 It's definitely related to the gstreamer. For example, when i delete ~/.cache/gstreamer-1.0 and then launch the "crow", it takes some time to regenerate the cache and then it again fails. _ZN12QMediaPlayerC1EP7QObject6QFlagsINS_4FlagEE(0x55f8dcfd5e20, 0, 0, 0x55f8dcfe4b40 <no return ...> Not sure how to debug/configure the gstreamer nowadays. Tried to remove bad/ugly plugins - didn't help. |
@hiddenman, yeah, it's related to the gstreamer that used by |
I even tried to remove all dconf settings - didn't help. Not sure where it stored its settings, so many places nowadays. |
I would create a new user and start copying the settings from the home folder to it. |
Same problem for me. Purged and re-installed it multiple times but no good.
segfault at 0 ip 00007fe38c9b4bc5 sp 00007ffe240f3fd0 error 4 in iHD_drv_video.so[7fe38c89b000+348000] |
@batikanor, the issue with your system configuration. Try to run as a new user. |
@Shatur95 Hi, Still trying to find the root cause. Playing with config files didn't help at all. I tried to copy everything. Found this post: Viber crashes with exactly the same error for this guy:
I always have this:
Not sure how to debug it further. |
@Shatur95 Just found a workaround: LIBVA_DRIVER_NAME=vdpau crow That helps and crow works. These are possible values (from ArchLinux wiki): Intel graphics:
NVIDIA:
ATI/AMD:
|
Nice to hear! But it's really strange that it requires manual intervention after the OS update. |
I confirm that this solution works! with just "crow" via command line I just continue to get:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I believe that the issue can be closed, since nothing can be done from the Crow side. |
Bug description
Yesterday I upgraded my Pop Os installation from 20.04 to 20.10 and, since then, crow refuses to start. Translating with crow from the command line correctly works.
I did try to remove the crow config file and also launch it in a clean environment ( $ env -i XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR DISPLAY=$DISPLAY crow ) as suggested in this old issue #154 but in all cases I still get the same segmentation fault.
Other QT apps regularly work.
Any hint about how to solve this problem? Thank you very much!
Steps to reproduce
Expected behavior
Crow interface runs normally like it always did
Environment
The text was updated successfully, but these errors were encountered: