https://bugs.documentfoundation.org/show_bug.cgi?id=165433

--- Comment #15 from codestation <[email protected]> ---
Same error in Archlinux with poppler 25.02.0

I also get a coredump with xpdfimport when the error happens

#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff74a56d3 in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at pthread_kill.c:89
#2  0x00007ffff744bba0 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3  0x00007ffff7433582 in __GI_abort () at abort.c:73
#4  0x00007ffff7697b2c in __gnu_cxx::__verbose_terminate_handler () at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#5  0x00007ffff76ae3ba in __cxxabiv1::__terminate (handler=<optimized out>) at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#6  0x00007ffff769752a in std::terminate () at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#7  0x00007ffff76ae676 in __cxxabiv1::__cxa_throw (obj=<optimized out>,
tinfo=0x7ffff7876d60 <typeinfo for std::logic_error>, dest=0x7ffff76c5a30
<std::logic_error::~logic_error()>)
    at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
#8  0x00007ffff769b2dd in std::__throw_logic_error (__s=0x5555555620a0
"basic_string: construction from null is not valid") at
/usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/functexcept.cc:70
#9  0x0000555555557549 in std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string<std::allocator<char> > () at
/usr/include/c++/14.2.1/bits/basic_string.h:651
#10 0x000055555555812f in std::make_unique<GlobalParams, char const*&> () at
/usr/include/c++/14.2.1/bits/unique_ptr.h:1077
#11 main (argc=-7792, argv=0xd6da) at
/usr/src/debug/libreoffice-fresh/libreoffice-25.2.0.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:127

Checking the source code changes from poppler 25.02.0 it seems that
GlobalParams doesn't have  a constructor that accepts a nullptr anymore

https://fossies.org/diffs/poppler/25.01.0_vs_25.02.0/poppler/GlobalParams.h-diff.html

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to