Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60543 - wdiff causes segfault: fclose()
Summary: wdiff causes segfault: fclose()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-16 05:12 UTC by Mikko Ruuska
Modified: 2004-08-20 14:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed fix (wdiff.diff,487 bytes, patch)
2004-08-16 05:14 UTC, Mikko Ruuska
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikko Ruuska 2004-08-16 05:12:05 UTC
Running wdiff as user caused a core dump:

--- gdb backtrace ---
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libtermcap.so.2...done.
Loaded symbols for /lib/libtermcap.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x40090b77 in mallopt () from /lib/libc.so.6
(gdb) bt
#0  0x40090b77 in mallopt () from /lib/libc.so.6
#1  0x4008f98d in free () from /lib/libc.so.6
#2  0x4007fda4 in fclose () from /lib/libc.so.6
#3  0x08049d83 in complete_input_program ()
#4  0x0804a53d in main ()
#5  0x400438c0 in __libc_start_main () from /lib/libc.so.6
--- end of backtrace ---
Comment 1 Mikko Ruuska 2004-08-16 05:14:54 UTC
Created attachment 37521 [details, diff]
Proposed fix
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-20 14:00:37 UTC
thanks mikko, -r1 in portage.