Re: [Cppcms-users] sessions::format violation data
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@gm...> - 2016-06-19 06:00:32
|
What type of session have you been using?
Note session content is protected with either digital signature or it
is stored on server so it may be either (a) file/db for server side
storage corrupted (b) there is a bug
If you getting this problem please provide the cookie that creates the
issue, if you are using client side storage I also need the keys, for
server side storage the data.
Artyom
On Wed, Jun 1, 2016 at 6:09 PM, CN <cn...@fa...> wrote:
> Hi!
>
> Three browsers made the same requests to the same URL but the third one
> causes the following errors:
>
>
> 2016-06-01 22:37:20; cppcms, error: Caught exception [sessions::format
> violation data]
> 0x7fac3f2edc13:
> cppcms::session_interface::load_data(std::map<std::string,
> cppcms::session_interface::entry, std::less<std::string>,
> std::allocator<std::pair<std::string const,
> cppcms::session_interface::entry> > >&, std::string const&) + 0x653 in
> /usr/local/lib/libcppcms.so.1
> 0x7fac3f2edf8e: cppcms::session_interface::load() + 0x13e in
> /usr/local/lib/libcppcms.so.1
> 0x7fac3f272908:
> cppcms::http::context::dispatch(booster::intrusive_ptr<cppcms::application>
> const&, std::string const&, bool) + 0x188 in
> /usr/local/lib/libcppcms.so.1
> 0x7fac3f27378e:
> cppcms::http::context::dispatch(booster::shared_ptr<cppcms::application_specific_pool>
> const&, booster::shared_ptr<cppcms::http::context> const&, std::string
> const&) + 0x7e in /usr/local/lib/libcppcms.so.1
> 0x7fac3f2756c3: cppcms::impl::thread_pool::worker() + 0xc3 in
> /usr/local/lib/libcppcms.so.1
> 0x7fac3f66a52a: booster_thread_func + 0x1a in
> /usr/local/lib/libbooster.so.0
> 0x7fac3d8f50a4: ??? + 0x3d8f50a4 in
> /lib/x86_64-linux-gnu/libpthread.so.0
> 0x7fac3dbf287d: clone + 0x6d in /lib/x86_64-linux-gnu/libc.so.6
> (http_context.cpp:336)
>
> The first possible cause coming to my mind is that the third browser
> sends cookie to server, and that cookie is either broken or created by
> server with outdated keys.
>
> If my guess is correct, is it possible to stop such exception by
> enclosing the code in question with "try{...}"?
>
> Best Regards,
> CN
>
> --
> http://www.fastmail.com - Send your email first class
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
|