This crash appears fixed in clang-3.5 version: 1:3.5~svn213451-1~exp1

Attached is as minimal of a test file as delta can create(73 lines). For
future reference I've also attached the small shell script that delta
was using to minimize the file.

I was using the follow to run delta:
./delta-2006.08.03/delta -test=./nua_client_test.sh -suffix=.c
-cp_minimal=nua_client_minimal.c ./nua_client_preprocess.c

Delta took about 9 hours to drop the ~70k lines preprocess file down to
about 3k lines. Then running delta again on the latest file ~20 times
was able to reduce it down to the 73 line file attached. Not yet sure
why delta wasn't able to get to the final product directly.

William King
Senior Engineer
Quentus Technologies, INC
1037 NE 65th St Suite 273
Seattle, WA 98115
Main:   (877) 211-9337
Office: (206) 388-4772
Cell:   (253) 686-5518
william.k...@quentustech.com

On 07/19/2014 09:49 AM, Sylvestre Ledru wrote:
> tags 755255 + moreinfo
> thanks
> 
> 
> 2.2M files are not a reduce test case.
> See: http://www.gnu.org/software/gcc/bugs/
> 
> Thanks for providing it. Otherwise, probably nothing will happen on this
> bug.
> 
> Sylvestre
> 
> On 19/07/2014 18:29, William King wrote:
>> The segfault can be replicated with the following two files.
>>
>> William King
>> Senior Engineer
>> Quentus Technologies, INC
>> 1037 NE 65th St Suite 273
>> Seattle, WA 98115
>> Main:   (877) 211-9337
>> Office: (206) 388-4772
>> Cell:   (253) 686-5518
>> william.k...@quentustech.com
>>
>> On 07/19/2014 02:09 AM, Debian Bug Tracking System wrote:
>>> Thank you for filing a new Bug report with Debian.
>>>
>>> This is an automatically generated reply to let you know your message
>>> has been received.
>>>
>>> Your message is being forwarded to the package maintainers and other
>>> interested parties for their attention; they will reply in due course.
>>>
>>> Your message has been sent to the package maintainer(s):
>>>  LLVM Packaging Team <pkg-llvm-t...@lists.alioth.debian.org>
>>>
>>> If you wish to submit further information on this problem, please
>>> send it to 755...@bugs.debian.org.
>>>
>>> Please do not send mail to ow...@bugs.debian.org unless you wish
>>> to report a problem with the Bug-tracking system.
>>>
>>>
>>>
>>> _______________________________________________
>>> Pkg-llvm-team mailing list
>>> pkg-llvm-t...@lists.alioth.debian.org
>>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-llvm-team
> 
#if defined AC_APPLE_UNIVERSAL_BUILD
#else
#if !defined(__need_ptrdiff_t) && !defined(__need_size_t) &&                   \
    !defined(__need_wint_t)
#ifdef __cplusplus
#else
#  define NULL ((void*)0)
#ifdef	__USE_BSD
#if !defined(__STDDEF_H) || defined(__need_ptrdiff_t) ||                       \
    defined(__need_NULL) || defined(__need_wint_t)
#endif
#endif /* alloca.h */
#endif
#ifndef SU_CONFIG_H
#ifndef SU_CONFIGURE_H
#ifndef SU_CONFIGURE_H
#define su_inline static inline
#endif /* SU_CONFIGURE_H */
#endif
typedef struct nta_leg_s        nta_leg_t;
#ifndef URL_H
#ifndef NUA_TAG_H
typedef struct nua_handle_s nua_handle_t;
#define NUA_OWNER_T struct nua_owner_s
#endif
typedef NUA_OWNER_T nua_owner_t;
typedef struct nua_dialog_state nua_dialog_state_t;
typedef struct nua_dialog_usage nua_dialog_usage_t;
typedef struct nua_client_request nua_client_request_t;
#endif
struct nua_dialog_state
{
  nta_leg_t      *ds_leg;
} nua_usage_class;
struct nua_dialog_usage {
  nua_client_request_t *du_cr;	        /**< Client request bound with usage */
};
su_inline int nua_dialog_is_reporting(nua_dialog_state_t const *ds)
{
}
#ifndef NUA_CLIENT_H
struct nua_client_request
{
  nua_owner_t        *cr_owner;
};
#endif /* NUA_SERVER_H */
struct nua_handle_preferences
{
};
#endif /* NUA_PARAMS_H */
#endif
struct nua_handle_s
{
  nua_dialog_state_t nh_ds[1];
};
#endif /* NUA_STACK_H */
nua_client_request_destroy(nua_client_request_t *cr)
{
}
int nua_client_bind(nua_client_request_t *cr, nua_dialog_usage_t *du)
{
  assert(cr);
  if (du == NULL) {
    return 0;
  }
  if (du->du_cr) {
    nua_client_bind(du->du_cr, NULL);
  }
  nua_handle_t *nh = cr->cr_owner;
  nua_dialog_state_t *ds = nh->nh_ds;
  if (!ds->ds_leg) {
  }
}

Attachment: nua_client_test.sh
Description: application/shellscript

Attachment: 0x1DD0C305.asc
Description: application/pgp-keys

Reply via email to