Tiran

Untitled

Oct 2nd, 2013
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.41 KB | None | 0 0
  1. $ gdb python
  2. GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
  3. Copyright (C) 2013 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "x86_64-linux-gnu".
  9. For bug reporting instructions, please see:
  10. <http://www.gnu.org/software/gdb/bugs/>...
  11. Reading symbols from /usr/bin/python2.7...Reading symbols from /usr/lib/debug/usr/bin/python2.7...done.
  12. done.
  13. (gdb) break socket
  14. Haltepunkt 1 at 0x4170e0
  15. (gdb) run
  16. Starting program: /usr/bin/python2.7
  17. [Thread debugging using libthread_db enabled]
  18. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  19. Python 2.7.4 (default, Apr 19 2013, 18:28:01)
  20. [GCC 4.7.3] on linux2
  21. Type "help", "copyright", "credits" or "license" for more information.
  22. >>> from lxml import etree
  23. >>> etree.LXML_VERSION
  24. (3, 1, 0, 0)
  25. >>> etree.LIBXML_VERSION
  26. (2, 9, 0)
  27. >>> etree.XMLSchema(file="premis.xsd")
  28.  
  29. Breakpoint 1, socket () at ../sysdeps/unix/syscall-template.S:81
  30. 81 ../sysdeps/unix/syscall-template.S: Datei oder Verzeichnis nicht gefunden.
  31. (gdb) bt
  32. #0 socket () at ../sysdeps/unix/syscall-template.S:81
  33. #1 0x00007ffff59b0755 in have_ipv6 () at ../../nanohttp.c:196
  34. #2 0x00007ffff59b0af8 in xmlNanoHTTPConnectHost (host=host@entry=0xb19190 "www.loc.gov", port=80) at ../../nanohttp.c:1057
  35. #3 0x00007ffff59b2069 in xmlNanoHTTPMethodRedir__internal_alias (URL=0xb184c0 "http://www.loc.gov/standards/xlink/xlink.xsd",
  36. method=0x7ffff5a345f0 "GET", input=0x0, contentType=0x0, redir=redir@entry=0x0, headers=0x0, ilen=0)
  37. at ../../nanohttp.c:1385
  38. #4 0x00007ffff59b2403 in xmlNanoHTTPMethod__internal_alias (URL=<optimized out>, method=<optimized out>,
  39. input=<optimized out>, contentType=<optimized out>, headers=<optimized out>, ilen=<optimized out>) at ../../nanohttp.c:1594
  40. #5 0x00007ffff5973137 in __xmlParserInputBufferCreateFilename (URI=0xb184c0 "http://www.loc.gov/standards/xlink/xlink.xsd",
  41. enc=XML_CHAR_ENCODING_NONE) at ../../xmlIO.c:2633
  42. #6 0x00007ffff5947380 in xmlNewInputFromFile__internal_alias (ctxt=ctxt@entry=0xa84990,
  43. filename=filename@entry=0xb184c0 "http://www.loc.gov/standards/xlink/xlink.xsd") at ../../parserInternals.c:1511
  44. #7 0x00007ffff5975605 in xmlDefaultExternalEntityLoader (URL=0xb1bf60 "http://www.loc.gov/standards/xlink/xlink.xsd", ID=0x0,
  45. ctxt=0xa84990) at ../../xmlIO.c:4044
  46. #8 0x00007ffff6133e81 in ?? () from /usr/lib/python2.7/dist-packages/lxml/etree.so
  47. #9 0x00007ffff597546f in xmlLoadExternalEntity__internal_alias (URL=<optimized out>, ID=0x0, ctxt=0xa84990)
  48. at ../../xmlIO.c:4100
  49. #10 0x00007ffff5961c60 in xmlCtxtReadFile__internal_alias (ctxt=0xa84990,
  50. filename=filename@entry=0x9b0811 "http://www.loc.gov/standards/xlink/xlink.xsd", encoding=encoding@entry=0x0,
  51. options=options@entry=2) at ../../parser.c:15396
  52. #11 0x00007ffff59e2f2a in xmlSchemaAddSchemaDoc (pctxt=pctxt@entry=0x959d70, type=type@entry=1,
  53. schemaLocation=0x9b0811 "http://www.loc.gov/standards/xlink/xlink.xsd", schemaDoc=schemaDoc@entry=0x0,
  54. schemaBuffer=schemaBuffer@entry=0x0, schemaBufferLen=schemaBufferLen@entry=0, invokingNode=invokingNode@entry=0xa8fbd0,
  55. sourceTargetNamespace=sourceTargetNamespace@entry=0x9b0640 "info:lc/xmlns/premis-v2",
  56. importNamespace=0x9b0623 "http://www.w3.org/1999/xlink", bucket=bucket@entry=0x7fffffffd6e8) at ../../xmlschemas.c:10547
  57. #12 0x00007ffff59ebb9a in xmlSchemaParseImport (node=0xa8fbd0, schema=0xa84850, pctxt=0x959d70) at ../../xmlschemas.c:10823
  58. #13 xmlSchemaParseSchemaTopLevel (nodes=<optimized out>, schema=<optimized out>, ctxt=<optimized out>)
  59. at ../../xmlschemas.c:9770
  60. #14 xmlSchemaParseNewDocWithContext (pctxt=pctxt@entry=0x959d70, schema=schema@entry=0xa84850, bucket=<optimized out>)
  61. at ../../xmlschemas.c:10142
  62. #15 0x00007ffff59eec21 in xmlSchemaParse__internal_alias (ctxt=0x959d70) at ../../xmlschemas.c:21355
  63. #16 0x00007ffff618f1f4 in ?? () from /usr/lib/python2.7/dist-packages/lxml/etree.so
  64. #17 0x00000000004b1a1e in type_call.25713 (type=0x7ffff63fc420, args=(), kwds={'file': 'premis.xsd'})
  65. at ../Objects/typeobject.c:741
  66. #18 0x000000000047c19d in PyObject_Call (kw={'file': 'premis.xsd'}, arg=<optimized out>, func=<type at remote 0x7ffff63fc420>)
  67. at ../Objects/abstract.c:2529
Advertisement
Add Comment
Please, Sign In to add comment