Ticket #275 (new Bugs)

Opened 16 months ago

Last modified 44 hours ago

Gentoo don't start liquidsoap

Reported by: Djstey Owned by: admin
Priority: 1 Milestone:
Component: Liquidsoap Version: 0.9.0+svn
Keywords: Cc:
Mac OSX: no Linux: yes
NetBSD: no Other Operating System: no
FreeBSD: no

Description (last modified by smimram) (diff)

Bug when i start liquidsoap (gentoo hardner) I thinks it's coming from clone()

Thread 2 (Thread 0x7f43a8604950 (LWP 4278)):
#0  0x00007f43a905c4a2 in select () from /lib/libc.so.6
#1  0x00000000005267bf in caml_thread_tick ()
#2  0x00007f43ab113087 in start_thread () from /lib/libpthread.so.0
#3  0x00007f43a906277d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f43abdc4700 (LWP 4274)):
#0  0x0000000000000000 in ?? ()
#1  0x0000000000820278 in camlMap__5 ()
#2  0x00000000004e1ffb in camlPcre__entry ()
#3  0x00007f43abdbe9a8 in ?? ()
#4  0x000000000040bdfa in caml_startup__code_begin ()
#5  0x000000000032c421 in ?? ()
#6  0x000000000053e1f2 in caml_start_program ()
#7  0x0000000000000000 in ?? ()

Change History

Changed 16 months ago by mrpingouin

What "bug" is it? segfault?

Is gentoo "hardner" a security hardened version? If so, do you have any explanation or link to why clone() is considered unsafe?

Changed 16 months ago by Djstey

yes bug is segfault (sorry i'm missing to tell that) I thinks it's clone() because strace en gdb stop juste avec clone()

Changed 16 months ago by smimram

  • description modified (diff)

The thread 2 is locked on a select. The segfault is more likely to occur in thread 1, where ocaml-pcre is used. Could you please try to rebuild ocaml-pcre and then liquidsoap?

Changed 15 months ago by rodger

confirm this. i've rebuild my pcre-ocaml(5.15.0) package and liquidsoap and nothing changes. i cant install liquidsoap with "make install", because liqi crashes(i think with pcre too).

$ make install
make -C liquidsoap-0.9.0 install
make[1]: Entering directory `/home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0'
make -C doc doc-install
make[2]: Entering directory `/home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0/doc'
make[3]: Entering directory `/home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0/doc/content'
make[3]: Leaving directory `/home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0/doc/content'
make[3]: Entering directory `/home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0/doc/liqi'
make[4]: Entering directory `/home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0/doc/liqi'
make[4]: `liqi' is up to date.
make[4]: Leaving directory `/home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0/doc/liqi'
make[3]: Leaving directory `/home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0/doc/liqi'
Converting content/advanced.txt to html/advanced.html...
/bin/sh: line 1: 18999 Segmentation fault      ../liqi/liqi -i ../content/advanced.txt -o ../html/advanced.html
make[2]: *** [html/advanced.html] Error 139
make[2]: Leaving directory `/home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0/doc'
make[1]: *** [doc-install] Error 2
make[1]: Leaving directory `/home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0'
$ gdb ./liquidsoap-0.9.0/doc/liqi/liqi
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /home/somebody/Desktop/liquidsoap-full-0.9.0/liquidsoap-0.9.0/doc/liqi/liqi 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0x7f6e5074a6f0 (LWP 19003)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f6e5074a6f0 (LWP 19003)]
0x0000000000000000 in ?? ()
(gdb) thread apply all bt

Thread 1 (Thread 0x7f6e5074a6f0 (LWP 19003)):
#0  0x0000000000000000 in ?? ()
#1  0x00007f6e50747e88 in ?? ()
#2  0x000000000041538b in camlPcre__entry ()
#3  0x00007f6e507475c8 in ?? ()
#4  0x0000000000404bbb in caml_startup__code_begin ()
#5  0x00000000000a350a in ?? ()
#6  0x000000000044b47a in caml_start_program ()
#7  0x0000000000000000 in ?? ()
(gdb) 

Changed 5 months ago by sim

 decoration Changed 1 year ago by admin

 bathtub Changed 1 year ago by admin

 solar system Changed 1 year ago by admin

 stair parts Changed 1 year ago by admin

 solar supply Changed 1 year ago by admin

Changed 44 hours ago by 太阳能

China is the world's commitment to implement energy-saving emission reduction targets, to enhance policy support the new energy economy strategy, accelerating the construction of solar photovoltaic technology in rural and urban areas of the application, the relevant state ministries launch solar roofs program. Solar roof planned efforts to break through the integration and solution architecture design of a lack of optical, optoelectronic products combined with low level of construction, optical and network problems, low market awareness of the problem. Solar Roofs Plan into consideration economic and social benefits and other factors, at this stage of economic development, industrial base cities to actively promote a better solar roofs, building integrated photovoltaic curtain wall and other optical model; actively support development in rural and remote areas from the net-generation, implementation of transmission to rural areas, the implementation of the national farmer-friendly policy. Solar roof planned to mobilize all sectors of society through the development of demonstration projects and promote the implementation of relevant national policies. Demonstration projects to strengthen advocacy, to expand its influence, increase market awareness, formation and development of solar photovoltaic products, a good social atmosphere; to promote the implementation of tariff and other Internet-sharing policy, the formation of policy together, amplifying the effect of policies; the optical construction applications as an important building energy efficiency content, in new construction, existing building energy-saving, actively promote the use of urban lighting. Policy limit sun roof demonstration project must be greater than 50kW, which requires at least 400 square meters of total floor area, construction is difficult to participate in the general population, eligible owners will focus on schools, hospitals and government and other public and commercial buildings. Ministry of Finance to consider subsidies, the cost of electricity can be reduced to 0.58 yuan / kWh. Whether PV electricity price electricity price in the thermal power given premium is not clear, but even without the premium, due to lower power generation cost sales price, the owners are still building solar power projects to generate electricity for personal use, replacement power purchased from power. Moreover, local governments can be expected to give additional subsidies, electricity costs will decline further  http://solar-poweronline.info/

Note: See TracTickets for help on using tickets.