tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: alacritty: possible inputmethod issue?



On Sun, Jun 20, 2021 at 11:22:38AM +0200, Tobias Nygren wrote:
> On Sun, 20 Jun 2021 11:00:28 +0200
> Thomas Klausner <wiz%netbsd.org@localhost> wrote:
> 
> > On Sun, Jun 20, 2021 at 10:52:49AM +0200, Tobias Nygren wrote:
> > > On Sun, 20 Jun 2021 15:50:04 +0900
> > > iquiw <iku.iwasa%gmail.com@localhost> wrote:
> > > 
> > > > I have a workaround fix of the problem and also prepared a sample C
> > > 
> > > Thanks! I went ahead and added the workaround patch to pkgsrc for now.
> > > So people who experienced the problem please try alacritty-0.8.0nb1?
> > > The problem should still be addressed in the base system.
> > 
> > Thank you!
> > 
> > But I get a coredump on startup now:
> > 
> > (gdb) bt
> > #0  pthread_mutex_lock (ptm=0x10) at /disk/6/archive/foreign/src/lib/libpthread/pthread_mutex.c:204
> > #1  0x0000701cd5e6a06d in mtx_lock (mtx=<optimized out>) at /disk/6/archive/foreign/xsrc/external/mit/MesaLib/dist/include/c11/threads_posix.h:223
> > #2  _mesa_HashLockMutex (table=<optimized out>) at /disk/6/archive/foreign/xsrc/external/mit/MesaLib/dist/src/mesa/main/hash.h:131
> > #3  create_shader (ctx=0x701ce4d16880, type=35633) at /disk/6/archive/foreign/xsrc/external/mit/MesaLib/dist/src/mesa/main/shaderapi.c:339
> > #4  0x000000007ad6cf0e in alacritty::gl::CreateShader () at /scratch/x11/alacritty/work/alacritty-0.8.0/target/release/build/alacritty-ea65f179719708c6/out/gl_bindings.rs:1106
> > #5  alacritty::renderer::create_shader () at alacritty/src/renderer/mod.rs:1096
> > #6  0x000000007ac69825 in alacritty::main () at alacritty/src/renderer/mod.rs:981
> 
> Maybe RTLD global binding has unfortunate side effects for pthread.
> 
> I wonder if it would work instead to link the binary explicitly
> with -lX11. Try this patch?

No, then I'm back to the previous error.

thread 'main' panicked at 'Failed to open input method: PotentialInputMethods {
    xmodifiers: None,
    fallbacks: [
        PotentialInputMethod {
            name: "@im=local",
            successful: Some(
                false,
            ),
        },
        PotentialInputMethod {
            name: "@im=",
            successful: Some(
                false,
            ),
        },
    ],
    _xim_servers: Err(
        GetPropertyError(
            TypeMismatch(
                0,
            ),
        ),
    ),
}', /scratch/x11/alacritty/work/vendor/winit-0.24.0/src/platform_impl/linux/x11/mod.rs:134:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

 Thomas


Home | Main Index | Thread Index | Old Index