Bug#378721: vim-lesstif: gvim always crashes during startup
James Vega
jamessan at debian.org
Thu Jul 20 14:51:04 UTC 2006
clone 378721 -1
reassign -1 lesstif2 0.94.4-2
retitle -1 lesstif2 causes segfault when launching gvim
block 378721 by -1
thanks
On Wed, Jul 19, 2006 at 09:32:00AM -0400, James Vega wrote:
> On Wed, Jul 19, 2006 at 02:48:25PM +0400, Andrey Kiselev wrote:
> > On Tue, Jul 18, 2006 at 06:44:29PM +0400, Andrey Kiselev wrote:
> > > Lesstif variant of gvim does not work on my system and crashes during
> > > startup. There is backtrace log from the gdb:
> >
> > In addition I have built vim package using libmotif from unstable
> > (2.2.3-1.4) and it works just fine. So it is most likely a problem with
> > lesstif, but it renders vim-lesstif completely unusable.
>
> This was reported a week or so ago on the vim-dev mailing list, too. It
> seems that using lesstiff-dev/lesstiff1 also works well. I don't see a
> problem with switching to that or libmotif to build our Vim package.
>
> We should probably clone this bug for lesstiff2 though. I'm going to
> take a look at the crash with debug packages installed and see if I can
> narrow down the problem.
Vim built against libmotif or lesstif1 works fine so it appears to be an
issue in lesstif2. Here's a full backtrace:
(gdb) run -g
Starting program: /usr/bin/vim.lesstif -g
Program received signal SIGSEGV, Segmentation fault.
0(gdb) bt full
#0 0x4741545f in ?? ()
No symbol table info available.
#1 0xb7eacaec in XmWidgetGetBaselines (w=0x8308218, baselines=0xbfe754b8, line_count=0xbfe754b4)
at ../../../lib/Xm-2.1/Primitive.c:1468
No locals.
#2 0xb7ebe4d7 in constraint_set_values (current=0xbfe758a0, request=0xbfe75580, new_w=0x8308218,
args=0x83086d0, num_args=0xbfe75518) at ../../../lib/Xm-2.1/RowColumn.c:3030
savew = (Widget) 0xb7ba747c
pos = <value optimized out>
baselines = <value optimized out>
num_baselines = <value optimized out>
i = <value optimized out>
rc = (Widget) 0x82f7650
#3 0xb7b89cae in CallConstraintSetValues (class=0xb7f3fc40, current=0xbfe758a0,
request=0xbfe75580, new=0x8308218, args=0x83086d0, num_args=1) at ../../src/SetValues.c:165
redisplay = 0 '\0'
set_values = (XtSetValuesFunc) 0xb7ebe2f0 <constraint_set_values>
superclass = <value optimized out>
#4 0xb7b8a49b in XtSetValues (w=0x8308218, args=0x83086d0, num_args=1)
at ../../src/SetValues.c:263
call_data = {type = 0xbfe75d68 "{\235¸·ÌFº·Ô]ç¿", widget = 0xbfe75d64, request = 0x0,
reply = 0x1, result = 137397968}
oldw = (Widget) 0x8308218
reqw = (Widget) 0x0
oldwCache = {1.5250282549293968e-269, 3.6796085506835599e-311, 0,
1.5906990497342008e-314, 7.2911220215723421e-304, 3.1259612305775811e-269,
3.0922951699427225e-269, 0, 0, 9.8813129168249309e-324, 3.0054262358678347e-269,
6.7971271789705357e-313, 5.0927898983166536e-313, 4.2503627698937639e-314,
1.2697487098120036e-321, 2.9521880136714606e-304, 1.820546087458726e-306,
2.1219957919534036e-314, 4.2439915819305446e-314, 0, 1.2648080533535912e-321,
2.9619283183614458e-269, 6.7847181420208009e-316, 5.4110892669614444e-312,
6.7883307500231921e-316, 3.1269779160500675e-269, 5.4747491406904026e-312,
6.7883267974980254e-316, 0, 4.9406564584124654e-324, 2.9813723818483117e-269,
4.1720778230812489e-309, 4.2093997773157533e-318, 1.3906711615670009e-309,
1.684284215785749e-305, 9.8813129168249309e-324, 0, 4.2439915819305446e-314,
3.0404211043384278e-269, 2.1219957909652723e-314, 0, 1.515646974598114e-269,
4.2439915819305446e-314, 5.0927898984154667e-313, 1.8666091202133461e-301,
1.8666251506862665e-301, 1.2433593296903789e-316, -4.0625372208568348e-41,
-3.5882489812986341e-40, -4.0783318623078515e-41, 1.8666215801380385e-301,
-4.0783303624415934e-41, 3.1336095698570056e-269, -4.0647086852709505e-41,
---Type <return> to continue, or q <return> to quit---
7.2911222404310979e-304, 2.0231988197199046e-320, 4.2439915819305446e-314, 0,
4.2439915977406453e-314, 3.7054923438093491e-322, 2.4721250971148513e-311,
-3.0368870253929505e-40, 3.1267951370545184e-269, 1.5285154609927735e-312,
-3.0216479045929189e-40, 2.0231988197199046e-320, 4.2507272774958013e-313,
-3.6013541309811072e-40, 2.9775298029166379e-313, 8.4383645542068199e-318,
3.1267951379796377e-269, -5.6901967341587578e-40, 1.5214390223830445e-314,
-3.4349919772964845e-40, 1.8666216366819618e-301, -3.4347122122040505e-40,
1.523396640905198e-314, -3.5967175846873703e-40, 2.8482404453057754e-306, -0.7299140538739266,
-3.3301064845359842e-40, 3.6447789629096704e-314, -2.4822111102955223e-40,
-2.5068617337691947e-40, 4.6086794030583438e-313, -3.3287227007530825e-40,
7.2087959780302468e-312, 0, 4.608448868322502e-313, -5.73368143100035e-40,
-0.73000752907944788, -0.72999797754661422, 1.4256886820418483e-313, 2.1219957909652723e-314,
2.1219957909652723e-314, -0.73001323633567672, 2.06228741933143e-313, -0.72997093200683594,
2.1219957909652723e-314, -0.73002660256578356}
reqwCache = {1.5250282549293968e-269, 3.6796085506835599e-311, 0,
1.5906989706836975e-314, 7.2911220215723421e-304, 3.1259612305775811e-269,
3.0922951699427225e-269, 0, 0, 9.8813129168249309e-324, 3.0054262358678347e-269,
6.7971271789705357e-313, 5.0927898983166536e-313, 4.2503627698937639e-314,
1.2697487098120036e-321, 2.9521880136714606e-304, 1.820546087458726e-306,
2.1219957919534036e-314, 4.2439915819305446e-314, 0, 1.2648080533535912e-321,
2.9619283183614458e-269, 6.7847181420208009e-316, 5.4110892669614444e-312,
6.7883738325475094e-316, 3.1269779160500675e-269, 5.4747491406904026e-312,
6.7883267974980254e-316, 0, 4.9406564584124654e-324, 2.9813723818483117e-269,
4.1720778230812489e-309, 4.2093997773157533e-318, 1.3906711615670009e-309,
1.684284215785749e-305, 9.8813129168249309e-324, 0, 4.2439915819305446e-314,
3.0404211043384278e-269, 2.1219957909652723e-314, 0, 1.515646974598114e-269,
4.2439915819305446e-314, 5.0927898984154667e-313, 1.8666091202133461e-301,
1.8666251506862665e-301, 1.2433593296903789e-316, 0, 0, 0, -nan(0xfffff00000000),
-7.2204986230957714e-40, 7.6391848474749803e-313, -3.0164000418439976e-40,
1.5562335669473652e-269, 1.7800603593644918e-307, -1.3016105947833779e-39,
-3.1212542122789478e-39, 2.9006971158735853e-269, 3.7126942280580723e-314, 0, 0,
8.2891730333290762e-317, 0, 8.3214251446239469e-317, 5.4323092248710971e-312, 0,
5.4323092248710971e-312, -0.7294696412067766, -2.46108073039939e-40, 1.5227702032152604e-314,
-0.72948074340820312, 3.0938886095889136e-269, 7.7485974272093342e-304, 0, 0, 0, 0,
1.3906711618907917e-309, 0, -nan(0xfffff00000000), -5.6901966221452117e-40,
4.3114085191287786e-314, -3.8480277643390372e-40, 1.6812396668393014e-269, 0,
-3.0214236968385976e-40, -0.72952878457250758, 6.4338393566341025e-314,
2.0759128077490632e+243, 9.8166267272324784e-72, 2.2584931258060879e-80,
1.8096901591138606e+98, 1.8189550461230083e-317, 0, 1.5240300488732672e-314, 0,
6.7903865310888714e-313, 1.5240300291106413e-314, 0}
---Type <return> to continue, or q <return> to quit---
oldcCache = {0, 0, 6.3061907963151013e-313, 0, 4.6084488675319969e-313,
5.2452810253454513e-313, -0.73014484310585326, 3.5476815461128281e-313,
5.7680216070886608e-314, -1.2971679754408399e-39, 3.5475962676649948e-313,
-7.24458956981514e-40, 3.5475962676649948e-313, -3.0164000418439931e-40,
1.590699233526621e-314, -2.554727811223284e-40, 1.2731974753696684e-313,
-3.0164001035100082e-40, -0.73020397075944166, -2.5554477283093374e-40}
reqcCache = {0, 0, -0.72996364498543731, -0.73004151905349479, 4.893862882926854e-270,
2.4057844319582594e-316, 3.8263809754336702e-313, 3.7353914267153664e-312,
-0.73004184636827807, 4.9406564584124654e-324, 1.5236123440373845e-314,
-5.5101297694794727e-40, -3.3043401083170273e-40, -4.3277161372940288e-39,
7.8804141506951867e+115, -0.73005138330388686, -3.7784968243361887e-39,
5.2452112404010191e-313, -1.5863717615260351e-39, -1.6539428176861434e-39}
widgetSize = <value optimized out>
constraintSize = 16
redisplay = 1 '\001'
cleared_rect_obj = 0 '\0'
result = <value optimized out>
geoReq = {request_mode = 3219611000, x = 21880, y = -18448, width = 16372,
height = 47068, border_width = 4859, sibling = 0x83087f8, stack_mode = -1075356332}
geoReply = {request_mode = 16, x = 18124, y = -18502, width = 23928, height = 49127,
border_width = 59006, sibling = 0x10, stack_mode = 0}
wc = (WidgetClass) 0x8201d00
cwc = (ConstraintWidgetClass) 0xb7f3fc40
set_values_almost = <value optimized out>
app = (XtAppContext) 0x821b8f8
hookobj = (Widget) 0x82f0020
#5 0xb7b9d05c in XtVaSetValues (widget=0x8308218) at ../../src/VarCreate.c:233
var = 0xbfe75dd4 "ÕD \bÈ\2070\b"
args = (ArgList) 0x83086d0
num_args = 1
total_count = 1
typed_count = <value optimized out>
app = (XtAppContext) 0x0
#6 0x081c4a21 in Initialize (rq=0xbfe75e88, ebw=0x8308218, args=0xbfe76350, n=0xbfe75e54)
at gui_xmebw.c:995
str = (XmString) 0x83087c8 "ß\200\006\002\005"
request = (XmEnhancedButtonWidget) 0xbfe75e88
eb = (XmEnhancedButtonWidget) 0x8308218
resize = (XtWidgetProc) 0xb7e61960 <ResizeWrapper4>
#7 0xb7b6cdf8 in CallInitialize (class=0x8201d00, req_widget=0xbfe75e88, new_widget=0x8308218,
---Type <return> to continue, or q <return> to quit---
args=0xbfe76350, num_args=9) at ../../src/Create.c:219
superclass = <value optimized out>
initialize = (XtInitProc) 0x81c490c <Initialize>
initialize_hook = <value optimized out>
#8 0xb7b6d37d in xtCreate (name=<value optimized out>, class=<value optimized out>,
widget_class=0x8201d00, parent=0x82f7650, default_screen=0x821ca68, args=0xbfe76350,
num_args=9, typed_args=0x0, num_typed_args=0, parent_constraint_class=0xb7f3fc40,
post_proc=0xb7b6d650 <widgetPostProc>) at ../../src/Create.c:409
widget_cache = {1.5250282549293968e-269, 3.6796085506835599e-311, 0,
6.7883206710840169e-316, 7.2911220195563975e-304, 4.9406564584124654e-324, 0, 0, 0,
9.8813129168249309e-324, 3.0054262358678347e-269, 6.7971271789705357e-313,
5.0927898983166536e-313, 4.2503627698937639e-314, 1.2697487098120036e-321,
2.9521880136714606e-304, 1.820546087458726e-306, 2.1219957919534036e-314,
4.2439915819305446e-314, 0, 1.2648080533535912e-321, 0, 0, 5.4110892669614444e-312,
6.7882809482060913e-316, 1.547037138561152e-269, 7.0641714393444708e-304, 0, 0,
4.2439915824246103e-314, 9.8813129168249309e-324, 0, 0, 1.3906711615670009e-309,
1.684284215785749e-305, 9.8813129168249309e-324, 0, 0, 0, 5.4110892669614444e-312, 0,
1.5156469745981137e-269, 4.2439915819305446e-314, 9.8813129168249309e-324, 0, 0, 0,
3.035822820846397e-269, -1.2971679754408823e-39, 1.6461746950994317e-309,
-1.2971685006645085e-39, 3.123999253498811e-269, 8.4879831979516188e-314,
1.4641770957858005e-312, -3.016401354903171e-40, 8.588099118940074e-312,
-3.0164013549031775e-40, 2.1219957909652723e-314, 3.5542632222959355e-313,
-1.3016105947833779e-39, -3.0164012998701495e-40, 2.1219957909652723e-314,
8.6869194720199948e-311, 3.1126135687998532e-322, 2.1219957909652723e-314,
-3.0195191886084735e-40, 3.0419482053174292e-269, 3.0357073801453335e-269,
-5.6901966221485518e-40, 4.3113016734803402e-314, -3.6011631490328957e-40,
1.0677289046376157e-313, 6.7903866669075175e-313, 1.5248155109175968e-269,
-2.8689234496484709e-40, 1.7043276419271974e-313, 4.2439915824246103e-314,
1.5248029204725008e-269, 5.7670833685221579e-314, 1.3373883624479744e-269,
1.0078682818331641e-313, -1.3023275563864852e-39, -2.5394681095111016e-39,
3.0922488645694302e-269, -1.2971685006645502e-39, 6.0939912168233216e-313,
-7.2445895698160796e-40, 6.0939912168233216e-313, -3.0164013549032819e-40,
1.5250282545681648e-269, -2.5547278112237538e-40, 1.5252246138787115e-269,
4.0385787964470032e-313, 1.5252314282073747e-269, -2.3167790119033866e-39,
1.3833838083554903e-322, -2.6162938592538842e-40, 1.5269980826710615e-269,
-3.016400097441026e-40, 1.5250282545754048e-269}
constraint_cache = {-2.4745582124940498e-39, 4.8651433730995592e-270,
4.890358267317008e-270, -3.016400097441026e-40, -2.6162938592539103e-40,
1.6770501965342484e-312, 0, 1.5250282545681177e-269, -2.6162728397769585e-40,
-0.73080098611088262, -0.73079143457786422, -3.0200236554926321e-40, -2.6167913202087978e-40,
---Type <return> to continue, or q <return> to quit---
2.1219957909652723e-314, 5.4573924823005075e-313, -1.301610594783205e-39, -0.73076438903808949,
2.2743987930858314e-313, -3.023106568055174e-40, -3.019519188043883e-40}
req_widget = (Widget) 0x8308218
req_constraints = <value optimized out>
wsize = 380
csize = <value optimized out>
widget = (Widget) 0x8308218
cache_refs = (XtCacheRef *) 0x0
i = <value optimized out>
call_data = {type = 0x7d00554 <Address 0x7d00554 out of bounds>, widget = 0xba46cc,
args = 0x0, num_args = 6}
#9 0xb7b6d7e3 in _XtCreateWidget (name=0x82a2b88 "Open", widget_class=0x8201d00,
parent=0x82f7650, args=0x4741545f, num_args=1195463775, typed_args=0x4741545f,
num_typed_args=1195463775) at ../../src/Create.c:563
widget = (Widget) 0x4741545f
cwc = <value optimized out>
default_screen = <value optimized out>
class_inited = <value optimized out>
params = {0x82a2b88 "Open", 0xb7f796a4 "P\226÷·", 0x0}
num_params = 1
#10 0xb7b6db30 in XtCreateManagedWidget (name=0x4741545f <Address 0x4741545f out of bounds>,
widget_class=0x4741545f, parent=0x82f7650, args=0x4741545f, num_args=1195463775)
at ../../src/Create.c:603
widget = <value optimized out>
app = (XtAppContext) 0x0
#11 0x081b399b in gui_mch_add_menu_item (menu=0x82a2ae0, idx=0) at gui_motif.c:1380
type = (WidgetClass) 0x8201d00
xms = (XmString) 0x8308070 "ß\200\006\006\005\004Open"
n = 9
args = {{name = 0x820430c "highlightThickness", value = 1}, {
name = 0x82042eb "highlightOnEnter", value = 1}, {name = 0x8204679 "marginWidth", value = 0},
{name = 0x820464b "marginHeight", value = 0}, {name = 0x8205001 "traversalOn", value = 0}, {
name = 0x82044d5 "labelString", value = 137396336}, {name = 0x81eb2ca "pixmapData",
value = 136315808}, {name = 0x81eb2d5 "labelLocation", value = 2}, {
name = 0x82049c1 "positionIndex", value = 0}, {name = 0x7 <Address 0x7 out of bounds>,
value = 135197522}, {name = 0x82a2ac0 "ToolBar", value = 136166724}, {
name = 0xbfe763b8 "(dç¿».\033\bÀ**\bëD \b\001", value = 135197454}, {
name = 0x82a2ac0 "ToolBar", value = 0}, {name = 0xbfe76428 "Hdç¿Zõ\016\bà**\b",
value = 135999163}, {name = 0x82a2ac0 "ToolBar", value = 136332523}, {
name = 0x1 <Address 0x1 out of bounds>, value = 136334077}, {
---Type <return> to continue, or q <return> to quit---
name = 0x1 <Address 0x1 out of bounds>, value = 136330017}, {
name = 0x1 <Address 0x1 out of bounds>, value = 0}}
label = (XmString) 0x0
parent = (vimmenu_T *) 0x82a2a28
#12 0x080ef56e in gui_create_initial_menus (menu=0x82a2ae0) at menu.c:1779
idx = 0
#13 0x080ef55a in gui_create_initial_menus (menu=0x82a2a28) at menu.c:1776
idx = 0
#14 0x081ab634 in gui_init () at gui.c:507
wp = (win_T *) 0x0
recursive = 0
#15 0x0819714e in set_termname (term=0x82de248 "gui") at term.c:1844
termp = (struct builtin_term *) 0x81fe740
builtin_first = 1
try = 0
termcap_cleared = 1
width = 0
height = 0
error_msg = (char_u *) 0x0
bs_p = (char_u *) 0x812acfe "\211Eü\203}ü"
del_p = (char_u *) 0x81e753a "ttytype"
tstrbuf = '\0' <repeats 2047 times>
string_names = {{dest = KS_CE, name = 0x81e739c "ce"}, {dest = KS_AL,
name = 0x81e739f "al"}, {dest = KS_CAL, name = 0x81e73a2 "AL"}, {dest = KS_DL,
name = 0x81e73a5 "dl"}, {dest = KS_CDL, name = 0x81e73a8 "DL"}, {dest = KS_CS,
name = 0x81e73ab "cs"}, {dest = KS_CL, name = 0x81e73ae "cl"}, {dest = KS_CD,
name = 0x81e73b1 "cd"}, {dest = KS_VI, name = 0x81e73b4 "vi"}, {dest = KS_VE,
name = 0x81e73b7 "ve"}, {dest = KS_MB, name = 0x81e73ba "mb"}, {dest = KS_VS,
name = 0x81e73bd "vs"}, {dest = KS_ME, name = 0x81e73c0 "me"}, {dest = KS_MR,
name = 0x81e73c3 "mr"}, {dest = KS_MD, name = 0x81e73c6 "md"}, {dest = KS_SE,
name = 0x81e73c9 "se"}, {dest = KS_SO, name = 0x81e73cc "so"}, {dest = KS_CZH,
name = 0x81e73cf "ZH"}, {dest = KS_CZR, name = 0x81e73d2 "ZR"}, {dest = KS_UE,
name = 0x81e73d5 "ue"}, {dest = KS_US, name = 0x81e73d8 "us"}, {dest = KS_UCE,
name = 0x81e73db "Ce"}, {dest = KS_UCS, name = 0x81e73de "Cs"}, {dest = KS_CM,
name = 0x81e73e1 "cm"}, {dest = KS_SR, name = 0x81e73e4 "sr"}, {dest = KS_CRI,
name = 0x81e73e7 "RI"}, {dest = KS_VB, name = 0x81e73ea "vb"}, {dest = KS_KS,
name = 0x81e73ed "ks"}, {dest = KS_KE, name = 0x81e73f0 "ke"}, {dest = KS_TI,
name = 0x81e73f3 "ti"}, {dest = KS_TE, name = 0x81e73f6 "te"}, {dest = KS_BC,
name = 0x81e73f9 "bc"}, {dest = KS_CSB, name = 0x81e73fc "Sb"}, {dest = KS_CSF,
name = 0x81e73ff "Sf"}, {dest = KS_CAB, name = 0x81e7402 "AB"}, {dest = KS_CAF,
---Type <return> to continue, or q <return> to quit---
name = 0x81e7405 "AF"}, {dest = KS_LE, name = 0x81e7408 "le"}, {dest = KS_ND,
name = 0x81e740b "nd"}, {dest = KS_OP, name = 0x81e740e "op"}, {dest = KS_CRV,
name = 0x81e7411 "RV"}, {dest = KS_CIS, name = 0x81e7414 "IS"}, {dest = KS_CIE,
name = 0x81e7417 "IE"}, {dest = KS_TS, name = 0x81e741a "ts"}, {dest = KS_FS,
name = 0x81e741d "fs"}, {dest = KS_CWP, name = 0x81e7420 "WP"}, {dest = KS_CWS,
name = 0x81e7423 "WS"}, {dest = KS_CSI, name = 0x81e7426 "SI"}, {dest = KS_CEI,
name = 0x81e7429 "EI"}, {dest = KS_NAME, name = 0x0}}
#16 0x081979fa in termcapinit (name=0x81e7a14 "builtin_gui") at term.c:2513
term = (char_u *) 0x81e7a14 "builtin_gui"
#17 0x081aae39 in gui_start () at gui.c:91
old_term = (char_u *) 0x82e0f70 ""
dofork = 1
recursive = 1
#18 0x080d7d8f in main (argc=2, argv=0xbfe76f64) at main.c:633
fname = (char_u *) 0x0
params = {argc = 2, argv = 0xbfe76f64, evim_mode = 0, use_vimrc = 0x0, n_commands = 0,
commands = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
cmds_tofree = "\000\000\000\000\000\000\000\000\000", n_pre_commands = 0, pre_commands = {0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, edit_type = 0, tagname = 0x0, use_ef = 0x0,
want_full_screen = 0, stdout_isatty = 1, term = 0x0, ask_for_key = 0, no_swap_file = 0,
use_debug_break_level = -1, window_count = -1, window_layout = 0, serverArg = 0,
serverName_arg = 0x0, serverStr = 0x0, serverStrEnc = 0x0, servername = 0x8219078 "VIM",
diff_mode = 0}
x4741545f in ?? ()
--
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060720/83c4e24a/attachment.pgp
More information about the pkg-vim-maintainers
mailing list