Opened 15 years ago

Closed 15 years ago

#21275 closed defect (fixed)

ice-cpp segfault during build

Reported by: nerdling (Jeremy Lavergne) Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc: mail@…
Port: ice-cpp

Description

ice-cpp segfaulted while running make on the HTML references (index.html to be specific).

Attachments (4)

ice-cpp.log (11.5 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
patch-1-mcpp-2-7-2-patch.mcpp.2.7.2.txt (1.6 KB) - added by mail@… 15 years ago.
ZeroC patch
patch-src__system.H (435 bytes) - added by mail@… 15 years ago.
Patch for Buffersize (needed if you have > 50 files in slice2xx commands)
portfile.diff (672 bytes) - added by mail@… 15 years ago.
Added two patches to portfile

Download all attachments as: .zip

Change History (9)

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: ice-cpp.log added

comment:1 Changed 15 years ago by mail@…

in the zeroc forums (www.zeroc.com) there is an patch available for mcpp. I am working on an patch for the mcpp Portfile.

Callstack for this problem:

#0  0x000000010025bc26 in append_to_buffer ()
(gdb) where
#0  0x000000010025bc26 in append_to_buffer ()
#1  0x000000010025bee2 in mcpp_lib_fputc ()
#2  0x000000010025d55d in parse_line ()
#3  0x000000010025db27 in get_ch ()
#4  0x000000010024e2dc in mcpp_lib_main ()
#5  0x000000010011150f in Slice::Preprocessor::preprocess (this=0x7fff5fbfc8c0, keepComments=true) at Preprocessor.cpp:143
#6  0x00000001000335ee in main (argc=78, argv=0x7fff5fbfe350) at Main.cpp:2

01

Changed 15 years ago by mail@…

ZeroC patch

Changed 15 years ago by mail@…

Attachment: patch-src__system.H added

Patch for Buffersize (needed if you have > 50 files in slice2xx commands)

Changed 15 years ago by mail@…

Attachment: portfile.diff added

Added two patches to portfile

comment:2 Changed 15 years ago by mail@…

Added two patches and a portfilediff for mcpp. mcpp is used internally by ice. This bug happens only when you have a large number (>50) files on the commandline for the slice2xx commands.

comment:3 Changed 15 years ago by mail@…

BTW: only tested under Snow Leopard. Should be compatible with Leopard.

comment:4 Changed 15 years ago by blair (Blair Zajac)

I opened #21299 to get mcpp fixed so we can build ice-cpp.

comment:5 Changed 15 years ago by blair (Blair Zajac)

Cc: mail@… added
Resolution: fixed
Status: newclosed

I've applied the patches, the patch-srcsystem.H one in #57678 and ice-cpp now builds fine for me.

Note: See TracTickets for help on using tickets.