Bug#949952: tilix does not start on arm64 (maybe libunwind related)

Birger Schacht birger at rantanplan.org
Wed Feb 5 10:34:32 GMT 2020


Hi Bernhard,

thanks for taking a look at this!

On 2/1/20 2:27 AM, Bernhard √úbelacker wrote:
> Hello Birger Schacht,
> I tried to get some more information from this issue.
> 
> To be sure where your tilix aborts you would need to
> install gdb and at least tilix-dbgsym [1] and
> run it this way:
> 
>     gdb -q -ex 'set pagination off' -ex run -ex bt -ex detach -ex quit --args tilix
> 
> Then I guess you see an backtrace like this:

Oke, I did run gdb and what I got was what I've attached as
tilix_gdb.42. I looked at [1] and when I set XDG_CURRENT_DESKTOP to
something, I got the same backtrace you got (tilix_gdb.127). With
TILIX_ID set to something I get tilix_gdb.152

[1] https://sources.debian.org/src/tilix/1.9.3-4/source/app.d/#L42

[...]
> 
> After looking at the source [2] I assume this might not be
> fatal and the program not be aborted.
> 
> You might be able to confirm if this workaround works
> for you too, by starting with this LD_PRELOAD:
> 
>     LD_PRELOAD=/lib/aarch64-linux-gnu/libgcc_s.so.1 tilix

Yes, this works!

> This might be related to exceptions in libunwind.so.8.
> There exists a similar ticket which is also related to
> exception handling with the same workaround [3].

Ah, oke, feel free to merge/reassign!

cheers,
Birger
-------------- next part --------------
Reading symbols from tilix...
Reading symbols from /usr/lib/debug/.build-id/3f/bfebdefceb5e91995f162e69d8c2333e312843.debug...
Starting program: /usr/bin/tilix 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".

Program received signal SIGABRT, Aborted.
0x0000fffff6918b88 in raise () from /lib/aarch64-linux-gnu/libc.so.6
#0  0x0000fffff6918b88 in raise () from /lib/aarch64-linux-gnu/libc.so.6
#1  0x0000fffff6906ea8 in abort () from /lib/aarch64-linux-gnu/libc.so.6
#2  0x0000fffff6b3b544 in _d_throw_exception () from /lib/aarch64-linux-gnu/libdruntime-ldc-shared.so.88
#3  0x0000aaaaaac73528 in _D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZv (line=<optimized out>, msg=..., file=...) at /usr/lib/ldc/aarch64-linux-gnu/include/d/std/exception.d:516
#4  _D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb (value=<optimized out>, msg=..., file=..., line=<optimized out>) at /usr/lib/ldc/aarch64-linux-gnu/include/d/std/exception.d:436
#5  0x0000fffff6e42610 in std.process.environment.opIndex(scope const(char)[]) () from /lib/aarch64-linux-gnu/libphobos2-ldc-shared.so.88
#6  0x0000aaaaaac27f0c in D main (args=...) at app.d:42
Detaching from program: /usr/bin/tilix, process 2093
[Inferior 1 (process 2093) detached]
-------------- next part --------------
Reading symbols from tilix...
Reading symbols from /usr/lib/debug/.build-id/3f/bfebdefceb5e91995f162e69d8c2333e312843.debug...
Starting program: /usr/bin/tilix 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
[New Thread 0xfffff1f5d1b0 (LWP 2290)]
[New Thread 0xfffff175c1b0 (LWP 2291)]
[New Thread 0xfffff0f411b0 (LWP 2292)]
[New Thread 0xffffe3ffe1b0 (LWP 2293)]

