Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #5449

Closed (moved)
(moved)
Open
Created Mar 22, 2012 by Sebastian Hahn@sebastian

SIGABRT during unit tests

Looks like the additional tests introduced in dbd170f752b422004835def53f84b786f32c9a08 cause a sigabrt during the util/sscanf unit test on my OS X 10.7 machine:


(gdb) run --debug util/sscanf
`/tor/src/test/test' has changed; re-reading symbols.
Starting program: /tor/src/test/test --debug util/sscanf
[info] crypto_global_init(): NOT using OpenSSL engine support.
[notice] No AES engine found; using AES_* functions.
[notice] This OpenSSL has a good implementation of counter mode; using it.
[info] crypto_seed_rng(): Seeding RNG from "/dev/urandom"
[debug] tor_disable_debugger_attach(): Attemping to disable debugger attachment to Tor for unprivileged users.
[debug] parse_dir_server_line(): Trusted 100 dirserver at 128.31.0.39:9131 (9695)
[debug] parse_dir_server_line(): Trusted 111 dirserver at 86.59.21.38:80 (847B)
[debug] parse_dir_server_line(): Trusted 102 dirserver at 194.109.206.212:80 (7EA6)
[debug] parse_dir_server_line(): Trusted 16 dirserver at 82.94.251.203:80 (4A0C)
[debug] parse_dir_server_line(): Trusted 100 dirserver at 216.224.124.114:9030 (F397)
[debug] parse_dir_server_line(): Trusted 100 dirserver at 212.112.245.170:80 (F204)
[debug] parse_dir_server_line(): Trusted 100 dirserver at 193.23.244.244:80 (7BE6)
[debug] parse_dir_server_line(): Trusted 100 dirserver at 208.83.223.34:443 (0AD3)
[debug] parse_dir_server_line(): Trusted 100 dirserver at 171.25.193.9:443 (BD6A)
[info] crypto_seed_rng(): Seeding RNG from "/dev/urandom"
util/sscanf: 
Program received signal SIGABRT, Aborted.
0x00007fff88e4e82a in __kill ()
(gdb) bt
#0  0x00007fff88e4e82a in __kill ()
#1  0x00007fff8ab69b6c in __abort ()
#2  0x00007fff8ab66070 in __stack_chk_fail ()
#3  0x0000000100059e15 in test_util_sscanf () at test_util.c:1500
#4  0x0000000100071712 in testcase_run_bare_ [inlined] () at /tor/src/test/tinytest.c:89
#5  0x0000000100071712 in testcase_run_one (group=0x1001bbcf0, testcase=0x6) at tinytest.c:224
#6  0x00000001000719e2 in tinytest_main (c=1606416624, v=0x7fff5fbff988, groups=0x1001bbcf0) at tinytest.c:347
#7  0x000000010000dc6c in main (c=0, v=0x7fff5fbff960) at test.c:1929
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking