Bug 714373 - boost::signals::trackable does not work
Summary: boost::signals::trackable does not work
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: x86-64 openSUSE 11.4
: P2 - High : Major with 5 votes (vote)
Target Milestone: ---
Assignee: Philipp Thomas
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 09:46 UTC by Vladimir Nadvornik
Modified: 2021-04-28 22:17 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Nadvornik 2011-08-26 09:46:45 UTC
nadvornik@sphinx2:~> wget http://svn.boost.org/svn/boost/trunk/libs/signals/example/button_click.cpp
nadvornik@sphinx2:~> gcc button_click.cpp -o button_click -lboost_signals
nadvornik@sphinx2:~> ./button_click
OK!
OK!

# "OK!" should be printed just once


This causes hard-to-debug crashes in applications that use this feature.

It seems to be openSUSE specific, see the reports at
https://bugs.launchpad.net/hugin/+bug/718116 starting comment #7
Comment 1 Vladimir Nadvornik 2011-11-19 20:23:55 UTC
Disabling the boost-visit_each.diff patch apparently fixes it.
Comment 2 Vladimir Nadvornik 2011-11-19 20:53:27 UTC
According to the documentation, mixing of long and int types is on purpose.

http://www.boost.org/doc/libs/1_44_0/doc/html/boost/visit_each.html
Comment 3 Forgotten User tAfYx3p_c_ 2012-07-02 09:13:10 UTC
Still valid in 12.1, the proposed solution does indeed work, though requires recompilation of all dependent packages.
Comment 4 Philipp Thomas 2013-08-27 09:50:47 UTC
As this isn't present in 12.3 anymore I'm closing this.
Comment 8 Swamp Workflow Management 2021-04-28 22:17:12 UTC
SUSE-RU-2021:1414-1: An update that solves one vulnerability, contains two features and has 22 fixes is now available.

Category: recommended (important)
Bug References: 1006584,1038083,1076640,1082318,1175886,401964,439805,457699,461372,477603,479659,544958,621140,655747,714373,765443,951902,958150,994378,994381,994382,994383,996917
CVE References: CVE-2008-0171
JIRA References: ECO-3147,SLE-17304
Sources used:
SUSE Linux Enterprise Module for Legacy Software 15-SP2 (src):    boost-legacy-base-1.66.0-1.4.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.