FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2015
    Location
    Italia
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    winexe crash on fedora 22

    hello everyone,
    I use winexe for many years, on the previous release of Fedora
    installed the package winexe on a new installation of Fedora 22 and I found the following error

    installed:
    winexe.x86_64 1.00-9.1
    # uname -a -r
    Linux localhost.localdomain 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
    ]# rpm -qa |grep samba*
    samba-common-tools-4.2.3-0.fc22.x86_64
    samba-client-libs-4.2.3-0.fc22.x86_64
    samba-common-4.2.3-0.fc22.noarch
    samba-common-libs-4.2.3-0.fc22.x86_64
    samba-client-4.2.3-0.fc22.x86_64
    samba-4.2.3-0.fc22.x86_64
    samba-libs-4.2.3-0.fc22.x86_64


    PANIC: internal error
    BACKTRACE: 18 stack frames:
    #0 winexe(call_backtrace+0x1a) [0x8293da]
    #1 winexe(smb_panic+0x7c) [0x82951c]
    #2 winexe() [0x8297c6]
    #3 /lib64/libc.so.6(+0x34a50) [0x7fc66f7e1a50]
    #4 winexe(hx509_context_free+0xf) [0x785c2f]
    #5 winexe(krb5_free_context+0xc3) [0x7544c3]
    #6 winexe(krb5_init_context+0x83) [0x7547b3]
    #7 winexe(smb_krb5_init_context+0x71) [0x546fd1]
    #8 winexe(cli_credentials_get_krb5_context+0x44) [0x4d4ca4]
    #9 winexe(cli_credentials_set_ccache+0x97) [0x4d5137]
    #10 winexe() [0x4d22e9]
    #11 winexe() [0x844843]
    #12 winexe() [0x84482b]
    #13 winexe(poptGetNextOpt+0x150) [0x8459d0]
    #14 winexe(parse_args+0x503) [0x4863a3]
    #15 winexe(main+0x1e) [0x48565e]
    #16 /lib64/libc.so.6(__libc_start_main+0xf0) [0x7fc66f7cd700]
    #17 winexe() [0x4859b1]
    Annullato (core dump creato)
    any suggestion?
    tnx

  2. #2
    Join Date
    Aug 2011
    Location
    ~
    Posts
    2,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: winexe crash on fedora 22

    I know nothing about winexe (but apparently it is about executing commands from Linux on Windows).
    Does this problem occurs every time you issue a command, also with different parameters?

  3. #3
    Join Date
    Jul 2013
    Location
    usa
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: winexe crash on fedora 22

    I am hitting the same issue here - with an RPM I downloaded. That file is /data2/backups/sw/win32/rsync/winexe-1.00-2.3.x86_64.rpm (dated 2013-06-25).

    I get the same stack trace as OP.

    So I git-cloned winexe from sourceforge.

    During the build, I got errors about missing libs though they were installed - not a good sign. Samba may have changed in incompatible ways - or it could be Samba or Fedora simply changing the packaging for reasons I don't care to dig into...

    I resolved those - using these commands:

    sudo ln -s /usr/lib64/samba/libcli-ldap-samba4.so /usr/lib64/samba/libcli-ldap.so
    sudo ln -s /usr/lib64/samba/libdcerpc-samba4.so /usr/lib64/samba/libdcerpc-samba.so
    sudo ln -s /usr/lib64/samba/liberrors-samba4.so /usr/lib64/samba/liberrors.so

    The build then succeeds but linking fails with this error:

    [11/16] bin2c: build/bin2c build/winexesvc32.exe -> build/winexesvc32_exe.c
    [12/16] c: build/winexesvc32_exe.c -> build/winexesvc32_exe.c.6.o
    [13/16] cprogram: build/winexesvc_launch.c.2.o build/winexesvc_loop.c.2.o -> build/winexesvc64.exe
    [14/16] bin2c: build/bin2c build/winexesvc64.exe -> build/winexesvc64_exe.c
    [15/16] c: build/winexesvc64_exe.c -> build/winexesvc64_exe.c.6.o
    [16/16] cprogram: build/winexe.c.6.o build/svcinstall.c.6.o build/async.c.6.o build/winexesvc32_exe.c.6.o build/winexesvc64_exe.c.6.o -> build/winexe
    /usr/bin/ld: winexe.c.6.o: undefined reference to symbol 'dbghdrclass@@SAMBA_4.2.5'
    /usr/lib64/samba/libsamba-debug-samba4.so: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    Waf: Leaving directory `/usr/local/src/winexe-git/winexe-rpm/BUILD/winexe-1.1/source/build'
    Build failed
    -> task in 'winexe' failed (exit status 1):
    {task 140304006964880: cprogram winexe.c.6.o,svcinstall.c.6.o,async.c.6.o,winexesv c32_exe.c.6.o,winexesvc64_exe.c.6.o -> winexe}
    ['/usr/bin/gcc', '-Wl,-z,relro', '-Wl,-z,now', 'winexe.c.6.o', 'svcinstall.c.6.o', 'async.c.6.o', 'winexesvc32_exe.c.6.o', 'winexesvc64_exe.c.6.o', '-o', '/usr/local/src/winexe-git/winexe-rpm/BUILD/winexe-1.1/source/build/winexe', '-Wl,-rpath,/usr/lib64/samba', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib64/samba', '-L/usr/lib64/samba', '-L/usr/lib64/samba', '-lcli-ldap', '-ldcerpc', '-ldcerpc-samba', '-lerrors', '-lpopt', '-ltalloc', '-lndr-standard', '-lsamba-hostconfig', '-lsamba-credentials', '-lsmbclient-raw', '-ltalloc', '-ldcerpc', '-ldcerpc-binding', '-lndr', '-lsamba-util', '-ltevent', '-ltalloc']
    error: Bad exit status from /var/tmp/rpm-tmp.pithuu (%build)

    The problem, it turns out, is that the Samba debug library has been made private - and Samba is not linked against it anymore. It's pretty much a blocker for software like winexe.

    See "Bug 10962 - Doesn't link with libsamba-debug by default" at https://bugzilla.samba.org/show_bug.cgi?id=10962

    The solution, unfortunately, is to download samba source, and apply a series of patches that are mentioned on a mailing list. Likes to the mailing list messages appear in the above bug report.

    I hacked a bit, removing dependencies on this private library, but keep hitting new issues during linking. I'll try to post issues for winexe, but right now winexe looks to be dead. Open issues on sourceforge seem to be ignored and the software has not been changed for 2 years................

    If I have any success, I'll come back and update this thread.

    (FYI, I'm using winexe with backuppc to back up windows XP. That's the only reason I even need it - to set up shadow copies. It worked great until samba made this change.)

Similar Threads

  1. Crash on Login crash on logout... (Fedora 12)
    By Hairyloon in forum Using Fedora
    Replies: 0
    Last Post: 6th April 2010, 06:24 PM
  2. Crash Boom Bang, impressive crash by Fedora 7
    By Adesso in forum Using Fedora
    Replies: 5
    Last Post: 10th July 2007, 11:04 AM
  3. weird crash: amarok crash jammed external hdd
    By newbie_fin in forum Using Fedora
    Replies: 0
    Last Post: 20th September 2006, 08:39 PM
  4. Replies: 0
    Last Post: 24th August 2005, 08:36 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •