Java, a crap (again? yep!)

Нужен draftsight (2018SP0, модный, бета, все дела). Поставил-активировал-падает. Ну-что-за-оно:
[ilyxa@orca ~]$ draftsight 
ATTENTION: default value of option vblank_mode overridden by environment.
Could not parse stylesheet of object 0x1cf0f40
Could not parse stylesheet of object 0x1cf0f40
free(): invalid pointer
...
[ilyxa@orca ~]$ coredumpctl info 19725
           PID: 19725 (FxCrashRptApp)
           UID: 1000 (ilyxa)
           GID: 1000 (ilyxa)
        Signal: 11 (SEGV)
     Timestamp: Thu 2018-01-11 16:23:27 MSK (35min ago)
  Command Line: /opt/dassault-systemes/DraftSight/Linux/FxCrashRptApp Performance@DraftSight.com DraftSight Crash Report DraftSight 18.0.0.1145 performance.dra
    Executable: /opt/dassault-systemes/DraftSight/Linux/FxCrashRptApp
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (ilyxa)
       Boot ID: b4755a1ec92649ba8d2c6bd8b480281e
    Machine ID: dfbec106fe884096b4277da003dd51df
      Hostname: orca
       Storage: /var/lib/systemd/coredump/core.FxCrashRptApp.1000.b4755a1ec92649ba8d2c6bd8b480281e.19725.1515677007000000.lz4
       Message: Process 19725 (FxCrashRptApp) of user 1000 dumped core.

                Stack trace of thread 19744:
                #0  0x00007fc179daf019 n/a (n/a)

Ладно:

gdb /opt/dassault-systemes/DraftSight/Linux/DraftSight
...
(gdb) run
Starting program: /opt/dassault-systemes/DraftSight/Linux/DraftSight 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe5f5d700 (LWP 24285)]
[Thread 0x7fffe5f5d700 (LWP 24285) exited]
[New Thread 0x7fffdffff700 (LWP 24286)]
[New Thread 0x7fffdba8e700 (LWP 24287)]
Could not parse stylesheet of object 0x1be4350
Could not parse stylesheet of object 0x1be4350
[New Thread 0x7fffc8f03700 (LWP 24291)]
[New Thread 0x7fff885fe700 (LWP 24292)]
[New Thread 0x7fff87dfd700 (LWP 24293)]
[New Thread 0x7fff875fc700 (LWP 24294)]
[New Thread 0x7fff86dfb700 (LWP 24295)]
[New Thread 0x7fff85a8b700 (LWP 24296)]
[Thread 0x7fff85a8b700 (LWP 24296) exited]
[New Thread 0x7fff85a8b700 (LWP 24300)]
[New Thread 0x7fff8528a700 (LWP 24301)]
[New Thread 0x7fff6fa7d700 (LWP 24302)]
[New Thread 0x7fff6f27c700 (LWP 24303)]
[New Thread 0x7fff6ea7b700 (LWP 24304)]
[New Thread 0x7fff6e27a700 (LWP 24305)]
free(): invalid pointer

Thread 1 "DraftSight" received signal SIGABRT, Aborted.
0x00007ffff0066860 in raise () from /usr/lib/libc.so.6
(gdb) backtrace full
#0  0x00007ffff0066860 in raise () at /usr/lib/libc.so.6
#1  0x00007ffff0067ec9 in abort () at /usr/lib/libc.so.6
#2  0x00007ffff00a9437 in __libc_message () at /usr/lib/libc.so.6
#3  0x00007ffff00af78b in  () at /usr/lib/libc.so.6
#4  0x00007ffff00b124c in _int_free () at /usr/lib/libc.so.6
#5  0x00007fff6cc78282 in std::locale::_Impl::_M_install_facet(std::locale::id const*, std::locale::facet const*) ()
    at /usr/lib/jvm/java-9-jre/jre/lib/libdeploy.so
#6  0x00007fff6cc84de3 in std::locale::_Impl::_Impl(unsigned long) () at /usr/lib/jvm/java-9-jre/jre/lib/libdeploy.so
#7  0x00007fff6cc85d55 in std::locale::_S_initialize_once() () at /usr/lib/jvm/java-9-jre/jre/lib/libdeploy.so
#8  0x00007ffff0ce1dcf in __pthread_once_slow () at /usr/lib/libpthread.so.0
#9  0x00007fff6cc85da1 in std::locale::_S_initialize() () at /usr/lib/jvm/java-9-jre/jre/lib/libdeploy.so
#10 0x00007fff6cc85de3 in std::locale::locale() () at /usr/lib/jvm/java-9-jre/jre/lib/libdeploy.so
#11 0x00007fff6cc576a4 in std::ios_base::Init::Init() () at /usr/lib/jvm/java-9-jre/jre/lib/libdeploy.so
#12 0x00007fff6cc4f7b8 in  () at /usr/lib/jvm/java-9-jre/jre/lib/libdeploy.so
#13 0x00007fff6cc4f7ea in  () at /usr/lib/jvm/java-9-jre/jre/lib/libdeploy.so
#14 0x00007ffff7de74fa in call_init.part () at /lib64/ld-linux-x86-64.so.2
#15 0x00007ffff7de7606 in _dl_init () at /lib64/ld-linux-x86-64.so.2
#16 0x00007ffff7debade in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#17 0x00007ffff0163b04 in _dl_catch_error () at /usr/lib/libc.so.6
#18 0x00007ffff7deb2fa in _dl_open () at /lib64/ld-linux-x86-64.so.2
#19 0x00007ffff2874e86 in  () at /usr/lib/libdl.so.2
#20 0x00007ffff0163b04 in _dl_catch_error () at /usr/lib/libc.so.6
#21 0x00007ffff2875587 in  () at /usr/lib/libdl.so.2
#22 0x00007ffff2874f22 in dlopen () at /usr/lib/libdl.so.2
#23 0x00007ffff1180610 in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5Core.so.5
#24 0x00007ffff11794db in QLibrary::load() () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5Core.so.5
#25 0x00007fffd8e698b4 in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#26 0x00007fffd8d93086 in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#27 0x00007fffd8d914d8 in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#28 0x00007fffd8d91d0d in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#29 0x00007fffd891c44c in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#30 0x00007fffd8ce52ee in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#31 0x00007fffd8cca930 in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#32 0x00007fffd8ce56c9 in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#33 0x00007fffd933b68d in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#34 0x00007fffd8e88ef4 in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#35 0x00007fffd9a87b24 in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#36 0x00007fffd9d4aacc in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#37 0x00007fffd9d548e5 in  () at /opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5WebKit.so.5
#38 0x00007fffffffab30 in  ()
#39 0x00007fffc865c000 in  ()
#40 0x0000000000000000 in  ()

Это нам уже знакомо 🙁

yaourt -Rnsc jre

Собственно, и все. Вопрос “зачем они так делают при сборке пакетов?!” я даже задавать не хочу. И при каких тут делах Oracle JRE…

PS: Вот здесь немного зуда по теме

Leave a Reply