FreeSWITCH

Confusing error message on startup, gives wrong stack size

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Patch Patch
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: freeswitch-core
  • Platform:
    Linux x86/gcc
  • Uname:
    Linux woof3 2.6.27.24-170.2.68.fc10.i686 #1 SMP Wed May 20 23:10:16 EDT 2009 i686 i686 i386 GNU/Linux
  • CPU Info:
    Hide
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
    stepping : 11
    cpu MHz : 2000.000
    cache size : 4096 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 2
    apicid : 0
    initial apicid : 0
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm
    bogomips : 4654.97
    clflush size : 64
    power management:

    processor : 1
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
    stepping : 11
    cpu MHz : 2000.000
    cache size : 4096 KB
    physical id : 0
    siblings : 2
    core id : 1
    cpu cores : 2
    apicid : 1
    initial apicid : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm
    bogomips : 4654.98
    clflush size : 64
    power management:

    Show
    processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 2000.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 4654.97 clflush size : 64 power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 2000.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 4654.98 clflush size : 64 power management:
  • GCC Version:
    gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)
  • FreeSWITCH GIT Revision:
    14053
  • Reproduced with GIT HEAD?:
    yes
  • lsb_release:
    Hide
    LSB Version: :core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch
    Distributor ID: Fedora
    Description: Fedora release 10 (Cambridge)
    Release: 10
    Codename: Cambridge
    Show
    LSB Version: :core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch Distributor ID: Fedora Description: Fedora release 10 (Cambridge) Release: 10 Codename: Cambridge
  • Description:
    Hide
    When the ulimit for the stack size is set larger than expected, the error message printed out includes the correct stack size twice, not the incorrect one.

    Example:

    $ ulimit -s 300
    $ /usr/local/freeswitch/bin/freeswitch
    Error: stacksize 240 is too large: run ulimit -s 240 or run /usr/local/freeswitch/bin/freeswitch -waste.
    auto-adjusting stack size for optimal performance....

    It should say:
    Error: stacksize 300 is too large: run ulimit -s 240 or run /usr/local/freeswitch/bin/freeswitch -waste.
    auto-adjusting stack size for optimal performance....

    Show
    When the ulimit for the stack size is set larger than expected, the error message printed out includes the correct stack size twice, not the incorrect one. Example: $ ulimit -s 300 $ /usr/local/freeswitch/bin/freeswitch Error: stacksize 240 is too large: run ulimit -s 240 or run /usr/local/freeswitch/bin/freeswitch -waste. auto-adjusting stack size for optimal performance.... It should say: Error: stacksize 300 is too large: run ulimit -s 240 or run /usr/local/freeswitch/bin/freeswitch -waste. auto-adjusting stack size for optimal performance....
  • Environment:
    Linux
  1. switch.c.patch
    (0.9 kB)
    Andy Spitzer
    30/Jun/09 2:55 PM

Activity

Hide
Anthony Minessale II added a comment - 30/Jun/09 3:02 PM
r14058
(printf on wrong line)
Show
Anthony Minessale II added a comment - 30/Jun/09 3:02 PM r14058 (printf on wrong line)

People

Dates

  • Created:
    30/Jun/09 2:55 PM
    Updated:
    27/Sep/10 1:45 AM
    Resolved:
    30/Jun/09 3:02 PM