Re: [Cppcms-users] Advice on debugging file upload
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-05-02 02:00:37
|
Hi Artyom, Ive recompiled booster with your patch, but im still not getting a trace when cppcms/cppdb throws - such as 2012-05-02 11:52:57; cppcms, error: Caught exception [cppdb::invalid_column attempt access to invalid column] (http_context.cpp:139 I would have assumed that it will show me trace so I can find out which line tries to access the invalid column. > g++ -dynamic -O0 lib/backtrace/test/test_backtrace.cpp -L/usr/local/lib -lbooster -I/usr/local/include > ./a.out My Error 0x403270: booster::runtime_error::runtime_error(std::string const&) + 0x30 in /usr/home/petr/Downloads/cppcms-1.0.0/booster/a.out 0x401cf2: _init + 0x60a in /usr/home/petr/Downloads/cppcms-1.0.0/booster/a.out 0x401da9: _init + 0x6c1 in /usr/home/petr/Downloads/cppcms-1.0.0/booster/a.out 0x401dbe: _init + 0x6d6 in /usr/home/petr/Downloads/cppcms-1.0.0/booster/a.out 0x4019fe: _init + 0x316 in /usr/home/petr/Downloads/cppcms-1.0.0/booster/a.out Petr |