Opened 2 years ago

Last modified 8 months ago

#13159 new bug

Some LibreOffice's unit tests crash in __pthread_key_call_destructors

Reported by: KapiX Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/runtime_loader Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #14234
Has a Patch: no Platform: All


As in title.


Commandline: cppunittester

Report attached.

cppunittester source:

Attachments (3) (6.5 KB) - added by KapiX 2 years ago. (63.5 KB) - added by roiredxsoto 9 months ago.
LibreOffice Debug Log (1.7 MB) - added by diver 8 months ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 2 years ago by KapiX

hrev50794 gcc5h

comment:2 Changed 2 years ago by diver

Component: - GeneralSystem/POSIX

comment:3 Changed 20 months ago by diver

Same with vlc-cache-gen which is used during vlc build.

comment:4 Changed 11 months ago by KapiX

Component: System/POSIXSystem/runtime_loader

I did some debugging during November coding sprint and I found out that __pthread_key_call_destructors tries to call destructors from glib. The issue is that when it's called (at application exit) glib is already unloaded (perhaps it was unloaded earlier) but its destructors were not called when that happened. It looks like runtime_loader issue.

comment:5 Changed 11 months ago by diver

LibreOffice crashes at exit with the same trace. korli fixed similar bug #5271 in hrev35098. korli, could you please take a look?

comment:6 Changed 10 months ago by korli

This bug needs a smaller testcase.

comment:7 Changed 10 months ago by waddlesplash

Blocking: 14234 added

Changed 9 months ago by roiredxsoto

LibreOffice Debug Log

comment:8 Changed 9 months ago by roiredxsoto

Hello everyone,

I just run into the same/similar issue:

  • Launch LibreOffice for the first time after power up pc -> LibreOffice crashes
  • Launch LibreOffice a second, third... Nth time -> LibreOffice starts "fine", can work on the document, crashes on quit

It does not matter which LibreOffice app is started, be it Writer, Calc, Draw...

Thanks a lot. Regards, RR

Changed 8 months ago by diver

Attachment: added

comment:9 Changed 8 months ago by diver

Attached binary reproduces the crash.

comment:10 Changed 8 months ago by diver

vlc-cache-gen binary crashes while processing libfluidsynth and libass vlc plugins. All other plugins are ok.

Note: See TracTickets for help on using tickets.