I tried the commands above, first using the proxy's domain name, then with it's 
IP address but I still get the same error.
"ERROR: connecting to Launchpad failed: [Errno 110] Connection timed out"

Running "env | grep proxy" shows the proxy is set correctly.

Looking at the other proxy's logs, it doesn't even look like it's trying
to use the proxy.

Back to the actual crash bug...
I decided to install the debug symbols for libtdb and it looks like the signal 
handler gets called in "__memmove_sse2".
Stack trace is posted below.

I also managed to get Winbind running under Valgrind but it didn't crash
for the 2 days that I had it running. I'll attach the valgrind log to
this post anyway in ccase there's any useful info in it.

I've also setup another proxy server on the same ESXi host using Ubuntu
12.10. Settings are more or less identical to the 12.04 proxy, only
thing that's different are the package versions. So far it hasn't had
any problems at all.

--------------------------------
libtdb-dbg stack trace:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f4a2c6b443e in __libc_waitpid (pid=<optimised out>, 
stat_loc=0x7fff25d00030, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32
#0  0x00007f4a2c6b443e in __libc_waitpid (pid=<optimised out>, 
stat_loc=0x7fff25d00030, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32
#1  0x00007f4a2c63a29e in do_system (line=0x7f4a311f5110 
"/usr/share/samba/panic-action 12134") at ../sysdeps/posix/system.c:149
#2  0x00007f4a2f1b546c in smb_panic (why=<optimised out>) at lib/util.c:1123
#3  0x00007f4a2f1a6708 in fault_report (sig=7) at lib/fault.c:53
#4  sig_fault (sig=7) at lib/fault.c:76
#5  <signal handler called>
#6  __memmove_sse2 (dest=0x7fff25d0062c, src=<optimised out>, len=<optimised 
out>) at ../string/memmove.c:82
#7  0x00007f4a2cde0042 in tdb_read (tdb=0x7f4a311d0480, off=1339388, 
buf=0x7fff25d0062c, len=4, cv=0) at 
/usr/include/x86_64-linux-gnu/bits/string3.h:52
#8  0x00007f4a2cde1bc4 in transaction_read (tdb=0x7f4a311d0480, off=1339388, 
buf=0x7fff25d0062c, len=4, cv=0) at ../common/transaction.c:176
#9  0x00007f4a2cddf664 in tdb_free (tdb=0x7f4a311d0480, offset=1339392, 
rec=0x7fff25d00650) at ../common/freelist.c:148
#10 0x00007f4a2cde03db in tdb_expand (tdb=0x7f4a311d0480, size=335872) at 
../common/io.c:360
#11 0x00007f4a2cddf9d9 in tdb_allocate (tdb=0x7f4a311d0480, length=104, 
rec=0x7fff25d00740) at ../common/freelist.c:358
#12 0x00007f4a2cddca5c in _tdb_store (tdb=0x7f4a311d0480, key=..., dbuf=..., 
flag=0, hash=610244803) at ../common/tdb.c:561
#13 0x00007f4a2cddcd07 in tdb_store (tdb=0x7f4a311d0480, key=..., dbuf=..., 
flag=<optimised out>) at ../common/tdb.c:618
#14 0x00007f4a2f1c35ba in stabilize_fn (tdb=<optimised out>, key=..., val=..., 
priv=0x7fff25d009b0) at lib/gencache.c:561
#15 0x00007f4a2cddd7bc in tdb_traverse_internal (tdb=0x7f4a311d0780, 
fn=0x7f4a2f1c3480 <stabilize_fn>, private_data=0x7fff25d009b0, 
tl=0x7fff25d00930) at ../common/traverse.c:190
#16 0x00007f4a2cddd9d6 in tdb_traverse (tdb=0x7f4a311d0780, fn=0x7f4a2f1c3480 
<stabilize_fn>, private_data=0x7fff25d009b0) at ../common/traverse.c:260
#17 0x00007f4a2f1c382c in gencache_stabilize () at lib/gencache.c:494 
#18 gencache_stabilize () at lib/gencache.c:457
#19 0x00007f4a2f1c3d12 in gencache_set_data_blob (keystr=<optimised out>, 
blob=<optimised out>, timeout=1361184829) at lib/gencache.c:202
#20 0x00007f4a2f1c3ee3 in gencache_set (keystr=0x7fff25d00bc0 "IDMAP/SID2GID 
/S-1-5-21-1152652908-1908898795-1555891258-10921", value=0x7fff25d00cc0 
"20921", timeout=1361184829) at lib/gencache.c:641
#21 0x00007f4a2f1e2437 in idmap_cache_set_sid2gid (sid=0x7f4a31203ed0, 
gid=20921) at lib/idmap_cache.c:247
#22 0x00007f4a2f4a0af9 in idmap_sid_to_gid (domname=<optimised out>, 
sid=0x7f4a31203ed0, gid=0x7fff25d00e5c) at winbindd/idmap_util.c:290
#23 0x00007f4a2f1092b7 in _wbint_Sid2Gid (p=<optimised out>, r=0x7f4a3122fd90) 
at winbindd/winbindd_dual_srv.c:130
#24 0x00007f4a2f115454 in api_wbint_Sid2Gid (p=0x7fff25d00eb0) at 
librpc/gen_ndr/srv_wbint.c:476
#25 0x00007f4a2f108f6c in winbindd_dual_ndrcmd (domain=<optimised out>, 
state=0x7fff25d01020) at winbindd/winbindd_dual_ndr.c:322
#26 0x00007f4a2f107cb4 in child_process_request (state=0x7fff25d01020, 
child=<optimised out>) at winbindd/winbindd_dual.c:440
#27 fork_domain_child (child=0x7f4a2f981680) at winbindd/winbindd_dual.c:1554
#28 0x00007f4a2f108765 in wb_child_request_trigger (req=0x7f4a31231bb0, 
private_data=<optimised out>) at winbindd/winbindd_dual.c:145
#29 0x00007f4a2f1c6d32 in tevent_common_loop_immediate (ev=0x7f4a311c2c70) at 
../lib/tevent/tevent_immediate.c:135
#30 0x00007f4a2f1c4e28 in run_events_poll (ev=0x7f4a311c2c70, pollrtn=0, 
pfds=0x0, num_pfds=0) at lib/events.c:198
#31 0x00007f4a2f1c5246 in s3_event_loop_once (ev=0x7f4a311c2c70, 
location=<optimised out>) at lib/events.c:331
#32 0x00007f4a2f1c5e50 in _tevent_loop_once (ev=0x7f4a311c2c70, 
location=0x7f4a2f525f01 "winbindd/winbindd.c:1439") at 
../lib/tevent/tevent.c:494
#33 0x00007f4a2f0dea3b in main (argc=<optimised out>, argv=<optimised out>, 
envp=<optimised out>) at winbindd/winbindd.c:1439
A debugging session is active.


** Attachment added: "Valgrind log file"
   
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1100787/+attachment/3526364/+files/valgrind-log-winbind.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1100787

Title:
  Samba 3.6.3 segfault or panic.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1100787/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to