Issue Details (XML | Word | Printable)

Key: FSCORE-395
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Patch Patch
Assignee: Anthony Minessale II
Reporter: Andy Spitzer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FreeSWITCH-Core

Confusing error message on startup, gives wrong stack size

Created: 30/Jun/09 02:55 PM   Updated: 30/Jun/09 03:02 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File switch.c.patch (0.9 kB)

Environment: Linux

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:
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)
GIT Revision: 14053
Reproduced with GIT HEAD?: yes
lsb_release:
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....



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anthony Minessale II added a comment - 30/Jun/09 03:02 PM
r14058
(printf on wrong line)