Opened 12 years ago

Last modified 7 years ago

#605 closed defect (Fixed)

unit tests problem on open/net bsd

Reported by: arma Owned by:
Priority: Low Milestone: post 0.2.0.x
Component: Core Tor/Tor Version: 0.2.0.18-alpha
Severity: Keywords:
Cc: arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Running Tor unit tests on OpenBSD i386

============================== buffers
..................................................................................................................................................................................................................................................................................................................................................................................................................................
============================== crypto
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
============================== util
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
============================== onion_handshake
.....
============================== dir_format
.....................................test: (0xcf7f7c2c)
test in free(): error: ifree: junk pointer, too high to make sense
Abort trap (core dumped)

(gdb) bt
#0 0x0ca54a25 in kill () from /usr/lib/libc.so.39.3
#1 0x0ca8d353 in abort () at /usr/src/lib/libc/stdlib/abort.c:65
#2 0x0ca746d9 in wrterror (p=0x2ca23400 "ifree: junk pointer, too high to make sense")

at /usr/src/lib/libc/stdlib/malloc.c:434

#3 0x0ca7479b in wrtwarning (p=0x2ca23400 "ifree: junk pointer, too high to make sense")

at /usr/src/lib/libc/stdlib/malloc.c:444

#4 0x0ca7572e in ifree (ptr=0xcf7f7c2c) at /usr/src/lib/libc/stdlib/malloc.c:1750
#5 0x0ca75961 in free (ptr=0xcf7f7c2c) at /usr/src/lib/libc/stdlib/malloc.c:1838
#6 0x1c055781 in addr_policy_free (p=0xcf7f7c2c) at policies.c:899
#7 0x1c0556be in addr_policy_list_free (lst=0x83c385f0) at policies.c:881
#8 0x1c06b0d7 in routerinfo_free (router=0x80cfd300) at routerlist.c:2145
#9 0x1c08f85b in test_dir_format () at test.c:2358
#10 0x1c097ed7 in main (c=1006961088, v=0xcf7fbe7c) at test.c:3599

This is why r13450 is there. We should fix it better, sometime, too.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (3)

comment:1 Changed 12 years ago by arma

tup says r13453 resolves this.

comment:2 Changed 12 years ago by arma

flyspray2trac: bug closed.

comment:3 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.