GDB debugger and my PYTHON hate eachother

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I get quite often a "weird" error message from an tools using "GDB" internal as debugger etc.

This example is from a C# mono BUG → probably GDB try to get the backtrace from a CORE.

The "core-problem" is that GDB using an **external** python and this "**external** python
seems *not* work together with GDB. I use my own python (not the one from my SuSE linux
distribution) because I also maintain a python extension by my own.

→ just a "basic" rule for everyone using **external** SW. please add a copy of the
**external** SW (including a *working* setup) into your *own* installation because
it makes all the users happy. python is free, seems to be no problem to get your
OWN copy :-)

=================================================================
       External Debugger Dump:
=================================================================
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fe802241540 (most recent call first):


Fatal signal: Aborted
----- Backtrace -----
0x564ff9592a3b ???
0x564ff96bbc6a ???
0x7fe8028b3dbf ???
0x7fe8028b3d2b raise
0x7fe8028b53e4 __GI_abort
0x7fe8031567e2 Py_FatalError
0x7fe803155fef ???
0x7fe80329daa7 _Py_InitializeEx_Private
0x564ff98a03b9 ???
0x564ff96c1a70 ???
0x564ff97aca90 ???
0x564ff97adb7a ???
0x564ff94954ea ???
0x7fe80289e24c __libc_start_main
0x564ff949ebf9 ???
0xffffffffffffffff ???
---------------------
A fatal error internal to GDB has been detected, further
debugging is not possible.  GDB will now terminate.

This is a bug, please report it.  For instructions, see:
<http://bugs.opensuse.org/>.


=================================================================
       Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7f7c93725d2b):0x7f7c93725d1b  d2 4c 89 ce bf 02 00 00 00 b8 0e 00 00 00 0f 05  .L..............
0x7f7c93725d2b  48 8b 8c 24 08 01 00 00 64 48 33 0c 25 28 00 00  H..$....dH3.%(..
0x7f7c93725d3b  00 44 89 c0 75 1d 48 81 c4 10 01 00 00 5b c3 66  .D..u.H......[.f
0x7f7c93725d4b  0f 1f 44 00 00 48 8b 15 19 01 1a 00 f7 d8 64 89  ..D..H........d.

=================================================================
       Managed Stacktrace:
=================================================================
         at <unknown> <0xffffffff>
         at csmkkernel.Mk:MkErrorStack <0x000e6>
         at csmkkernel.MkErrorC:StackFull <0x001a7>
         at csmkkernel.MkExceptionC:.ctor <0x00103>
         at csmkkernel.MkErrorC:Check <0x0008f>
         at csmqmsgque.MqContextC:LinkCreate <0x0008b>
         at csmqmsgque.MqContextC:LinkCreate <0x00077>
         at example.MyServer:Main <0x0006b>
         at <Module>:runtime_invoke_void_object <0x00091>
=================================================================





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux