← Back to team overview

kernel-packages team mailing list archive

[Bug 1568428] Re: Python Exception <class 'IndexError'> list index out of range


Change to GDB.

It sure would be nice if someone took the time to fix Launchpad and its
broke package search. When looking up GDB, "Too many matches. Please try
to narrow your search" is a useless error message. It would be better to
give someone the damn result.

** Package changed: linux (Ubuntu) => gdb

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Python Exception <class 'IndexError'> list index out of range

Status in gdb:

Bug description:
  I'm attempting to debug a C++ program in a debug configuration under
  GDB. GDB seems to be having some trouble due to Python:

  Catchpoint 1 (exception thrown), 0x00007ffff7b348b0 in __cxa_throw ()
     from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  (gdb) where
  #0  0x00007ffff7b348b0 in __cxa_throw ()
     from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  #1  0x00000000004d71b1 in SignalTestError () at datatest.cpp:67
  Python Exception <class 'IndexError'> list index out of range: 
  #2  0x00000000004d73c0 in GetRequiredDatum (
      data=std::__debug::map with 7 elements, name=0x6fdab7 "KeyFormat")
      at datatest.cpp:80
  Python Exception <class 'IndexError'> list index out of range: 
  #3  0x00000000004d8375 in TestSignatureScheme (
      v=std::__debug::map with 7 elements) at datatest.cpp:244
  #4  0x00000000004dd42f in TestDataFile (
      filename="TestVectors/dsa_rfc6979.txt", overrideParameters=..., 
      totalTests=@0x7fffffffd3a8: 0, failedTests=@0x7fffffffd3ac: 0)
      at datatest.cpp:775
  #5  0x00000000004dda56 in RunTestDataFile (
      filename=0xb732a8 "TestVectors/dsa_rfc6979.txt", overrideParameters=..., 
      thorough=true) at datatest.cpp:824
  #6  0x000000000046a313 in main (argc=3, argv=0x7fffffffdf98) at test.cpp:288


  The program is in a Debug configuration, which means CXXFLAGS="-DDEBUG
  -g3 -O0". In addition, because DEBUG is defined,
  -D_GLIBCXX_CONCEPT_CHECKS and -D_GLIBCXX_DEBUG defined, too. (We test
  under a number of odd configurations, like a debug configuration of
  Glibc and concept checks).

To manage notifications about this bug go to: