sony / flutter-embedded-linux

Embedded Linux embedding for Flutter
BSD 3-Clause "New" or "Revised" License
1.16k stars 123 forks source link

X11 backend crashes when launching #318

Closed HidenoriMatsubayashi closed 1 year ago

HidenoriMatsubayashi commented 1 year ago
gdb) run
Starting program: /home/hidenori/workspace/flutter/flutter-embedded-linux/build/flutter-x11-client -b sample/build/elinux/x64/debug/bundle/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737276299136) at ./nptl/pthread_kill.c:44
44  ./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737276299136) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737276299136) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737276299136, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff373b476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff37217f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff7bca8bf in ?? () from /lib/libflutter_engine.so
#6  0x00007ffff7bca8e1 in std::terminate() () from /lib/libflutter_engine.so
#7  0x00007ffff3ad6518 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00005555556283e6 in commandline::CommandOptions::GetValue<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (this=0x7fffffffdc40, Python Exception <class 'gdb.error'>: There is no member named _M_p.
name=)
    at /home/hidenori/workspace/flutter/flutter-embedded-linux/examples/flutter-x11-client/command_options.h:111
#9  0x00005555556206ca in FlutterEmbedderOptions::Parse (this=0x7fffffffdc40, argc=3, argv=0x7fffffffdea8)
    at /home/hidenori/workspace/flutter/flutter-embedded-linux/examples/flutter-x11-client/flutter_embedder_options.h:59
#10 0x000055555561f1df in main (argc=3, argv=0x7fffffffdea8)
    at /home/hidenori/workspace/flutter/flutter-embedded-linux/examples/flutter-x11-client/main.cc:17