Comment 15 for bug 281188

Revision history for this message
no!chance (ralf-fehlau) wrote :

I have the same problem in hardy (64bit) since 7.5.09. All patches are installed. After installing the debugging symbols, I get this stack trace:

[Thread debugging using libthread_db enabled]
[New Thread 0x7f1873834700 (LWP 26480)]
0x00007f1870a3b4a5 in waitpid () from /lib/libc.so.6
#0 0x00007f1870a3b4a5 in waitpid () from /lib/libc.so.6
#1 0x00007f18709dc461 in ?? () from /lib/libc.so.6
#2 0x0000000000613c7b in smb_panic (why=<value optimized out>)
    at lib/util.c:1639
#3 0x0000000000618cf1 in assert_uid (ruid=4294967295, euid=1024)
    at lib/util_sec.c:102
#4 0x00000000004ba5ae in become_id (uid=1024, gid=1024) at smbd/sec_ctx.c:57
#5 0x00000000004ba726 in pop_sec_ctx () at smbd/sec_ctx.c:345
#6 0x00000000004afef9 in unbecome_root () at smbd/uid.c:400
#7 0x00000000005d36e8 in gid_to_sid (psid=0x7fff7b84b390, gid=1021)
    at passdb/lookup_sid.c:1202
#8 0x00000000004c435a in get_nt_acl (fsp=0xb04a50, security_info=7,
    ppdesc=0x7fff7b84b4c8) at smbd/posix_acls.c:2809
#9 0x000000000046e09e in is_visible_file (conn=0xaaa570,
    dir_path=0xaade40 "./", name=<value optimized out>, pst=0x7fff7b84be90,
    use_veto=1) at smbd/dir.c:897
#10 0x000000000046e620 in dptr_normal_ReadDirName (dptr=0x9ffdf0,
    poffset=0x7fff7b84bf58, pst=0x7fff7b84be90) at smbd/dir.c:562
#11 0x000000000046e694 in dptr_ReadDirName (dptr=0x9ffdf0,
    poffset=0x7fff7b84bf58, pst=0x7fff7b84be90) at smbd/dir.c:642
#12 0x00000000004a54e4 in get_lanman2_dir_entry (conn=0xaaa570,
    inbuf=<value optimized out>, outbuf=0xad0ab0 "",
    path_mask=0x7fff7b84d170 "*", dirtype=22, info_level=260,
    requires_resume_key=4, dont_descend=0, ppdata=0x7fff7b84d140,
    base_data=0xaf0f00 "`", end_data=0xaf6003 "", space_remaining=12700,
    out_of_space=0x7fff7b84d164, got_exact_match=0x7fff7b84d14c,
    last_entry_off=0x7fff7b84d16c, name_list=0x0, ea_ctx=0x0)
    at smbd/trans2.c:1149
#13 0x00000000004a8b13 in call_trans2findfirst (conn=0xaaa570,
    inbuf=0xab0660 "", outbuf=0xad0ab0 "", bufsize=131072, pparams=0x9df8c0,
    total_params=<value optimized out>, ppdata=0x9df8d0, total_data=0,
    max_data_bytes=16644) at smbd/trans2.c:1859
#14 0x00000000004a92ae in handle_trans2 (conn=0xaaa570, state=0x9df770,
    inbuf=0xab0660 "", outbuf=0xad0ab0 "", size=<value optimized out>,
    bufsize=131072) at smbd/trans2.c:6433
#15 0x00000000004afc6a in reply_trans2 (conn=0xaaa570, inbuf=0xab0660 "",
    outbuf=0xad0ab0 "", size=90, bufsize=131072) at smbd/trans2.c:6703
#16 0x00000000004c87ce in switch_message (type=50, inbuf=0xab0660 "",
    outbuf=0xad0ab0 "", size=90, bufsize=131072) at smbd/process.c:1004
#17 0x00000000004c9bc2 in smbd_process () at smbd/process.c:1031
#18 0x00000000006c5fad in main (argc=<value optimized out>,
    argv=0x7fff7b84f0f8) at smbd/server.c:1120
The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]