[Boost-bugs] [Boost C++ Libraries] #11427: Boost serialization error when used with Jarsigner

Subject: [Boost-bugs] [Boost C++ Libraries] #11427: Boost serialization error when used with Jarsigner
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-06-29 10:17:52


#11427: Boost serialization error when used with Jarsigner
------------------------------+---------------------------
 Reporter: bennyboysmith@… | Owner: ramey
     Type: Support Requests | Status: new
Milestone: Boost 1.58.0 | Component: serialization
  Version: Boost 1.58.0 | Severity: Cosmetic
 Keywords: |
------------------------------+---------------------------
 Hello,

 Background:

 I order to automate signing Android APK file files, I have a Gemalto USB
 smart card plugged into a Scientific Linux 6.6 Virtual Machine. I've
 installed Boost (1_58) and the necessary software (Java OpenJDK 1.7.0_79)
 and libraries (pcsc-lite, etc) in order for the VM to recognise and read
 certs from the smart card.

 Even though Jarsigners signs the apk file, it always bombs out with this
 message:

 jarsigner: /usr/local/include/boost/serialization/singleton.hpp:131:
 static T& boost::serialization::singleton<T>::get_instance() [with T =
 boost::archive::detail::oserializer<boost::archive::text_oarchive,
 MiniDriver>]: Assertion `! detail::singleton_wrapper< T >::m_is_destroyed'
 failed.
 Aborted

 This is the code I am running (most basic form):

 jarsigner -verbose -storetype PKCS11 -storepass 123456 $FILENAME Alias

 As mentioned before, the apk is actually signing file and I can verify the
 cert is loaded into the app successfully. However for better error handing
 and logging I need to resolve this boost error.

 Any advice would be greatly appreciated.

 Ben

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11427>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC