Bug 5966 - SWAT is crashed after (almost) every operations under --enable-cups
Summary: SWAT is crashed after (almost) every operations under --enable-cups
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: SWAT (show other bugs)
Version: 3.2.6
Hardware: x86 Linux
: P3 minor
Target Milestone: ---
Assignee: Jeremy Allison
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-14 00:14 UTC by TAKAHASHI Motonobu
Modified: 2013-09-02 12:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TAKAHASHI Motonobu 2008-12-14 00:14:14 UTC
SWAT is crashed after (almost) every operations.

My environment:
  etch + Samba 3.2.4/Samba 3.2.6 (self compiled, with --enable-cups).
  Windows XP + Internet Explorer 6, Windows Vista + Internet Explorer 7.

-----
# dpkg -l | grep cups
ii  libcupsys2               1.2.7-4etch6                             Common UNI
X Printing System(tm) - libs
ii  libcupsys2-dev           1.2.7-4etch6                             Common UNI
X Printing System(tm) - developmen
-----

Reproduce:

(1) delete smb.conf

(2) access via swat.

(3) browse GLOBALS/SHARES/PRINTERS/VIEW menu

(4) The result are displayed (no errors are happened).

(5) View log:

-----
[2008/12/14 15:06:18,  0] lib/fault.c:fault_report(40)
  ===============================================================
[2008/12/14 15:06:18,  0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid 31555 (3.2.6)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2008/12/14 15:06:18,  0] lib/fault.c:fault_report(43)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2008/12/14 15:06:18,  0] lib/fault.c:fault_report(44)
  ===============================================================
[2008/12/14 15:06:18,  0] lib/util.c:smb_panic(1663)
  PANIC (pid 31555): internal error
[2008/12/14 15:06:18,  0] lib/util.c:log_stack_trace(1767)
  BACKTRACE: 11 stack frames:
   #0 swat(log_stack_trace+0x2d) [0x8015bcdc]
   #1 swat(smb_panic+0x80) [0x8015be18]
   #2 swat [0x801467ea]
   #3 [0xb7f4e420]
   #4 swat(reinit_after_fork+0xa7) [0x8015cfa8]
   #5 swat(cups_cache_reload+0x238) [0x800794eb]
   #6 swat(pcap_cache_reload+0x107) [0x800759b9]
   #7 swat(load_printers+0x22) [0x8007cd02]
   #8 swat(main+0x1f8) [0x80056465]
   #9 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7ba5ea8]
   #10 swat [0x80050271]
-----
Comment 1 Björn Jacke 2013-09-02 12:48:06 UTC
swat is gone with 4.1