GNOME Bugzilla – Bug 508417
crash on listing global variables
Last modified: 2008-02-03 18:34:42 UTC
|E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3308:got empty init declarator list after parsing: 'nemiver::common::LogStream::Priv::get_stream_file_path_private()::s_stream_file_path;' into: 'nemiver::common::LogStream::Priv::get_stream_file_path_private ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3294:declaration parsing failed Segmentation fault (core dumped) Let me know what other logging you'd like me to do.
by the way, this is when I debug agave. When I just debug fooprog, I get the first error, but not the second one, and I don't get a segfault.
I believe you should not be experiencing any crash anymore with nemiver trunk. So I am closing this bug for now. Please re-open it if you still see the crash. Thank you for reporting this.
I just tried it out and I'm getting the following when I try to list global variables. This might be a totally different issue (sorry I didn't have time to look at it closely yet, but I wanted to add it here so I didn't lose it). So I'm reopening the bug for now. If you'd prefer this in a new bug, feel free. |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'guint64 (*g_thread_gettime)(void);' into: 'guint64 ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'static void (*event_callback)(ik_event_t *, inotify_sub *);' into: 'static void ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'static void (*missing_cb)(inotify_sub *);' into: 'static void ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'GSList *(anonymous namespace)::GtkMainConnectionNode::connection_list_;' into: 'GSList ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'Glib::DispatchNotifier::thread_specific_instance_;' into: 'Glib::DispatchNotifier::thread_specific_instance_ ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'BeagleRequest *, GError **);' into: 'BeagleRequest ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'static const char *(*beagle_hit_get_uri)(BeagleHit *);' into: 'static const char ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'BeagleHitsSubtractedResponse *);' into: 'BeagleHitsSubtractedResponse ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'static void (*beagle_query_add_part)(BeagleQuery *, BeagleQueryPart *);' into: 'static void ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'static BeagleQuery *(*beagle_query_new)(void);' into: 'static BeagleQuery ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'static BeagleQueryPartProperty *(*beagle_query_part_property_new)(void);' into: 'static BeagleQueryPartProperty ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'BeagleQueryPartProperty *, BeaglePropertyType);' into: 'BeagleQueryPartProperty ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'BeagleQueryPartLogic);' into: 'BeagleQueryPartLogic ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'static GType (*beagle_request_get_type)(void);' into: 'static GType ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'static TrackerClient *(*tracker_connect)(gboolean);' into: 'static TrackerClient ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'const char *, TrackerArrayReply, gpointer);' into: 'const char ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3327:got empty init declarator list after parsing: 'static guint (*gobject_floating_flag_handler)(GtkObject *, gint);' into: 'static guint ' |E|bool nemiver::GDBEngine::extract_global_variable_list(nemiver::Output&, std::map<nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > >, std::less<nemiver::common::UString>, std::allocator<std::pair<const nemiver::common::UString, std::list<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref>, std::allocator<nemiver::common::SafePtr<nemiver::IDebugger::Variable, nemiver::common::ObjectRef, nemiver::common::ObjectUnref> > > > > >&):nmv-gdb-engine.cc:3313:declaration parsing failed Segmentation fault (core dumped)
I believe I could reproduce. I have commited changeset r724 to svn trunk and I hope it should fix the crash this time.