https://bugs.winehq.org/show_bug.cgi?id=54528
Bug ID: 54528 Summary: error in lanchung Shamela Product: Wine Version: 8.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dz.wbdev@gmail.com Distribution: ---
Created attachment 74068 --> https://bugs.winehq.org/attachment.cgi?id=74068 error log
I'm trying to launch the Shamela (المكتبة الشاملة) application in Linux Mint 21.1 Cinnamon -which is a library for ebooks that use elastic search- using Wine version 8, i get the error attached with the topic.
this is the link to download the program: https://shamela.ws/page/download
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #1 from ardv dz.wbdev@gmail.com --- this is the link to download the program: https://dev.shamela.ws/downloads/windows/shamela_empty1443.605.zip
https://bugs.winehq.org/show_bug.cgi?id=54528
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr --- At first, yu will have to fix your setup
err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
https://bugs.winehq.org/show_bug.cgi?id=54528
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://dev.shamela.ws/down | |loads/windows/shamela_empty | |1443.605.zip Keywords| |download Summary|error in lanchung Shamela |Shamela doesn't run
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #3 from ardv dz.wbdev@gmail.com --- after installing "libgl1-mesa-glx": sudo apt-get install --reinstall libgl1-mesa-glx sudo apt-get install lib32z1 export WINEDEBUG=+loaddll,+module the first errors disappeared: 01a4:err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
----- and then i get this: 01a4:err:vulkan:wine_vk_init Failed to load libvulkan.so.1.
i did this: sudo add-apt-repository ppa:kisak/kisak-mesa sudo dpkg --add-architecture i386 sudo apt update
i've installed mesa-vulkan-drivers from synaptic manager and then: sudo apt install mesa-vulkan-drivers:i386
so the problem diappears. and a get a dialog box: program error the program cmd.exe has encountred a serious problem and nneds to close when i click show details this is what i get: new error . files attached
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #4 from ardv dz.wbdev@gmail.com --- Created attachment 74070 --> https://bugs.winehq.org/attachment.cgi?id=74070 latest error log
latest error log
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #5 from joaopa jeremielapuree@yahoo.fr --- You have to install the 32 bits version of the package. This is not a user forum here. Please open a ticket in the user forum to know how to use wine.
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #6 from joaopa jeremielapuree@yahoo.fr --- AH sorry. Misread your latest post. Bug is relevant now.
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #7 from joaopa jeremielapuree@yahoo.fr --- Usually, backtrace is not enough. Please attach the full console output.
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #8 from ardv dz.wbdev@gmail.com --- the file: " latest error log " that i've attached has the full error log i get from cmd after executing the file>
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #9 from joaopa jeremielapuree@yahoo.fr --- copy the whole content of your terminal.
COnsole outoupt must begin with:
$ wine nameofappli.exe
and tons of wine message....
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #10 from ardv dz.wbdev@gmail.com --- Created attachment 74071 --> https://bugs.winehq.org/attachment.cgi?id=74071 terminal log
terminal log
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #11 from ardv dz.wbdev@gmail.com --- i have putted the console log in the attachment and the "error log" have the error log that appears in the dialog box
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #12 from joaopa jeremielapuree@yahoo.fr --- Don't use wine as root user. Use normal user. So give a try with normal user.
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #13 from ardv dz.wbdev@gmail.com --- Created attachment 74073 --> https://bugs.winehq.org/attachment.cgi?id=74073 normal user
normal user
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #14 from ardv dz.wbdev@gmail.com --- attached the logs with normal user now the dialog box of cmd error does not appear
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #15 from joaopa jeremielapuree@yahoo.fr --- Did you try in a fresh wineprefix? Reusing a prefix used with root user is a mess sometimes.
So as a normal user 1) remove your wine prefix, 2) install your app in a fresh wineprefix 3) cd in the folder where you insstalles your appli 4) launch your app with wine if there is backtrace please attach here the full console output with the backtrace 5) if there is no backtrace, use winedbg ( https://wiki.winehq.org/Winedbg )
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #16 from ardv dz.wbdev@gmail.com --- Created attachment 74076 --> https://bugs.winehq.org/attachment.cgi?id=74076 backtrace
backtrace
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #17 from ardv dz.wbdev@gmail.com --- I did this:
1) remove wine prefix, 2) install the app in a fresh wineprefix 3) cd in the folder the app is installed 4) launch the app with wine 5) backtrace attached
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #18 from joaopa jeremielapuree@yahoo.fr --- As already said, backtrace alone is pretty useless. Attach both the console output and the backtrace.
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #19 from ardv dz.wbdev@gmail.com --- Created attachment 74077 --> https://bugs.winehq.org/attachment.cgi?id=74077 console
console
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #20 from ardv dz.wbdev@gmail.com --- Created attachment 74097 --> https://bugs.winehq.org/attachment.cgi?id=74097 lancher backtrace
lancher backtrace
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #21 from ardv dz.wbdev@gmail.com --- Created attachment 74098 --> https://bugs.winehq.org/attachment.cgi?id=74098 lancher terminal
lancher terminal
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #22 from ardv dz.wbdev@gmail.com --- the program can be lanuced from shamela.exe or from launcher.exe i've attached the error log and the backtrace of launcher.exe i hope that you can help
https://bugs.winehq.org/show_bug.cgi?id=54528
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@gmail.com
--- Comment #23 from Eric Pouech eric.pouech@gmail.com --- Created attachment 74102 --> https://bugs.winehq.org/attachment.cgi?id=74102 wild guess patch
this is a wild guess for addressing the problem (still missing lots of deps to run the target .exe locally). (from the backtrace, it's either an overflow of batch command variable buffer, or a detection of end of loop conditions which is not detected)
if the attached patch doesn't work, would you mind attaching the 'log' file gotten from running $ WINEDEBUG=+cmd ./wine shemala.exe >& log
TIA
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #24 from ardv dz.wbdev@gmail.com --- thank you for your assistance but how to use that patch you've attached?
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #25 from ardv dz.wbdev@gmail.com --- Created attachment 74123 --> https://bugs.winehq.org/attachment.cgi?id=74123 shamela.exe log
shamela.exe log
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #26 from ardv dz.wbdev@gmail.com --- Created attachment 74124 --> https://bugs.winehq.org/attachment.cgi?id=74124 launcher.exe log
launcher.exe log
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #27 from ardv dz.wbdev@gmail.com --- i've attached the logs WINEDEBUG=+cmd wine shamela.exe >& log WINEDEBUG=+cmd wine launcher.exe >& log
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #28 from ardv dz.wbdev@gmail.com --- i've copied the patch in a new ile an run it as a command but seems nothing changes same errors
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #29 from Austin English austinenglish@gmail.com --- (In reply to ardv from comment #28)
i've copied the patch in a new ile an run it as a command but seems nothing changes same errors
https://wiki.winehq.org/Patching
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #30 from ardv dz.wbdev@gmail.com --- (In reply to Austin English from comment #29)
(In reply to ardv from comment #28)
i've copied the patch in a new ile an run it as a command but seems nothing changes same errors
I've putted the patch.diff in the home directory -i think that is the top level directory of git- than i opened a terminal in that dir: git apply patch.diff i get this error: error: programs/cmd/builtins.c: No such file or directory
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #31 from Austin English austinenglish@gmail.com --- (In reply to ardv from comment #30)
(In reply to Austin English from comment #29)
(In reply to ardv from comment #28)
i've copied the patch in a new ile an run it as a command but seems nothing changes same errors
I've putted the patch.diff in the home directory -i think that is the top level directory of git- than i opened a terminal in that dir: git apply patch.diff i get this error: error: programs/cmd/builtins.c: No such file or directory
Sounds like you don't have the wine source code checked out, you need to do a git clone first, before you can apply the patch.
If you need help with that, please ask on https://forum.winehq.org/. Bugzilla is for bug reports, not support requests.
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #32 from Eric Pouech eric.pouech@gmail.com --- (In reply to ardv from comment #27)
i've attached the logs WINEDEBUG=+cmd wine shamela.exe >& log WINEDEBUG=+cmd wine launcher.exe >& log
the second command erases what has been written into log by first command please two different log files and attach them TIA
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #33 from Eric Pouech eric.pouech@gmail.com --- (In reply to ardv from comment #26)
Created attachment 74124 [details] launcher.exe log
launcher.exe log
for the launcher issue, it's a dupe of https://bugs.winehq.org/show_bug.cgi?id=51813 for which, unfortunately, we don't have accepted solution at sight
https://bugs.winehq.org/show_bug.cgi?id=54528
ardv dz.wbdev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|8.1 |8.3
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #34 from ardv dz.wbdev@gmail.com --- i have updated wine to 8.3 version, the error changes. now when i run: WINEDEBUG=+cmd wine shamela.exe >& log this is the log i get:
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 Fatal Python error: init_sys_streams: can't initialize sys standard streams OSError: [WinError 6] Invalid handle
Current thread 0x00000024 (most recent call first): wine client error:8c: write: Bad file descriptor wine client error:a8: write: Bad file descriptor wine client error:ec: write: Bad file descriptor
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #35 from ardv dz.wbdev@gmail.com --- Created attachment 74191 --> https://bugs.winehq.org/attachment.cgi?id=74191 cmd log
cmd log
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #36 from ardv dz.wbdev@gmail.com --- i have attached the cmd error log i used script file.txt then exit instead of: >& log which gives error and does not log anything. the log file is too big, it has about 1.4 GB in about 10 minutes and the cmd did not close so i ended the process from process monitor. i hope that you can help
https://bugs.winehq.org/show_bug.cgi?id=54528
--- Comment #37 from ardv dz.wbdev@gmail.com --- the file attached has the first 1000 line of the error log
https://bugs.winehq.org/show_bug.cgi?id=54528
ardv dz.wbdev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #38 from ardv dz.wbdev@gmail.com --- now i'm using wine 8.8 i added cmd from winetricks i've downloaded dot net from the dialog proposing to install it now the software is working well
https://bugs.winehq.org/show_bug.cgi?id=54528
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|RESOLVED |REOPENED CC| |z.figura12@gmail.com Resolution|FIXED |---
--- Comment #39 from Zeb Figura z.figura12@gmail.com --- Glad to hear you got it working, but until it works without overrides, there's still a bug in wine that needs to be fixed.