Opened 4 years ago

Closed 4 years ago

#2247 closed defect (invalid)

segfault when build with gold linker

Reported by: octoploid Owned by: beastd
Priority: normal Component: undetermined
Version: HEAD Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Summary of the bug:

mplayer build with ncurses-6.0 crashes on startup:

mplayer % gdb --args ./mplayer

(gdb) run
...
Program received signal SIGSEGV, Segmentation fault.
GIIO_fputs (str=0x7fffffffb890 "MPlayer SVN-r37446-5.1.1 (C) 2000-2015 MPlayer Team\n", fp=0x0) at iofputs.c:38
38 _IO_acquire_lock (fp);
(gdb) bt
#0 GIIO_fputs (str=0x7fffffffb890 "MPlayer SVN-r37446-5.1.1 (C) 2000-2015 MPlayer Team\n", fp=0x0) at iofputs.c:38
#1 0x000055555571fe80 in mp_msg_va ()
#2 0x00005555557200c2 in mp_msg ()
#3 0x000055555572025f in print_version ()
#4 0x00005555556a253f in main ()

Change History (2)

comment:1 Changed 4 years ago by octoploid

  • Summary changed from segfault with ncurses-6.0 to segfault when build with gold linker

Actually it is a linker bug. gold is responsible for the crash.
See: https://sourceware.org/bugzilla/show_bug.cgi?id=19244

comment:2 Changed 4 years ago by beastd

  • Resolution set to invalid
  • Status changed from new to closed

Thank you for reporting and tracking this down!

Closing as it is not an MPlayer bug and it AFAICS has been fixed in gold.

Note: See TracTickets for help on using tickets.