Opened 6 years ago

Last modified 6 weeks ago

#30873 new defect

net/mrtg @2.17.2 rateup Lion crash - WARNING: rateup died from Signal 11

Reported by: randalla@… Owned by: jberry@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: mrtg

Description (last modified by mf2k (Frank Schima))

mrtg in 10.7.1 is failing every run with the message:

2011-08-18 20:59:34: ERROR: Skipping webupdates because rateup did not return anything sensible
2011-08-18 20:59:34: WARNING: rateup died from Signal 11
 with Exit Value 0 when doing router 'wlan0'
 Signal was 11, Returncode was 0

A crash report is being produced for /opt/local/bin/rateup, such as this:

Process:         running job [19692]
Path:            /opt/local/bin/rateup
Identifier:      running job
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  running job [19666]

Date/Time:       2011-08-18 21:05:02.090 -0700
OS Version:      Mac OS X 10.7.1 (11B26)
Report Version:  9

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xfffffffd1052e068

VM Regions Near 0xfffffffd1052e068:
--> shared memory          00007fffffe00000-00007fffffe02000 [    8K] r-x/r-x SM=SHM  
    

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   rateup                        	0x000000010252352d image + 3341
1   rateup                        	0x0000000102529721 main + 3889
2   rateup                        	0x00000001025221c4 start + 52

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0xffffffff81c005c9  rbx: 0x0000000000000000  rcx: 0x0000000081c005c9  rdx: 0x0000000000000000
  rdi: 0x000000010252b220  rsi: 0xfffffffe8540115b  rbp: 0x00007fff62120ad0  rsp: 0x00007fff6211dfc0
   r8: 0xaaaaaaaaaaaaaaab   r9: 0x000000000000000a  r10: 0x0000000000010000  r11: 0x00007fff892058f0
  r12: 0xfffffffff88ca6c0  r13: 0x0000000000043f54  r14: 0x000000010252a723  r15: 0x000000010252a723
  rip: 0x000000010252352d  rfl: 0x0000000000010213  cr2: 0xfffffffd1052e068
Logical CPU: 1

The only thing I can think of is that I am using the +no_x11 keyword, which affected gd, which mrtg does use.

Change History (9)

comment:1 Changed 6 years ago by randalla@…

wow, that looks bad. Sorry.

comment:2 Changed 6 years ago by mf2k (Frank Schima)

  • Cc jberry@… added
  • Description modified (diff)
  • Owner changed from macports-tickets@… to ricci@…
  • Port mrtg added; net/mrtg removed

comment:3 Changed 4 years ago by ghosthound

  • Owner changed from ricci@… to jberry@…

Reassigning to maintainer

comment:4 Changed 3 years ago by randalla@…

Funny story: I was researching this error that MRTG was giving me:

2014-10-10 21:40:00: ERROR: Skipping webupdates because rateup did not return anything sensible 2014-10-10 21:40:00: WARNING: rateup died from Signal 11

with Exit Value 0 when doing router '10.0.3.1_gec0' Signal was 11, Returncode was 0

Go to Google, find this bug report, from three years ago... from me.

MRTG's version is currently 2.17.4. Can the version be bumped up, please?

comment:5 Changed 3 years ago by randalla@…

  • Cc randalla@… added

Cc Me!

comment:6 Changed 3 years ago by mf2k (Frank Schima)

  • Cc jberry@… randalla@… removed

As reporter, you are automatically Cc'ed.

comment:7 follow-up: Changed 14 months ago by danielluke (Daniel J. Luke)

I started having this problem with 2.17.4 (and 10.12). I think rateup was only crashing on something with kMG[name]: ,k,M,G in the config. Crash log showed crash on free in rateup (image()). Removing kMG in my config fixed it for me.

This is probably something that should be reported and fixed upstream.

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
*** error for object 0x7f8899d001d0: pointer being freed was not allocated
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x00007fff90ef9dda __pthread_kill + 10
1   libsystem_pthread.dylib             0x00007fff90fe4797 pthread_kill + 90
2   libsystem_c.dylib                   0x00007fff90e5f440 abort + 129
3   libsystem_malloc.dylib              0x00007fff90f4f097 free + 530
4   rateup                              0x0000000105a1ee2d image + 13457
5   rateup                              0x0000000105a1b5f0 main + 4908
6   libdyld.dylib                       0x00007fff90dcb255 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff5a1e4a08  rdx: 0x0000000000000000
  rdi: 0x000000000000060b  rsi: 0x0000000000000006  rbp: 0x00007fff5a1e4a30  rsp: 0x00007fff5a1e4a08
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x00007f889a823800  r13: 0x0000000000000001  r14: 0x00007fff99ace3c0  r15: 0x0000000000000000
  rip: 0x00007fff90ef9dda  rfl: 0x0000000000000206  cr2: 0x00007fff90fe249b
  
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

comment:8 in reply to: ↑ 7 Changed 14 months ago by danielluke (Daniel J. Luke)

Replying to dluke@…:

This is probably something that should be reported and fixed upstream.

https://github.com/oetiker/mrtg/issues/3

comment:9 Changed 6 weeks ago by jmroot (Joshua Root)

A fix was merged upstream but there's been no new release yet.

Note: See TracTickets for help on using tickets.