Opened 12 years ago

Last modified 12 years ago

#34548 new defect

dansguardian doesn't start anymore since upgrade to macports 2.1.0

Reported by: fclaire@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: bitpup, l.laspada@…
Port: dansguardian

Description

dansguardian crashes with a mad mmap size value error message when started with default configuration files on a clean install:

$ dansguardian
dansguardian(63116) malloc: *** mmap(size=1125728108154880) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
std::bad_alloc
Error parsing the dansguardian.conf file or other DansGuardian configuration files

I could narrow down the problem coming from line

int rc = dmpp->init(&lastplugin);

in the file src/OptionContainer.cpp

Note this problem happens only with macports > 2.1.0. With 2.0.4 dansguardian starts well with the default config files.

I could reproduce the problem on both 10.6 and 10.7 machines and with macport 2.1.0 and 2.1.1. Any idea why mmap() asks for this huge amount of memory ?

Change History (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Since we have no maintainer for this port in MacPorts, I suggest you work directly with the developer(s) of the software to resolve the issue.

comment:2 in reply to:  1 Changed 12 years ago by fclaire@…

I've posted a message on the dansguardian mailing list but this open-source project isn't actively supported anymore. Could you give me some hints on what changed between 2.0.4 and 2.1.0 ? Has the default C++ compiler changed ?

I'm not a C++ developer and I don't have a clue why this init call fails like that. Is there any experienced C++ guy around within the macports maintainers ?

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

To my knowledge nothing that changed between MacPorts 2.0 and 2.1 should affect the functioning of your ports. The default compiler is based on the Xcode version.

comment:4 in reply to:  3 Changed 12 years ago by fclaire@…

I rolled back my entire /opt/local directory from a time machine backup to what it was 6 days ago. It put back macports 2.0.4 and a working copy of dansguardian.

This solved my problem and I won't do selfupdate anymore.

comment:5 Changed 12 years ago by bitpup

Cc: wheeltong@… added

Cc Me!

comment:6 Changed 12 years ago by l.laspada@…

Cc: l.laspada@… added

Cc Me!

Note: See TracTickets for help on using tickets.