Skip to contentSkip to conversation

libxl: xl crashes

DISCUSSION Christoph Egger 2 participants 3 messages Jan 12, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

xl crashes very early.
To repeat just run 'xl list' or 'xl create'

(Yes, 'xl create' w/o specifying a config file)

The line where the crash happens was last modified in changeset 21000:3138b3885999.

Core was generated by `xl'.
Program terminated with signal 11, Segmentation fault. #0 xlu__cfg_yylex (yylval_param=0x7f7ffd8058c0, yylloc_param=0x2,

    yyscanner=0x7f7ffdb16080) at libxlu_cfg_l.c:803
(gdb) bt
#0  xlu__cfg_yylex (yylval_param=0x7f7ffd8058c0, yylloc_param=0x2, 
    yyscanner=0x7f7ffdb16080) at libxlu_cfg_l.c:803
#1  0x00007f7ffd8022ad in xlu__cfg_yyparse (ctx=0x7f7fffffdae0)
    at libxlu_cfg_y.c:1338
#2  0x00007f7ffd804aa3 in parse (ctx=0x7f7ffd8058c0) at libxlu_cfg.c:46
#3  0x00007f7ffd804b7d in xlu_cfg_readdata (cfg=0x7f7ffdb14060, 
    data=0x7f7ffdb10040 "## Global XL config file ##\n\n# automatically 

balloon down dom0 when xen doesn't have enough free\n# memory to create a domain\n#autoballoon=1\n\n# full path of the lockfile used by xl during domain creati"...,
length=<value optimized out>) at libxlu_cfg.c:101
#4 0x0000000000405423 in main (argc=4, argv=0x7f7fffffdbc0) at xl.c:56

Reverting the changesets 22733:0b04aea87667, 22734:1434b8515233 and 22735:cb94dbe20f97 brings xl back to function.

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#1 lore raw

I can confirm that c/s 22738:20b0f709153e fixes this.

Christoph

Quoted 34 lines · On Wednesday 12 January 2011 11:20:47 Christoph Egger wrote:

Hi,

xl crashes very early.
To repeat just run 'xl list' or 'xl create'

(Yes, 'xl create' w/o specifying a config file)

The line where the crash happens was last modified in changeset 21000:3138b3885999.

Core was generated by `xl'.
Program terminated with signal 11, Segmentation fault. #0 xlu__cfg_yylex (yylval_param=0x7f7ffd8058c0, yylloc_param=0x2,

    yyscanner=0x7f7ffdb16080) at libxlu_cfg_l.c:803
(gdb) bt
#0  xlu__cfg_yylex (yylval_param=0x7f7ffd8058c0, yylloc_param=0x2,
    yyscanner=0x7f7ffdb16080) at libxlu_cfg_l.c:803
#1  0x00007f7ffd8022ad in xlu__cfg_yyparse (ctx=0x7f7fffffdae0)
    at libxlu_cfg_y.c:1338
#2  0x00007f7ffd804aa3 in parse (ctx=0x7f7ffd8058c0) at libxlu_cfg.c:46
#3  0x00007f7ffd804b7d in xlu_cfg_readdata (cfg=0x7f7ffdb14060,
    data=0x7f7ffdb10040 "## Global XL config file ##\n\n# automatically

balloon down dom0 when xen doesn't have enough free\n# memory to create a domain\n#autoballoon=1\n\n# full path of the lockfile used by xl during domain creati"...,
length=<value optimized out>) at libxlu_cfg.c:101
#4 0x0000000000405423 in main (argc=4, argv=0x7f7fffffdbc0) at xl.c:56

Reverting the changesets 22733:0b04aea87667, 22734:1434b8515233 and 22735:cb94dbe20f97 brings xl back to function.

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#2 lore raw

Christoph Egger writes ("Re: [Xen-devel] libxl: xl crashes"):

Quoted 1 line

I can confirm that c/s 22738:20b0f709153e fixes this.

Thanks, and for the report. Sorry about that. I think I fat-fingered something when applying my own patch series ...

Ian.