#3477 closed defect (fixed)
i.ortho.photo segmentation fault
Reported by: | lucadelu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 7.4.0 |
Component: | Imagery | Version: | svn-releasebranch74 |
Keywords: | i.ortho.photo | Cc: | |
CPU: | Unspecified | Platform: | All |
Description
If I try to launch i.ortho.photo command I get segmentation fault error.
It seems that tosystem() is not working properly.
i.ortho.photo group=lsat7_2000 prod=i.group Segmentation fault
Change History (8)
comment:1 by , 7 years ago
follow-up: 3 comment:2 by , 7 years ago
Just guessing, maybe the buffer is too small and needs to be larger?
--- menu.c (revision 72067) +++ menu.c (working copy) @@ -35,7 +35,7 @@ char *desc_ortho_opt; char *moduletorun; const char *grname; - char tosystem[99]; + char tosystem[1024]; const char *to_system; int err=0;
comment:3 by , 7 years ago
Replying to neteler:
Just guessing, maybe the buffer is too small and needs to be larger?
--- menu.c (revision 72067) +++ menu.c (working copy) @@ -35,7 +35,7 @@ char *desc_ortho_opt; char *moduletorun; const char *grname; - char tosystem[99]; + char tosystem[1024]; const char *to_system; int err=0;
Did you try it?
For me still "Segmentation fault"
comment:4 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
rev r72075, should be fixed. The check for group validity was not needed. Please check and confirm
Note:
See TracTickets
for help on using tickets.
Yes confirmed that tosystem() fails to provide its claimed services.