BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000056 [uClibc] Architecture Specific crash always 01-21-05 22:21 10-08-08 04:30
Reporter thintux View Status public  
Assigned To uClibc
Priority normal Resolution open  
Status feedback   Product Version 0.9.27
Summary 0000056: Memory bug when loading module in Xorg
Description I recently updated from 0.9.24 to 0.9.27.
I downloaded and compiled Xorg 6.8.1. I didn't received any errors during the build. The problem is that when I try to start X, the computer starts to get really slow and the Xorg binary takes all available memory. The binary use 100M(RES) and 700M(VIRT).
The problem starts when X try to load the first module(bitmap). Instead of loading the module it starts to use a lot of "brk"'s. I received > 50000 brk's during an execution time of a few seconds.
Additional Information Incorrect version with uclibc 0.9.27

write(0, "(II) Module ABI versions:\n", 26) = 26
write(0, "\tX.Org ANSI C Emulation: 0.2\n", 29) = 29
write(0, "\tX.Org Video Driver: 0.7\n", 25) = 25
write(0, "\tX.Org XInput driver : 0.4\n", 27) = 27
write(0, "\tX.Org Server Extension : 0.2\n", 30) = 30
write(0, "\tX.Org Font Renderer : 0.4\n", 27) = 27
write(0, "(II) Loader running on linux\n", 29) = 29
write(0, "(II) LoadModule: \"bitmap\"", 25) = 25
brk(0x820c000) = 0x820c000
brk(0x820d000) = 0x820d000
brk(0x820e000) = 0x820e000
brk(0x820f000) = 0x820f000
brk(0x8210000) = 0x8210000
brk(0x8211000) = 0x8211000

Correct version with uclibc-0.9.24:

write(0, "(II) Module ABI versions:\n", 26) = 26
write(0, "\tX.Org ANSI C Emulation: 0.2\n", 29) = 29
write(0, "\tX.Org Video Driver: 0.7\n", 25) = 25
write(0, "\tX.Org XInput driver : 0.4\n", 27) = 27
write(0, "\tX.Org Server Extension : 0.2\n", 30) = 30
write(0, "\tX.Org Font Renderer : 0.4\n", 27) = 27
write(0, "(II) Loader running on linux\n", 29) = 29
write(0, "(II) LoadModule: \"bitmap\"", 25) = 25
write(0, "\n", 1) = 1
stat("/usr/X11R6/lib/modules/drivers/linux/", {st_mode=S_IFDIR|0755, st_size=80,
 ...}) = 0
stat("/usr/X11R6/lib/modules/drivers/linux/", {st_mode=S_IFDIR|0755, st_size=80,
 ...}) = 0
open("/usr/X11R6/lib/modules/drivers/linux/", O_RDONLY) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
brk(0x8207000) = 0x8207000
getdents(4, /* 3 entries */, 3933) = 48
Attached Files

- Relationships

- Notes
(0002822)
khem
10-13-07 11:08

Can you verify this problem with latest release or svn snapshot.
 
(0013104)
bernhardf
10-08-08 04:30

Also, which malloc imple do you use?
 

- Issue History
Date Modified Username Field Change
01-21-05 22:21 thintux New Issue
03-16-05 11:53 andersen Assigned To andersen => uClibc
10-13-07 11:08 khem Note Added: 0002822
10-08-08 04:30 bernhardf Note Added: 0013104
10-08-08 04:30 bernhardf Status assigned => feedback


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker