Ticket #242 (closed defect: wontfix)

Opened 5 years ago

Last modified 3 years ago

avahi-daemon segfaults on ARM

Reported by: jamesmalone Owned by: lennart
Milestone: Component: avahi-daemon
Keywords: avahi-daemon arm segfault sigsegv cross compile Cc:

Description

Attempting to run avahi-daemon on ARM results in signal SIGSEGV.

BT: (gdb) run Starting program: /usr/sbin/avahi-daemon

Program received signal SIGSEGV, Segmentation fault. 0x0000dc14 in load_config_file (c=0x338cc) at main.c:535 535 main.c: No such file or directory.

in main.c

(gdb) bt full

#0 0x0000dc14 in load_config_file (c=0x338cc) at main.c:535

r = 1073864048

f = (AvahiIniFile? *) 0x0

g = (AvahiIniFileGroup? *) 0x0

PRETTY_FUNCTION = "load_config_file"

#1 0x000108ec in main (argc=1, argv=0xbe89ba54) at main.c:1413

pid = -1

r = 255

wrote_pid_file = 0

Change History

Changed 5 years ago by lennart

Hmm, the line number 535 in that backtrace unfortunately isn't really helpful since it is just the line of the function declaration itself.

Could you recompile with -O0 -g and generate a new backtrace?

Changed 5 years ago by jamesmalone

It is compiled with -O0 -g.

Generated arguments: "-g -O0 -fstack-protector -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -fPIC"

Changed 5 years ago by lennart

Hmm, I have no idea what could be going wrong. Seems to be ARM-specific and I have no access to ARM.

I fear I cannot help you and you'll have to sit down yourself and try to figure out with gdb what might be going wrong. Sorry!

Changed 3 years ago by lennart

  • status changed from new to closed
  • resolution set to wontfix

Closing now. Feel free to reopen if you can provide a patch.

Note: See TracTickets for help on using tickets.