Opened 13 years ago

Closed 13 years ago

Last modified 13 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:
Has a Patch: no 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 Changed 13 years ago by diver

Cc: diver added

comment:2 Changed 13 years ago by korli

Component: ApplicationsTools, Utilities, and other Binaries

comment:3 Changed 13 years ago by korli

Status: newclosed

comment:4 Changed 13 years ago by korli

Resolution: fixed

comment:5 Changed 13 years ago by korli

fixed in revision 17202

comment:6 Changed 13 years ago by johndrinkwater

Great, working!

Note: See TracTickets for help on using tickets.