Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8481 closed defect (fixed)

ulogd segfaults in current trunk

Reported by: ddxx0n Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: ulogd Cc:


I just at last managed to compile a trunk (rev. 24672) version again, but ulogd gives a "Segmentation fault" on start.

If I replace it with an older core ulogd package from rev. 24290, everything works fine, even with the newer ulogd-mod-* packages still in place. I didn't change much else, so it seems there's a problem with the currently generated ulogd_1.24-1_ar71xx.ipk

# CONFIG_PACKAGE_ulogd-mod-mysql is not set
# CONFIG_PACKAGE_ulogd-mod-pgsql is not set
CONFIG_PACKAGE ulogd-mod-sqlite=m

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by ddxx0n

The latest trunk 25097 still fails to compile a working ulogd, it would be nice if someone could come up with a fix or report if it's only broken on my system.

In the meantime, I discovered this: if all plugins in /etc/ulogd.conf are commented out, the daemon starts (but of course is unusable). However, it segfaults as soon as a single plugin is loaded.

comment:3 Changed 7 years ago by ddxx0n

Yes, that does it. Pity that the original author didn't put the fix in this ticket for other people to find in the first place...

Please apply to trunk, I am not the only on encountering this segfault.

--- feeds/packages/net/ulogd/Makefile.orig      2010-12-27 10:35:55.000000000 +0100
+++ feeds/packages/net/ulogd/Makefile   2011-05-08 13:51:34.751052199 +0200
@@ -104,7 +104,7 @@
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
-               CFLAGS="$(TARGET_CFLAGS) \
+               CFLAGS="$(TARGET_CFLAGS) -Wl,-E \
                        -Iinclude \
                        -I$(PKG_BUILD_DIR)/include/ulogd \
                        -I$(PKG_BUILD_DIR)/include \

comment:4 Changed 7 years ago by jow

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

Committed in r26853 - thanks!

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.