Thread 1 "tilix" received signal SIGABRT, Aborted.
0x0000fffff6918b88 in raise () from /lib/aarch64-linux-gnu/libc.so.6
#0  0x0000fffff6918b88 in raise () from /lib/aarch64-linux-gnu/libc.so.6
#1  0x0000fffff6906ea8 in abort () from /lib/aarch64-linux-gnu/libc.so.6
#2  0x0000fffff6b3b544 in _d_throw_exception () from /lib/aarch64-linux-gnu/libdruntime-ldc-shared.so.88
#3  0x0000aaaaaac73528 in _D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZv (line=<optimized out>, msg=..., file=...) at /usr/lib/ldc/aarch64-linux-gnu/include/d/std/exception.d:516
#4  _D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb (value=<optimized out>, msg=..., file=..., line=<optimized out>) at /usr/lib/ldc/aarch64-linux-gnu/include/d/std/exception.d:436
#5  0x0000fffff6e42610 in std.process.environment.opIndex(scope const(char)[]) () from /lib/aarch64-linux-gnu/libphobos2-ldc-shared.so.88
#6  0x0000aaaaaac2874c in D main (args=...) at app.d:127
Detaching from program: /usr/bin/tilix, process 2286
[Inferior 1 (process 2286) detached]
-------------- next part --------------
Reading symbols from tilix...
Reading symbols from /usr/lib/debug/.build-id/3f/bfebdefceb5e91995f162e69d8c2333e312843.debug...
Starting program: /usr/bin/tilix 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
[New Thread 0xfffff1f5d1b0 (LWP 2368)]
[New Thread 0xfffff175c1b0 (LWP 2369)]
[New Thread 0xfffff0f411b0 (LWP 2370)]
[New Thread 0xffffe3ffe1b0 (LWP 2371)]

Thread 1 "tilix" received signal SIGABRT, Aborted.
0x0000fffff6918b88 in raise () from /lib/aarch64-linux-gnu/libc.so.6
#0  0x0000fffff6918b88 in raise () from /lib/aarch64-linux-gnu/libc.so.6
#1  0x0000fffff6906ea8 in abort () from /lib/aarch64-linux-gnu/libc.so.6
#2  0x0000fffff6b3b544 in _d_throw_exception () from /lib/aarch64-linux-gnu/libdruntime-ldc-shared.so.88
#3  0x0000fffff7a2b8b0 in _D3gio8ResourceQj19resourcesLookupDataFAyaEQBp1c5types20GResourceLookupFlagsZC4glib5BytesQg () from /lib/aarch64-linux-gnu/libgtkd-3.so.0
#4  0x0000aaaaaac438a8 in _D2gx3gtk8resource11getResourceFAyaHQeQgZQj (filename=..., variables=...) at resource.d:103
#5  0x0000aaaaaac43a00 in _D2gx3gtk8resource17createCssProviderFAyaHQeQgZCQBr11CssProviderQn (variables=..., filename=...) at resource.d:60
#6  _D2gx3gtk8resource14addCssProviderFAyaEQBlQBlQBk16ProviderPriorityHQBgQBjZCQCs11CssProviderQn (filename=..., priority=gx.gtk.resource.APPLICATION, variables=...) at resource.d:79
#7  0x0000aaaaaacefbac in gx.tilix.application.Tilix.loadResources() (this=0xfffff66de200) at application.d:155
#8  0x0000aaaaaacf19a8 in _D2gx5tilix11application5Tilix12onAppStartupMFC3gio11ApplicationQnZv (this=0xfffff66de200, _param_0=<optimized out>) at application.d:488
#9  0x0000fffff63f79f0 in g_closure_invoke () from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#10 0x0000fffff640c2dc in ?? () from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#11 0x0000fffff6414584 in g_signal_emit_valist () from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#12 0x0000fffff6414b90 in g_signal_emit () from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#13 0x0000fffff653a6cc in g_application_register () from /lib/aarch64-linux-gnu/libgio-2.0.so.0
#14 0x0000fffff653abd8 in ?? () from /lib/aarch64-linux-gnu/libgio-2.0.so.0
#15 0x0000fffff653af04 in g_application_run () from /lib/aarch64-linux-gnu/libgio-2.0.so.0
#16 0x0000aaaaaac28804 in D main (args=...) at app.d:152
Detaching from program: /usr/bin/tilix, process 2364
[Inferior 1 (process 2364) detached]


More information about the pkg-gnome-maintainers mailing list