Opened 18 months ago

Last modified 3 weeks ago

#13159 new bug

Some LibreOffice's unit tests crash in __pthread_key_call_destructors

Reported by: Kacper Kasper Owned by: Nobody
Priority: normal Milestone: Unscheduled
Component: System/runtime_loader Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

As in title.

Archive: http://haiku.kacperkasper.pl/repro_editeng_borderline.zip

Commandline: cppunittester libtest_editeng_borderline.so

Report attached.

cppunittester source: https://github.com/KapiX/libreoffice_core/blob/haiku/sal/cppunittester/cppunittester.cxx

Attachments (1)

cppunittester-9704-debug-08-01-2017-03-56-13.report (6.5 KB) - added by Kacper Kasper 18 months ago.

Download all attachments as: .zip

Change History (6)

Changed 18 months ago by Kacper Kasper

comment:1 Changed 18 months ago by Kacper Kasper

hrev50794 gcc5h

comment:2 Changed 15 months ago by diver

Component: - GeneralSystem/POSIX

comment:3 Changed 10 months ago by diver

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

comment:4 Changed 6 weeks ago by Kacper Kasper

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 3 weeks 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?

Note: See TracTickets for help on using tickets.