#535 closed bug (fixed)
[make] crashes with a segment violation
Reported by: | johndrinkwater | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | - General | Version: | |
Keywords: | Cc: | diver | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
As far as I can make out, both the crashes below are caused by glob( ) not correcting assigning gl.gl_pathv[], and multi_glob( ) tries to strdup it
$ make
Thread 214 caused an exception: Segment violation [Switching to team /boot/home/config/bin/make (214) thread make (214)] 0x0021828b in multi_glob () (gdb) bt #0 0x0021828b in multi_glob () #1 0x002067cc in set_default_suffixes () #2 0x0021159d in main ()
$ make -r
Thread 151 caused an exception: Segment violation [Switching to team /boot/home/config/bin/make (151) thread make (151)] 0x0021828b in multi_glob () (gdb) bt #0 0x0021828b in multi_glob () #1 0x002153c0 in eval () #2 0x00214399 in eval_makefile () #3 0x00214071 in read_all_makefiles () #4 0x002115ee in main ()
Change History (6)
comment:1 by , 19 years ago
Cc: | added |
---|
comment:2 by , 19 years ago
Component: | Applications → Tools, Utilities, and other Binaries |
---|
comment:3 by , 19 years ago
Status: | new → closed |
---|
comment:4 by , 19 years ago
Resolution: | → fixed |
---|
fixed in revision 17202