Bug 81 - segmentation fault on startup using RunAsUser
Summary: segmentation fault on startup using RunAsUser
Status: NEW
Alias: None
Product: reConServer
Classification: Unclassified
Component: core (show other bugs)
Version: 0.10.2
Hardware: All Linux
: P1 major
Assignee: Owner of all unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-03 06:49 CDT by Daniel Pocock
Modified: 2014-04-03 06:49 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Pocock 2014-04-03 06:49:52 CDT
If reConServer is started as root and drops privileges (config option RunAsUser), it subsequently crashes with a segmentation fault.

Running under valgrind, it is observed that a lot of stack is used up.

Increasing available stack with the ulimit command allows it to run a little longer before crashing.

Should test with ASan or other tools?

Potential sipXtapi issue?