After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 574214 - Exception thrown in UString::chomp()
Exception thrown in UString::chomp()
Status: RESOLVED FIXED
Product: nemiver
Classification: Other
Component: general
trunk
Other Linux
: Normal major
: ---
Assigned To: Nemiver maintainers
Nemiver maintainers
Depends on:
Blocks: 573709
 
 
Reported: 2009-03-05 04:07 UTC by Jonathon Jongsma
Modified: 2009-03-10 03:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Switch the order of the compound expression in UString::chomp() (1.22 KB, patch)
2009-03-05 04:45 UTC, Jonathon Jongsma
committed Details | Review

Description Jonathon Jongsma 2009-03-05 04:07:48 UTC
Here's the top of the stack trace from the exception throw.  I was hitting this when listing global variables while sittin gat a breakpoint in main of the program 'gitg'.  I'm investigating.

  • #0 __cxa_throw
    from /usr/lib/libstdc++.so.6
  • #1 std::__throw_out_of_range
    from /usr/lib/libstdc++.so.6
  • #2 Glib::ustring::at
    at /usr/include/c++/4.3/bits/basic_string.h line 742
  • #3 nemiver::common::UString::chomp
    at nmv-ustring.cc line 248
  • #4 nemiver::GDBEngine::extract_global_variable_list
    at nmv-gdb-engine.cc line 3459
  • #5 nemiver::OnGlobalVariablesListedHandler::do_handle
    at nmv-gdb-engine.cc line 1487
  • #6 nemiver::OutputHandlerList::submit_command_and_output
    at nmv-dbg-common.cc line 59
  • #7 nemiver::GDBEngine::on_debugger_stdout_signal
    at nmv-gdb-engine.cc line 2555
  • #8 sigc::bound_mem_functor1<void, nemiver::GDBEngine, nemiver::CommandAndOutput&>::operator()
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h line 1851
  • #9 sigc::adaptor_functor<sigc::bound_mem_functor1<void, nemiver::GDBEngine, nemiver::CommandAndOutput&> >::operator()<nemiver::CommandAndOutput&>
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h line 84
  • #10 sigc::internal::slot_call1<sigc::bound_mem_functor1<void, nemiver::GDBEngine, nemiver::CommandAndOutput&>, void, nemiver::CommandAndOutput&>::call_it
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h line 137
  • #11 sigc::internal::signal_emit1<void, nemiver::CommandAndOutput&, sigc::nil>::emit
    at /usr/include/sigc++-2.0/sigc++/signal.h line 690
  • #12 sigc::signal1<void, nemiver::CommandAndOutput&, sigc::nil>::emit
    at /usr/include/sigc++-2.0/sigc++/signal.h line 1816
  • #13 nemiver::GDBEngine::Priv::on_gdb_stdout_signal
    at nmv-gdb-engine.cc line 349

Comment 1 Jonathon Jongsma 2009-03-05 04:45:56 UTC
Created attachment 130094 [details] [review]
Switch the order of the compound expression in UString::chomp()