The Samba-Bugzilla – Attachment 6002 Details for
Bug 7718
net usersidlist crashes on i386
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gdb backtrace
gdb-net.txt (text/plain), 8.84 KB, created by
Chuck Short (mail address dead)
on 2010-10-08 08:04:59 UTC
(
hide
)
Description:
gdb backtrace
Filename:
MIME Type:
Creator:
Chuck Short (mail address dead)
Created:
2010-10-08 08:04:59 UTC
Size:
8.84 KB
patch
obsolete
>GNU gdb (GDB) 7.2-ubuntu >Copyright (C) 2010 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. Type "show copying" >and "show warranty" for details. >This GDB was configured as "i686-linux-gnu". >For bug reporting instructions, please see: ><http://www.gnu.org/software/gdb/bugs/>... >Reading symbols from /usr/bin/net...Reading symbols from /usr/lib/debug/usr/bin/net.samba3...done. >done. >(gdb) handle SIG33 pass nostop noprint >Signal Stop Print Pass to program Description >SIG33 No No Yes Real-time event 33 >(gdb) set pagination 0 >(gdb) run useraid[K[K[Ksidlist >Starting program: /usr/bin/net usersidlist >[Thread debugging using libthread_db enabled] > >Program received signal SIGSEGV, Segmentation fault. >__libc_free (mem=0x2) at malloc.c:3709 >3709 malloc.c: No such file or directory. > in malloc.c >(gdb) backtrace full >#0 __libc_free (mem=0x2) at malloc.c:3709 > ar_ptr = <value optimised out> > p = 0xfffffffa >#1 0xb79a5ffd in free_user_token (c=0xb801d0d8, argc=0, argv=0xb801dc08) at utils/net_rpc.c:4061 >No locals. >#2 net_usersidlist (c=0xb801d0d8, argc=0, argv=0xb801dc08) at utils/net_rpc.c:4597 > num_tokens = 2 > tokens = 0xb8081838 > i = 1 > __FUNCTION__ = "net_usersidlist" >#3 0xb79cf435 in net_run_function (c=0xb801d0d8, argc=1, argv=0xb801dc04, whoami=0xb7e9e126 "net", table=0xb8015020) at utils/net_util.c:582 >No locals. >#4 0xb79947cd in main (argc=2, argv=0xbffff8b4) at utils/net.c:914 > opt = <value optimised out> > i = <value optimised out> > rc = 8 > argc_new = 2 > argv_new = 0xfffffffa > pc = 0xb801da60 > frame = 0xb801d0a0 > c = 0xb801d0d8 > long_options = {{longName = 0xb7ea2cea "help", shortName = 104 'h', argInfo = 0, arg = 0x0, val = 104, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e366 "workgroup", shortName = 119 'w', argInfo = 1, arg = 0xb801d120, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7ea08de "user", shortName = 85 'U', argInfo = 1, arg = 0xb801d0e4, val = 85, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e03b "ipaddress", shortName = 73 'I', argInfo = 1, arg = 0x0, val = 73, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7f14ad0 "port", shortName = 112 'p', argInfo = 2, arg = 0xb801d100, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e045 "myname", shortName = 110 'n', argInfo = 1, arg = 0xb801d0d8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7ea5918 "server", shortName = 83 'S', argInfo = 1, arg = 0xb801d0dc, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7eba49b "encrypt", shortName = 101 'e', argInfo = 0, arg = 0x0, val = 101, descrip = 0xb7e9e5a0 "Encrypt SMB transport (UNIX extended servers only)", argDescrip = 0x0}, {longName = 0xb7e9e04c "container", shortName = 99 'c', argInfo = 1, arg = 0xb801d110, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7fabd1e "comment", shortName = 67 'C', argInfo = 1, arg = 0xb801d10c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e056 "maxusers", shortName = 77 'M', argInfo = 2, arg = 0xb801d108, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7fc7655 "flags", shortName = 70 'F', argInfo = 2, arg = 0xb801d114, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e05f "long", shortName = 108 'l', argInfo = 0, arg = 0xb801d0f0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7fafe93 "reboot", shortName = 114 'r', argInfo = 0, arg = 0xb801d0f4, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e064 "force", shortName = 102 'f', argInfo = 0, arg = 0xb801d0f8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7eac9ec "stdin", shortName = 105 'i', argInfo = 0, arg = 0xb801d0fc, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7eba67f "timeout", shortName = 116 't', argInfo = 2, arg = 0xb801d118, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e06a "request-timeout", shortName = 0 '\000', argInfo = 2, arg = 0xb801d11c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e07a "machine-pass", shortName = 80 'P', argInfo = 0, arg = 0xb801d124, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9fb74 "kerberos", shortName = 107 'k', argInfo = 0, arg = 0xb801d154, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e087 "myworkgroup", shortName = 87 'W', argInfo = 1, arg = 0xb801d0ec, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e093 "use-ccache", shortName = 0 '\000', argInfo = 0, arg = 0xb801d15c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e09e "verbose", shortName = 118 'v', argInfo = 0, arg = 0xb801d104, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e0a6 "test", shortName = 84 'T', argInfo = 0, arg = 0xb801d150, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7f97b82 "local", shortName = 76 'L', argInfo = 0, arg = 0xb801d128, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9fc71 "domain", shortName = 68 'D', argInfo = 0, arg = 0xb801d12c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e0ab "ntname", shortName = 78 'N', argInfo = 1, arg = 0xb801d134, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7f9efed "rid", shortName = 82 'R', argInfo = 2, arg = 0xb801d138, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7eba3db "acls", shortName = 0 '\000', argInfo = 0, arg = 0xb801d13c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7f27896 "attrs", shortName = 0 '\000', argInfo = 0, arg = 0xb801d140, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e0b2 "timestamps", shortName = 0 '\000', argInfo = 0, arg = 0xb801d144, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e0bd "exclude", shortName = 88 'X', argInfo = 1, arg = 0xb801d148, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e0c5 "destination", shortName = 0 '\000', argInfo = 1, arg = 0xb801d14c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e0d1 "tallocreport", shortName = 0 '\000', argInfo = 0, arg = 0xb801d130, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e0de "force-full-repl", shortName = 0 '\000', argInfo = 0, arg = 0xb801d158, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e0ee "single-obj-repl", shortName = 0 '\000', argInfo = 0, arg = 0xb801d160, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0xb7e9e0fe "clean-old-entries", shortName = 0 '\000', argInfo = 0, arg = 0xb801d164, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0xb8019640, val = 0, descrip = 0xb7e9e110 "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} > __FUNCTION__ = "main" >(gdb) info registers >eax 0x0 0 >ecx 0xb76ca3c0 -1217616960 >edx 0xfffffffa -6 >ebx 0xb76c8ff4 -1217622028 >esp 0xbffff2b8 0xbffff2b8 >ebp 0xbffff2c8 0xbffff2c8 >esi 0xb8081950 -1207428784 >edi 0xb8081838 -1207429064 >eip 0xb75dfe21 0xb75dfe21 <__libc_free+49> >eflags 0x10297 [ CF PF AF SF IF RF ] >cs 0x73 115 >ss 0x7b 123 >ds 0x7b 123 >es 0x7b 123 >fs 0x0 0 >gs 0x33 51 >(gdb) x/16i $pc >=> 0xb75dfe21 <__libc_free+49>: mov 0x4(%edx),%eax > 0xb75dfe24 <__libc_free+52>: test $0x2,%al > 0xb75dfe26 <__libc_free+54>: jne 0xb75dfe80 <__libc_free+144> > 0xb75dfe28 <__libc_free+56>: test $0x4,%al > 0xb75dfe2a <__libc_free+58>: lea 0x13cc(%ebx),%esi > 0xb75dfe30 <__libc_free+64>: je 0xb75dfe3b <__libc_free+75> > 0xb75dfe32 <__libc_free+66>: mov %edx,%eax > 0xb75dfe34 <__libc_free+68>: and $0xfff00000,%eax > 0xb75dfe39 <__libc_free+73>: mov (%eax),%esi > 0xb75dfe3b <__libc_free+75>: xor %eax,%eax > 0xb75dfe3d <__libc_free+77>: mov $0x1,%ecx > 0xb75dfe42 <__libc_free+82>: cmpl $0x0,%gs:0xc > 0xb75dfe4a <__libc_free+90>: je 0xb75dfe4d <__libc_free+93> > 0xb75dfe4c <__libc_free+92>: lock cmpxchg %ecx,(%esi) > 0xb75dfe50 <__libc_free+96>: jne 0xb75e1658 <_L_lock_9687> > 0xb75dfe56 <__libc_free+102>: mov %esi,%eax >(gdb) thread apply all backtrace > >Thread 1 (Thread 0xb73c8710 (LWP 939)): >#0 __libc_free (mem=0x2) at malloc.c:3709 >#1 0xb79a5ffd in free_user_token (c=0xb801d0d8, argc=0, argv=0xb801dc08) at utils/net_rpc.c:4061 >#2 net_usersidlist (c=0xb801d0d8, argc=0, argv=0xb801dc08) at utils/net_rpc.c:4597 >#3 0xb79cf435 in net_run_function (c=0xb801d0d8, argc=1, argv=0xb801dc04, whoami=0xb7e9e126 "net", table=0xb8015020) at utils/net_util.c:582 >#4 0xb79947cd in main (argc=2, argv=0xbffff8b4) at utils/net.c:914 >(gdb) quit >A debugging session is active. > > Inferior 1 [process 939] will be killed. > >Quit anyway? (y or n)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7718
: 6002