Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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 diver, 18 years ago

Cc: diver added

comment:2 by korli, 18 years ago

Component: ApplicationsTools, Utilities, and other Binaries

comment:3 by korli, 18 years ago

Status: newclosed

comment:4 by korli, 18 years ago

Resolution: fixed

comment:5 by korli, 18 years ago

fixed in revision 17202

comment:6 by johndrinkwater, 18 years ago

Great, working!

Note: See TracTickets for help on using tickets.